mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
This commit is contained in:
parent
a2f3510d6d
commit
3d370b7d45
|
@ -51,6 +51,11 @@ def test_base_form_dive(lemmatizer):
|
||||||
assert do('dive', number='plur') == set(['diva'])
|
assert do('dive', number='plur') == set(['diva'])
|
||||||
|
|
||||||
|
|
||||||
|
def test_base_form_saw(lemmatizer):
|
||||||
|
do = lemmatizer.verb
|
||||||
|
assert do('saw', verbform='past') == set(['see'])
|
||||||
|
|
||||||
|
|
||||||
def test_smart_quotes(lemmatizer):
|
def test_smart_quotes(lemmatizer):
|
||||||
do = lemmatizer.punct
|
do = lemmatizer.punct
|
||||||
assert do('“') == set(['"'])
|
assert do('“') == set(['"'])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user