Keyboard icon indicating copy to clipboard operation
Keyboard copied to clipboard

Autocorrect / suggestion strip

Open siccovansas opened this issue 1 year ago • 12 comments
trafficstars

Checklist

  • [X] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [X] This issue contains only one feature request.
  • [X] I have read and understood the contribution guidelines.
  • [X] I optionally donated to support the Fossify mission.

Feature description

It would be great to have optional autocorrect / suggestion strip in the Keyboard app.

Why do you want this feature?

Many popular keyboards have autocorrect / suggestion strip, so people are used to that. I order for people to switch to Fossify Keyboard, many people probably want to have autocorrect / suggestion strip.

siccovansas avatar Jul 23 '24 12:07 siccovansas

I'd go for a suggestion of autocorrected words in the top bar. I absolutely hate it when unknown words get autocorrected into something absolutely unrelated as soon as I hit the spacebar.

coderph0x avatar Jul 24 '24 11:07 coderph0x

If and when implemented, anything like autocorrect or a suggestion strip will always be optional.

naveensingh avatar Jul 24 '24 11:07 naveensingh

I second this. Auto correct is really needed in the keyboard.

Ajt8000 avatar Jul 29 '24 07:07 Ajt8000

Next to autosuggest, autocomplete and autocorrect based on a language specific dictionary, https://github.com/AnySoftKeyboard/AnySoftKeyboard also offers this for first and last names in your address book. Probably another feature request but easier to implement and start with as no language specific dictionary is needed.

PanderMusubi avatar Jul 29 '24 11:07 PanderMusubi

The challenge here would be how to implement dictionaries, since Fossify is offline by design. I've seen two approaches in FOSS keyboards that may be considered here:

  • AnySoftKeyboard has separate APKs with dictionaries for other languages than English (English is built-in). You can see, there are lots of them on F-Droid: https://search.f-droid.org/?q=anysoftkeyboard&page=1. That approach would be more user-friendly, but I don't know how hard it would be to implement dictionaries as plugins.
  • Heliboard (which is nearly like Fossify Keyboard but with dictionaries) links from the app to the page (https://codeberg.org/Helium314/aosp-dictionaries#dictionaries), where user can download a dictionary and then load it to the app. It's less user-friendly, but definitely it should be easy to implement.

tswistak avatar Aug 24 '24 16:08 tswistak

If the dictionaries aren't that big for contemporary app size, just include them all in the app. Saves a lot of trouble.

PanderMusubi avatar Aug 24 '24 20:08 PanderMusubi

E.g. Dutch word list is relatively large because concatenations of noun don't have a space in between them. Uncompressed word list of ~420,000 words is about 5 MB and compressed 1.4 MB.

PanderMusubi avatar Aug 24 '24 20:08 PanderMusubi

Any updates on this? I am surprised this wasn't already available.

MysteriousOrb2000 avatar Nov 12 '24 19:11 MysteriousOrb2000

Please don't make the app unnecessarily bloated (more powerful than needed). In my opinion, simplicity is the strongest argument in favor of this keyboard.

I use Anisoft Keyboard. The main reason I want to switch to Fossify is that there are no word suggestions. For me that is an advantage.

user4andre avatar Nov 25 '24 12:11 user4andre

Taking in account that the very first sentence in the README of this project (and its web) it is stated that Fossify Keyboard is

your go-to solution for effortless and efficient typing

then this feature should be a must, wether if enabled by default or made it optional in some setting whatsoever. But definitely a feature that in fact makes typing 'effortless and efficient'. I'd go as far as to say this should be top priority.

Now, there's a comment saying that this feature should be optional, and that of course is up to the developers, though it'be great if they make such option discoverable for every user and would-to-be user. But in that spirit I'd imagine Heliboard's approach would fit better - making the user download the dictionaries they'd use.

acidrums4 avatar Feb 02 '25 16:02 acidrums4

If the dictionaries aren't that big for contemporary app size, just include them all in the app. Saves a lot of trouble. E.g. Dutch word list is relatively large because concatenations of noun don't have a space in between them. Uncompressed word list of ~420,000 words is about 5 MB and compressed 1.4 MB.

The easiest way would still be to choose which language(s) you want to download. E.g. I only need three, so why should I download all of them. It could be as simple as choosing the layout.

HerrJM avatar Mar 05 '25 11:03 HerrJM

Note that keyboards work better with preprocessed word lists, not plain word lists. Also, autocorrection is an important part. For now, best is to use AnySoftKeyboard or look at the functionality/implementaiton there.

PanderMusubi avatar Mar 05 '25 13:03 PanderMusubi

Are there any updates on this?

ghost avatar Jul 20 '25 09:07 ghost

No, no updates yet.

naveensingh avatar Jul 20 '25 10:07 naveensingh

Hi, recently found Fossify apps and enjoy most of them but not having autocorrect option in the keyboard is causing me to uninstall it. Is app still being worked on?

cig2000 avatar Sep 10 '25 14:09 cig2000

Dude, it's open source. If this is so important to you, fork the repo and inplement it yourself. Otherwise be humble that people work on this software during their spare time and use it as is.

coderph0x avatar Sep 10 '25 14:09 coderph0x

Dude, it's open source. If this is so important to you, fork the repo and inplement it yourself. Otherwise be humble that people work on this software during their spare time and use it as is.

It's been over a year since this feature request. I'm just curious if it's still being worked on or not.

cig2000 avatar Sep 10 '25 14:09 cig2000

Just read my last post again.

coderph0x avatar Sep 10 '25 14:09 coderph0x

Is app still being worked on?

Yes (see unreleased changes: https://github.com/FossifyOrg/Keyboard/pull/244)

It's been over a year since this feature request. I'm just curious if it's still being worked on or not.

Recently, I have been thinking about how to implement this, given the constraints. I will post when I have a solution.

naveensingh avatar Sep 10 '25 14:09 naveensingh

Is app still being worked on?

Yes (see unreleased changes: #244)

It's been over a year since this feature request. I'm just curious if it's still being worked on or not.

Recently, I have been thinking about how to implement this, given the constraints. I will post when I have a solution.

Thank you for the update! Great work!!

cig2000 avatar Sep 10 '25 14:09 cig2000

Just read my last post again. Hello @coderph0x ,

I think @cig2000 is perfectly entitled to ask questions about the “roadmap visibility” and to check whether the project is still active, in order to decide whether to follow it as a user—not necessarily as a developer.

Open source is fantastic, but contributions and questions in open source projects don’t come only from developers, and fortunately! Users can ask questions too.

I just wanted to “defend” @cig2000 because his tone was completely appropriate, and I felt your response might have been a bit harsh. I agree with you that communication is important, and indeed, it’s unacceptable when people complain about freely produced work. But in this case, I don’t think @cig2000 was doing that at all.

gri38 avatar Sep 10 '25 16:09 gri38

It's your right to look at it like that, I read the tone differently. Especially with his pressing "forcing me to uninstall it" and "it's been a year". That is entitled indeed, nothing less.

coderph0x avatar Sep 10 '25 16:09 coderph0x