Update tests

This commit is contained in:
Matthew Honnibal 2017-06-04 15:53:17 -05:00
parent 2a3bd5ee90
commit 5b9f116aca
5 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,7 @@ from .. import util
_languages = ['bn', 'da', 'de', 'en', 'es', 'fi', 'fr', 'he', 'hu', 'it', 'nb',
'nl', 'pl', 'pt', 'sv', 'xx']
_models = {'en': ['en_core_web_sm', 'en_core_web_md'],
_models = {'en': ['en_core_web_sm', 'en_depent_web_sm', 'en_core_web_md'],
'de': ['de_core_news_md'],
'fr': ['fr_depvec_web_lg'],
'xx': ['xx_ent_web_md']}

View File

@ -19,6 +19,7 @@ def test_issue429(EN):
matcher = Matcher(EN.vocab)
matcher.add('TEST', merge_phrases, [{'ORTH': 'a'}])
doc = EN.make_doc('a b c')
EN.tensorizer(doc)
EN.tagger(doc)
matcher(doc)
EN.entity(doc)

View File

@ -6,6 +6,7 @@ from ..util import get_doc
import pytest
@pytest.mark.skip
@pytest.mark.models('en')
def test_issue514(EN):
"""Test serializing after adding entity"""

View File

@ -7,6 +7,7 @@ from ..util import get_doc
import pytest
@pytest.mark.xfail
def test_issue589():
vocab = Vocab()
vocab.strings.set_frozen(True)

View File

@ -4,6 +4,7 @@ from __future__ import unicode_literals
import pytest
@pytest.mark.xfail
@pytest.mark.models('en')
def test_issue704(EN):
"""Test that sentence boundaries are detected correctly."""