From 83c0f0da224586c1cb8fac4693bcbc3f2f15447a Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 23 Jul 2015 02:32:34 +0200 Subject: [PATCH] * Remove lemmatizer from init_model --- bin/init_model.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/init_model.py b/bin/init_model.py index bca206ee6..c97f1f5dd 100644 --- a/bin/init_model.py +++ b/bin/init_model.py @@ -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)