Anysoftkeyboard: Explore Android native Spell-Checker

Created on 31 Dec 2017  路  11Comments  路  Source: AnySoftKeyboard/AnySoftKeyboard

Most helpful comment

.. or alternative approach possible: using hunspell (standard in Linux and
Libre/OpenOffice).

ref: https://github.com/AnySoftKeyboard/AnySoftKeyboard/issues/1229

All 11 comments

I would love to see this functionality in ASK because the default AOSP keyboard that comes with Lineage OS doesn't have many dictionaries. When I'm typing in a language not supported by AOSP keyboard, my spelling mistakes aren't underlined making it very difficult to find them. ASK has many language packs with really good dictionaries that would work very well in Spell-Checker.

Yes, users have been very unsatisfied with the current Spell Checker. Also, we've looked at the code to try to improve this but are struggling to get it to work.

This would be a major improvement since lots of words are missing in language dictonaries. For example, I had to add hundreds of well-known words to complete German dictonary...

.. or alternative approach possible: using hunspell (standard in Linux and
Libre/OpenOffice).

ref: https://github.com/AnySoftKeyboard/AnySoftKeyboard/issues/1229

I am not sure if I am reading this correct, but does the spell checker in AnySoftKeyboard not use the native spell checker in android?

I am not sure if I am reading this correct, but does the spell checker in AnySoftKeyboard not use the native spell checker in android?

ASK should not rely on AOSP's spell checker but itself provide a spell checker like Gboard does i.e. red underline the wrongly spelled words. So that the same dictionary of any language which is being used for auto correction and next word suggestion is also used to highlight mistakes.

I would love to be able to use the LanguageTool as the spell checker for AnySoftKeyboard and from what I understand that will be possible if using the Android native Spell-Checker

I would love to be able to use the LanguageTool as the spell checker for AnySoftKeyboard and from what I understand that will be possible if using the Android native Spell-Checker

How would Android's native spell checker use LanguageTool? Native spell checker has its own limited set of words. You need to install some third party app which (can be ASK if it) is built on LanguageTool APIs and Android's spell checker framework. Here is one such app: https://github.com/Softcatala/LanguageToolAndroidService

How would Android's native spell checker use LanguageTool? Native spell checker has its own limited set of words. You need to install some third party app which (can be ASK if it) is built on LanguageTool APIs and Android's spell checker framework. Here is one such app: https://github.com/Softcatala/LanguageToolAndroidService

Yes, you need a third-party app, but if I understand it correctly if AnySoftKeyboard support the Android native Spell-Checker you can set LanguageTool (or some other 3rd-party software) as your default spell-checker in Android and that way it would work in AnySoftKeyboard. Again, if I understand in correctly :sweat_smile:

Yes, you need a third-party app, but if I understand it correctly if AnySoftKeyboard support the Android native Spell-Checker you can set LanguageTool (or some other 3rd-party software) as your default spell-checker in Android and that way it would work in AnySoftKeyboard. Again, if I understand in correctly sweat_smile

If you want to use LanguageTool or any other third party spell checker which is available as an Android app, you are all set to go. There's nothing needed from ASK side. Spell checker works independent of the keyboard being used (not sure though if keyboard has some involvement). EditText view (or whatever component where you type text) of an app interact with AOSP native spell checker (or whatever spell checker you installed as a third party app and selected in device settings) to highlight misspelled words. Right now you install your favorite spell checker and it'd be working.

What's being discussed here is that ASK should itself provide spell checking service (in addition to being a keyboard) so that the pre-built and user generated dictionary of every language may also be used for spell checking (in addition to auto-correction and next word suggestion). In this ways user generated dictionary can be backed up and restored easily, without waiting for a new dictionary to be built based on your typing experience. That's what Gboard does.

What's being discussed here is that ASK should itself provide spell checking service (in addition to being a keyboard) so that the pre-built and user generated dictionary of every language may also be used for spell checking (in addition to auto-correction and next word suggestion). In this ways user generated dictionary can be backed up and restored easily, without waiting for a new dictionary to be built based on your typing experience. That's what Gboard does

Thanks for clarifying, my misunderstanding :sweat_smile:

If you want to use LanguageTool or any other third party spell checker which is available as an Android app, you are all set to go. There's nothing needed from ASK side. Spell checker works independent of the keyboard being used (not sure though if keyboard has some involvement). EditText view (or whatever component where you type text) of an app interact with AOSP native spell checker (or whatever spell checker you installed as a third party app and selected in device settings) to highlight misspelled words. Right now you install your favorite spell checker and it'd be working.

Guess I need to try this out, again :smiley:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dbolton picture dbolton  路  6Comments

ezzarghili picture ezzarghili  路  4Comments

Krzmbrzl picture Krzmbrzl  路  5Comments

ingodeutschmann picture ingodeutschmann  路  5Comments

ashirviskas picture ashirviskas  路  3Comments