Softcatala / LanguageToolAndroidService

Experiments with spell checking on Android
29 stars 14 forks source link

Handling of sentences wrong for Polish? #2

Open milekpl opened 8 years ago

milekpl commented 8 years ago

After correcting a typo for Polish, for example in "jade" to "jadę", I get yet another suggestion that the word should end with the dot. This is probably due to the missing punctuation at the sentence end. The problem is that there already was punctuation, and you should submit the whole sentence to LT server.

To replicate:

jordimas commented 8 years ago

Android operating system sends fragments of sentences to the spell checker. You do not have control on what gets sent (the size of the fragment) neither you have an ID that helps you to identify these fragments (some of them are sent multiple times). As result, for a sentence like "Hello, what's your name? I live in Barcelona" you can get two fragments:

And you cannot control this. You have several problems due to this:

What we are doing today is:

For the case that you are suggesting, may be makes sense to ignore this rule too. At the moment, there is no great solution for this.