diff --git a/bin/parser/train.py b/bin/parser/train.py index 1f646230b..b63fcdb1f 100755 --- a/bin/parser/train.py +++ b/bin/parser/train.py @@ -43,7 +43,7 @@ def score_model(scorer, nlp, raw_text, annot_tuples, train_tags=None): if raw_text is None: tokens = nlp.tokenizer.tokens_from_list(annot_tuples[1]) else: - tokens = nlp.tokenizer(raw_text, merge_mwes=False) + tokens = nlp.tokenizer(raw_text) if train_tags is not None: key = hash(tokens.string) nlp.tagger.tag_from_strings(tokens, train_tags[key])