mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
Remove unnecessary argument in test
This commit is contained in:
parent
121c310566
commit
77cf2fb0f6
|
@ -34,7 +34,7 @@ def vocab(lemmatizer, tag_map):
|
||||||
return Vocab(lemmatizer=lemmatizer, tag_map=tag_map)
|
return Vocab(lemmatizer=lemmatizer, tag_map=tag_map)
|
||||||
|
|
||||||
|
|
||||||
def test_not_lemmatize_base_forms(vocab, lemmatizer):
|
def test_not_lemmatize_base_forms(vocab):
|
||||||
doc = Doc(vocab, words=["Do", "n't", "feed", "the", "dog"])
|
doc = Doc(vocab, words=["Do", "n't", "feed", "the", "dog"])
|
||||||
feed = doc[2]
|
feed = doc[2]
|
||||||
feed.tag_ = u'VB'
|
feed.tag_ = u'VB'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user