languagetool-org / languagetool

Style and Grammar Checker for 25+ Languages
https://languagetool.org
GNU Lesser General Public License v2.1
12.31k stars 1.39k forks source link

Correct version of homophones #972

Open Jab2870 opened 6 years ago

Jab2870 commented 6 years ago

Thanks for making this amazing tool. I use it every day.

If I write something like

Its too oclock

Language tool correctly changes Its to It's and oclock to o'clock but does not correct too to two.

This is something that has caught me out a few times and I'm sure I can't be the only one.

On the whole, I have been very pleased with its accuracy though so thanks again.

EDIT: I also noticed it did not correct on the hole to on the whole.

Jab2870 commented 6 years ago

I am seeing a lot of these now. Perhaps I just didn't notice it before. Is LanguageTool supposed to correct different versions of homophones? Some seem to work and others don't.

I've just tested

Once upon a thyme, their was a prince.

It corrected their to there but not thyme to time

danielnaber commented 6 years ago

LT uses statistics for this, so it sometimes fails to detect these cases.