W1W2
w1w2 is a notation used to denote the concatenation of two elements named w1 and w2. In formal language theory, if w1 and w2 are strings over an alphabet Σ, w1w2 denotes their concatenation, a new string formed by placing w2 directly after w1. The operation is associative, and the length satisfies |w1w2| = |w1| + |w2|. The set Σ* of all strings forms a monoid under concatenation, with the empty string ε as the identity.
In other contexts, w1w2 may refer to combining two word representations in natural language processing. If
In programming languages, the concrete method to form w1w2 varies: some provide a string concatenation operator
See also concatenation, vector concatenation, and word embedding.