mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Comment out tests of hyphenation, while we decide what hyphenation policy should be.
This commit is contained in:
parent
abbe3e44b0
commit
0de700b566
|
@ -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():
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user