mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
handle would've
This commit is contained in:
parent
cc9df10e69
commit
7918fa4ef9
|
@ -213,7 +213,8 @@ for verb_data in [
|
|||
{ORTH: "could", NORM: "could", TAG: "MD"},
|
||||
{ORTH: "might", NORM: "might", TAG: "MD"},
|
||||
{ORTH: "must", NORM: "must", TAG: "MD"},
|
||||
{ORTH: "should", NORM: "should", TAG: "MD"}]:
|
||||
{ORTH: "should", NORM: "should", TAG: "MD"},
|
||||
{ORTH: "would", NORM: "would", TAG: "MD"}]:
|
||||
verb_data_tc = dict(verb_data)
|
||||
verb_data_tc[ORTH] = verb_data_tc[ORTH].title()
|
||||
for data in [verb_data, verb_data_tc]:
|
||||
|
|
Loading…
Reference in New Issue
Block a user