* Remove lemmatizer from init_model

This commit is contained in:
Matthew Honnibal 2015-07-23 02:32:34 +02:00
parent df01a88763
commit 83c0f0da22
1 changed files with 0 additions and 1 deletions

View File

@ -113,7 +113,6 @@ def setup_vocab(src_dir, dst_dir):
vocab = Vocab(data_dir=None, get_lex_props=get_lex_props)
clusters = _read_clusters(src_dir / 'clusters.txt')
probs = _read_probs(src_dir / 'words.sgt.prob')
lemmatizer = Lemmatizer(str(src_dir / 'wordnet'), NOUN, VERB, ADJ)
lexicon = []
for word, prob in reversed(sorted(probs.items(), key=lambda item: item[1])):
entry = get_lex_props(word)