Build a KeyedVector.
Tokenize a string based on the vocabulary.
A non tokenized text string.
Return the vector associated with a key.
If the key is not part of the vocabulary, it will use a similar key according to
the leveinshtein distance.
If no similar keys are below maxDistance
, it will return the unknown key vector or
undefined.
Check if the word embeddings were loaded.
Return every keys stored as an array.
Load the word embeddings.
Tokenize a string based on the settings.
A raw text string.
Tokenize a string at each non-word character.
A non tokenized text string.
Generated using TypeDoc
A reusable class storing words embeddings for functions and class that needs it.