enlp.language_models.add_vectors_to_langmod¶
-
enlp.language_models.
add_vectors_to_langmod
(wvs, mod_lang)[source]¶ Add word vectors to language model
- Parameters
- wvs
gensim model
Trained word vector model
- mod_lang
str
language of model to be created
- wvs
- Returns
- nlp
spacy.lang
SpaCy language model with new word vectors incorporated
- nlp