mirror of https://github.com/explosion/spaCy.git
Add tokenizer exception for "gonna" (fixes #691)
This commit is contained in:
parent
c69b77d8aa
commit
d8d50a0334
|
@ -1493,6 +1493,16 @@ TOKENIZER_EXCEPTIONS = {
|
||||||
{ORTH: "ma"}
|
{ORTH: "ma"}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
"gonna": [
|
||||||
|
{ORTH: "gon", LEMMA: "go"},
|
||||||
|
{ORTH: "na", LEMMA: "to"}
|
||||||
|
],
|
||||||
|
|
||||||
|
"Gonna": [
|
||||||
|
{ORTH: "Gon", LEMMA: "go"},
|
||||||
|
{ORTH: "na", LEMMA: "to"}
|
||||||
|
],
|
||||||
|
|
||||||
"whats": [
|
"whats": [
|
||||||
{ORTH: "what"},
|
{ORTH: "what"},
|
||||||
{ORTH: "s"}
|
{ORTH: "s"}
|
||||||
|
|
Loading…
Reference in New Issue