Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for compound words in predictive mode #418

Closed
mathlu opened this issue Jan 12, 2024 · 2 comments · Fixed by #445
Closed

Support for compound words in predictive mode #418

mathlu opened this issue Jan 12, 2024 · 2 comments · Fixed by #445
Labels
bug Something isn't working

Comments

@mathlu
Copy link

mathlu commented Jan 12, 2024

In swedish, and possibly other languages compound words exist where words consist of two or more words joined together. For example the word for fever thermometer in swedish is "febertermometer" consisting of the word "feber" for fever and "termometer" for thermometer.

Since it would not be feasible to add all possible combinations of words that make up these compound words to the dictionary it would be good to be able to mark that input has finished for one part of the word and that a new word is starting without a space being added in predictive mode.

Suggested flow:

  • Enter first part of word 'feber'
  • Press d-pad "Down" to mark that the first part of the compound word is finished
  • Enter last part of word 'termometer'
  • Press "OK" or 0 for space
  • Enjoy your beautiful new compound word and possibly press * to add it to the dictionary if used often.

References:
http://nds2.webapps.microsoft.com/files/support/apac/phones/guides/Nokia_5210_APAC_UG_en.pdf page 20.

@sspanak
Copy link
Owner

sspanak commented Feb 1, 2024

Well, you can type compound words even now. Just type the first word, hit backspace to erase the extra space and type the second word.

Or, if you don't want automatic spaces added, just turn them off from Settings -> Keypad -> Predictive Mode section -> Automatic Space. This way, OK will not add an extra space and you would be able to choose whether to add one with 0-key or not.

Now, if you still want automatic spaces only after punctuation, it is possible to split the setting and have something like "Automatic space after words" and "Automatic space after punctuation". This way, you would have even finer control. And... I think it's the best I can do. You can't have auto correction on and off at the same time... 🙂

Finally, TT9 recreates the Nokia experience on modern Android devices, but it is never going to be exactly the same as Nokia 5210 or 3310 or any other. You can't expect that. It will always be somewhat different from your past favorite phone.

I hope the above helps you solve the problem.

@sspanak sspanak added the more info needed Further information is requested label Feb 1, 2024
@sspanak
Copy link
Owner

sspanak commented Feb 29, 2024

Reading all this one more time, I realized there is a bug with the "Clear Filter" function. By default, DPAD Down is assigned to it and it must work exactly as you described - when no filter is active, it must break typing and predictions, allowing you to continue with a new word. I'll fix that in the next version.

There is no indication you are combining two words, but I believe it is not necessary. In reality, typing a compound word is just typing simple words next to each other.

So disregard my previous comment, I just misinterpreted what you said.

@sspanak sspanak added bug Something isn't working and removed more info needed Further information is requested labels Feb 29, 2024
@sspanak sspanak linked a pull request Feb 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants