From 27679791352f2be4a275641acc03af60eb34da95 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 6 Aug 2015 16:09:28 +0200 Subject: [PATCH] * Update matcher tests --- tests/test_matcher.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_matcher.py b/tests/test_matcher.py index 62b70b520..0014e1110 100644 --- a/tests/test_matcher.py +++ b/tests/test_matcher.py @@ -11,9 +11,9 @@ from spacy.vocab import Vocab @pytest.fixture def matcher(EN): patterns = { - 'Javascript': ['PRODUCT', {}, [{'ORTH': 'JavaScript'}]], - 'GoogleNow': ['PRODUCT', {}, [{'ORTH': 'Google'}, {'ORTH': 'Now'}]], - 'Java': ['PRODUCT', {}, [{'ORTH': 'Java'}]], + 'Javascript': ['PRODUCT', {}, [[{'ORTH': 'JavaScript'}]]], + 'GoogleNow': ['PRODUCT', {}, [[{'ORTH': 'Google'}, {'ORTH': 'Now'}]]], + 'Java': ['PRODUCT', {}, [[{'ORTH': 'Java'}]]], } return Matcher(EN.vocab, patterns)