AnySoftKeyboard icon indicating copy to clipboard operation
AnySoftKeyboard copied to clipboard

Two letter words should be considered for auto correct

Open domportera opened this issue 2 years ago • 3 comments

Steps to reproduce

  1. Type a two letter word like "ya"
  2. Add it too the dictionary if it's not there already
  3. Type "ya" again

Expected behaviour

It types the two letter word "ya"

Actual behaviour

It auto-corrects to "yard"

Android OS version: 11, 12

Device manufacturer and model: LG V60

List of installed add-ons (like languages, or themes): None (Canary)

domportera avatar Apr 27 '22 12:04 domportera

Hm, if I type "i", I get the suggestion "in". I believe there was once a setting to select a minimum number of letters from which on ASK starts to suggest words, but I can't find it anymore -- in the last time the settings of ASK were very much restructured.

I don't have auto-suggestion enabled (and I'm not a developer) but of pure academic interest I would like to ask:

  1. Do you get any suggestions when you type "y"?
  2. If yes: is "ya" amongst the suggested words? (Like: will it be somewhere on 3rd or 4th place in the suggestions and "overruled" by yard or doesn't it even show up?)
  3. Did you try with other word lengths to be sure that it's not a problem of the "add to the dictionary" function? You can check through the app settings whether "ya" was indeed added to your dictionary.

This could maybe help to narrow down the source of the issue.

alchemiker avatar May 08 '22 18:05 alchemiker

It was a dictionary problem! great thinking, thank you. seems like ASK doesn't like to add 2 letter words to the dictionary. I manually entered it in the word list and it now works as expected.

domportera avatar May 16 '22 18:05 domportera

Glad you found a working solution! Looks like the problem ist not the suggestion tool, but the process of adding to the dictionary. Do you have the function that new words are added to the dictionary (immediately or after some use) enabled?

It's found in 🌐_Language_ > Configure correction behaviour and other dictionaries. > Auto dictionary. As long as you don't have "Do not learn new words" checked it should add even short words to your dictionary. For me it works, I have some two-letter words added to my English dictionary from when I forgot to switch languages.

alchemiker avatar May 23 '22 11:05 alchemiker