mirror of https://github.com/explosion/spaCy.git
Add "c'mon" token exception (#5570)
* Add "c'mon" exception * Fix typo in "C'mon" exception
This commit is contained in:
parent
28db7dd5d9
commit
bab30e4ad2
|
@ -399,6 +399,14 @@ _other_exc = {
|
||||||
{ORTH: "Let", LEMMA: "let", NORM: "let"},
|
{ORTH: "Let", LEMMA: "let", NORM: "let"},
|
||||||
{ORTH: "'s", LEMMA: PRON_LEMMA, NORM: "us"},
|
{ORTH: "'s", LEMMA: PRON_LEMMA, NORM: "us"},
|
||||||
],
|
],
|
||||||
|
"c'mon": [
|
||||||
|
{ORTH: "c'm", NORM: "come", LEMMA: "come"},
|
||||||
|
{ORTH: "on"}
|
||||||
|
],
|
||||||
|
"C'mon": [
|
||||||
|
{ORTH: "C'm", NORM: "come", LEMMA: "come"},
|
||||||
|
{ORTH: "on"}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
_exc.update(_other_exc)
|
_exc.update(_other_exc)
|
||||||
|
|
Loading…
Reference in New Issue