atpaino / deep-text-corrector

Deep learning models trained to correct input errors in short, message-like text
Apache License 2.0
1.23k stars 266 forks source link

Plurals? #1

Open rauchg opened 7 years ago

rauchg commented 7 years ago

image

Would it be harder to make this work (and yield "This tool helps")? Great stuff!

Gerzer commented 6 years ago

In "this tool helps", "helps" isn't in a plural form; it's just the third-person-singular conjugation of the verb "to help". Plural nouns probably wouldn't be too hard to implement, but subject-verb agreement (i.e., the issue with your example) is much more complicated. It would likely require some sort of tokenization in order to identify the subject of a sentence and modify its verb to be erroneous (for the training data, that is).

ourway commented 5 years ago

image

Would it be harder to make this work (and yield "This tool helps")? Great stuff!

I wonder if you find any solutions