Fix test, which imported English incorrectly

This commit is contained in:
Matthew Honnibal 2017-05-13 11:36:19 +02:00
parent e506811a93
commit ad590feaa8

View File

@ -219,7 +219,6 @@ def test_doc_api_has_vector(en_tokenizer, text_file, text, vectors):
def test_parse_tree(EN): def test_parse_tree(EN):
text = 'I like New York in Autumn.' text = 'I like New York in Autumn.'
EN = English(parser=False)
doc = EN(text, tag=True) doc = EN(text, tag=True)
doc.from_array([HEAD], numpy.asarray([[1, 0, 1, -2, -3, -1, -5]], dtype='int32').T) doc.from_array([HEAD], numpy.asarray([[1, 0, 1, -2, -3, -1, -5]], dtype='int32').T)
# full method parse_tree(text) is a trivial composition # full method parse_tree(text) is a trivial composition