Actions

Algebra with Words

From Algolit

Revision as of 13:41, 28 February 2019 by Cristina (talk | contribs)
Type: Algoliterary exploration
Technique: Word embeddings, word2vec
Developed by: Radim Rehurek and Petr Sojka & Algolit

Word embeddings are language modelling techniques that through multiple mathematical operations of counting and ordering, plot words into a multi-dimensional vector space. When embedding words, they transform from being distinct symbols into mathematical objects that can be multiplied, divided, added or substracted.

While distributing the words along the many diagonal lines of the vector space, the visibility of their new geometrical placements disappears. However, what is gained are multiple, simultaneous ways of ordering. Algebraic operations make the relations between vectors graspable again.

This exploration is using gensim, an open source vector space and topic modelling toolkit implemented in Python, to manipulate text according to the mathematic relationships which emerge between the words, once they have been plotted in a vector space.