Now that we have condensed words (tokens) into vectors of numbers, we can have some fun with them. A few classic examples from the original Google paper that you can try for yourself are as follows:
- Mathematical operations: As mentioned earlier, the canonical example of this is v(King) - v(Man) + v(Woman) ~ v(Queen). Using simple addition, such as v(software) + v(engineer), we can come up with some fascinating relationships; here are a few more examples:
- Similarity: Given that we are working with a vector space, we can use the cosine similarity to compare one token against many in order to see similar tokens. For example, ...