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
wvsgensim model

Trained word vector model

mod_langstr

language of model to be created

Returns
nlpspacy.lang

SpaCy language model with new word vectors incorporated

Examples using enlp.language_models.add_vectors_to_langmod