mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-29 02:34:08 +03:00
Update customizing-tokenizer.jade
This commit is contained in:
parent
6f450306c3
commit
54855f0eee
|
@ -59,7 +59,7 @@ p
|
||||||
+code.
|
+code.
|
||||||
nlp.tokenizer.add_special_case(u'...gimme...?',
|
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
|
assert len(nlp(u'...gimme...?')) == 1
|
||||||
|
|
||||||
p
|
p
|
||||||
|
|
Loading…
Reference in New Issue
Block a user