From c6dc151fc3e38b858a4bd9305375746743b07475 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 7 Jun 2015 18:46:16 +0200 Subject: [PATCH] * Fix spans/test_merge.py --- tests/spans/test_merge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/spans/test_merge.py b/tests/spans/test_merge.py index b0f4e3707..144ea8b31 100644 --- a/tests/spans/test_merge.py +++ b/tests/spans/test_merge.py @@ -26,6 +26,6 @@ def test_merge_heads(EN): assert tokens[5].head.i == 4 -def test_issue_54(): +def test_issue_54(EN): text = u'Talks given by women had a slightly higher number of questions asked (3.2$\pm$0.2) than talks given by men (2.6$\pm$0.1).' - tokens = en_nlp(text, merge_mwes=True) + tokens = EN(text, merge_mwes=True)