mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 17:54:39 +03:00
Update customizing-tokenizer.jade
This commit is contained in:
parent
6f450306c3
commit
54855f0eee
|
@ -59,7 +59,7 @@ p
|
|||
+code.
|
||||
nlp.tokenizer.add_special_case(u'...gimme...?',
|
||||
[{
|
||||
ORTH: u'...gimme...?', LEMMA: u'give', POS: u'VB'}])
|
||||
ORTH: u'...gimme...?', LEMMA: u'give', TAG: u'VB'}])
|
||||
assert len(nlp(u'...gimme...?')) == 1
|
||||
|
||||
p
|
||||
|
|
Loading…
Reference in New Issue
Block a user