Open Romainpaulus opened 10 years ago
parser.norm_parse(text) returns None for some sentences, hence parser.parse(text) crashes because is uses norm_parse internally.
parser.norm_parse(text)
None
parser.parse(text)
norm_parse
The string "this is bad" falls into that category and cannot be parsed with norm_parse, but "this is very bad" works well.
"this is bad"
"this is very bad"
parser.norm_parse(text)
returnsNone
for some sentences, henceparser.parse(text)
crashes because is usesnorm_parse
internally.The string
"this is bad"
falls into that category and cannot be parsed withnorm_parse
, but"this is very bad"
works well.