* Comment training function back in

This commit is contained in:
Matthew Honnibal 2015-01-31 16:37:57 +11:00
parent 018e0bfa24
commit 543fe5a280

View File

@ -246,7 +246,7 @@ def evaluate(Language, dev_loc, model_dir, gold_preproc=False):
def main(train_loc, dev_loc, model_dir):
with codecs.open(train_loc, 'r', 'utf8') as file_:
train_sents = read_docparse_gold(file_)
#train(English, train_sents, model_dir, gold_preproc=False)
train(English, train_sents, model_dir, gold_preproc=False)
print evaluate(English, dev_loc, model_dir, gold_preproc=False)