Objects will be compared on their similarity to link them to a certain class.
To calculate this similarity we use the words on the document. Synonyms might make it more complex, so words are not sufficient. We need to generalise them in order to compare. Words will be vectorised from their embeddings in order to reduce the lexical dimensions.
The learning of the embedding comes from a very complex neurons network.