For a group $G$ and a tuple $J = (g_1,g_2 ... g_n) \in G^k$ for $k$ some constant, define a parametrized word $w : G^k \rightarrow G$ to be a function which takes $J$ to some product of the elements in $J$. So $w(J) = g_1g_1g_2$ for $k \geq 2$ would be an example.
The structure of the space of all $w$ for a particular group modulo the equivalence relation of functional equality is not trivial. For instance, over $\mathbb{Z}_2$, $g_1g_1g_2 = g_2$ for all $J$ ,and for a finite abelian group the space of $w$ is clearly finite.
I don't know whether this topic has been covered before; It seems simple enough that someone might have done work on it, but I cannot find anything. Does anyone know what this area might be called?