Essay
Words Become Geometry
The surprising idea behind Word2Vec: words used in similar contexts become neighbours in an invisible space.
The astonishing leap behind Word2Vec is not merely that a machine can attach numbers to words. It is that meaning begins to acquire shape.
Suppose every word is represented by a vector . Words appearing in similar linguistic neighbourhoods are trained toward nearby locations.
This gives us the famous, approximate relational pattern:
The deeper surprise is that language has not merely been catalogued. Through patterns of use, it has been persuaded to reveal a geometry.
A tiny experiment
similarity = cosine(embedding["music"], embedding["melody"])
print(similarity)
The number matters less than the picture it suggests: concepts arranged as a landscape, with analogy behaving like translation.