Skip to content

Setting to split concatenated words#2057

Open
bnichs wants to merge 1 commit intoHeliBorg:mainfrom
bnichs:split-concat-space-words
Open

Setting to split concatenated words#2057
bnichs wants to merge 1 commit intoHeliBorg:mainfrom
bnichs:split-concat-space-words

Conversation

@bnichs
Copy link
Copy Markdown

@bnichs bnichs commented Oct 29, 2025

Since using this keyboard a major issue i've found is how easy it is to accidentally write concatenated words where I accidentally press a letter instead of the space bar. I'm constantly writing c, v, b, n, and m (bottom row keys) instead of space leading to words like "hellobthere" or "whatbarenyouvdoingvtonight?"

My proposal is adding a setting which would correct for this specific issue by trying to split unknown words by the trouble keys and testing for dictionary values in the split words. Using a version with this fix works great and my number of mispells and retypes has gone down drastically.

An alternative fix for this is to enlarge the whole keyboard thus increasing padding around the space bar, but it affects ergonomics and what you can read on screen. Another possibility is to enlarge the space bar but that also affects screen size.

This was not an issue with major competing keyboards as I suspect they either correct using their own proprietary models, or they do something similar to this change. I have no intention of using those keyboards so I believe Heliboard should be able to solve the problem. I believe this solution is a better enhancement and provides for a good user experience when enabled.

Not sure what the usual testing is but i confirmed my tests pass against Android platform 35 + OpenJDK 17.0.16

Since using this keyboard a major issue i've found is how easy it is
to accidentally write concatenated words where I accidentally press a
letter instead of the space bar. I'm constantly writing c, v, b, n,
and m (bottom row keys) instead of space leading to words like
"hellobthere" or "whatbarenyouvdoingvtonight?"

My proposal is adding a setting which would correct for this specific
issue by trying to split unknown words by the trouble keys and testing
for dictionary values in the split words. In my own testing this works
great and my number of mispells and retypes has gone down drastically.

An alternative fix for this is to enlarge the whole keyboard thus
increasing padding around the space bar, but it affects ergonomics and
what you can read on screen. Another possibility is to enlarge the
space bar but that also affects screen size.

This was not an issue with major competing keyboards as I suspect they
either correct using their own proprietary models, or they do
something similar to this change. I have no intention of using those
keyboards so I believe Heliboard should be able to solve the problem.
I believe this solution is a better enhancement and provides for a
good user experience when enabled.
@Helium314
Copy link
Copy Markdown
Collaborator

Ideally this should be taken care of by the library, but apparently it isn't...

An alternative fix for this is to enlarge the whole keyboard thus increasing padding around the space bar

You can just increase the bottom padding, that only shifts the keyboard.

But if you want this functionality, it should be independent of the keyboard layout, i.e. use the current bottom keys instead of assuming a particular layout.

Thanks for making the code nicely contained and adding tests!

@Helium314
Copy link
Copy Markdown
Collaborator

Btw aren't the split words often already in the suggestions, maybe just with a low score?
This is the case for me with both your examples "hellobthere" and "whatbarenyouvdoingvtonight".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants