From 0de700b566a1a27e092ca14205e427980fd9b2dc Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 5 Nov 2014 02:03:22 +1100 Subject: [PATCH] * Comment out tests of hyphenation, while we decide what hyphenation policy should be. --- tests/test_infix.py | 6 +++--- tests/test_tokenizer.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/test_infix.py b/tests/test_infix.py index a1f6a627e..a1eeadd65 100644 --- a/tests/test_infix.py +++ b/tests/test_infix.py @@ -5,9 +5,9 @@ import pytest from spacy.en import EN -def test_hyphen(): - tokens = EN.tokenize('best-known') - assert len(tokens) == 3 +#def test_hyphen(): +# tokens = EN.tokenize('best-known') +# assert len(tokens) == 3 def test_period(): diff --git a/tests/test_tokenizer.py b/tests/test_tokenizer.py index b3506a30c..fb5f78ed7 100644 --- a/tests/test_tokenizer.py +++ b/tests/test_tokenizer.py @@ -96,7 +96,7 @@ def test_cnts6(): tokens = EN.tokenize(text) assert len(tokens) == 6 -def test_cnts7(): - text = 'But then the 6,000-year ice age came...' - tokens = EN.tokenize(text) - assert len(tokens) == 10 +#def test_cnts7(): +# text = 'But then the 6,000-year ice age came...' +# tokens = EN.tokenize(text) +# assert len(tokens) == 10