mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
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: "'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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user