mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Comment training function back in
This commit is contained in:
parent
018e0bfa24
commit
543fe5a280
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user