mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 01:34:30 +03:00
* Avoid parsing and tagging in test_emoticons
This commit is contained in:
parent
89b8775887
commit
e2578fbb90
|
@ -38,5 +38,5 @@ def test_tweebo_challenge(EN):
|
||||||
|
|
||||||
def test_false_positive(EN):
|
def test_false_positive(EN):
|
||||||
text = "example:)"
|
text = "example:)"
|
||||||
tokens = EN(text)
|
tokens = EN(text, parse=False, tag=False)
|
||||||
assert len(tokens) == 3
|
assert len(tokens) == 3
|
||||||
|
|
Loading…
Reference in New Issue
Block a user