mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-22 18:12:00 +03:00
Pass lookups in create_vocab
This commit is contained in:
parent
b9a91120b2
commit
fcccae4c19
|
@ -33,6 +33,7 @@ def create_vocab(lang, defaults, vectors_name=None):
|
|||
lookups.add_table("lexeme_norm", BASE_NORMS)
|
||||
return Vocab(
|
||||
lang=lang,
|
||||
lookups=lookups,
|
||||
lex_attr_getters=lex_attrs,
|
||||
lex_attr_data=defaults.lex_attr_data,
|
||||
writing_system=defaults.writing_system,
|
||||
|
|
Loading…
Reference in New Issue
Block a user