mirror of https://github.com/explosion/spaCy.git
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: "could", NORM: "could", TAG: "MD"},
|
||||||
{ORTH: "might", NORM: "might", TAG: "MD"},
|
{ORTH: "might", NORM: "might", TAG: "MD"},
|
||||||
{ORTH: "must", NORM: "must", 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 = dict(verb_data)
|
||||||
verb_data_tc[ORTH] = verb_data_tc[ORTH].title()
|
verb_data_tc[ORTH] = verb_data_tc[ORTH].title()
|
||||||
for data in [verb_data, verb_data_tc]:
|
for data in [verb_data, verb_data_tc]:
|
||||||
|
|
Loading…
Reference in New Issue