mike-fabian / ibus-typing-booster

ibus-typing-booster is a completion input method for faster typing
https://mike-fabian.github.io/ibus-typing-booster/
Other
232 stars 16 forks source link

[ENHANCEMENT] It should be possible to set options for m17n input methods in the typing booster setup tool #360

Closed mike-fabian closed 2 years ago

mike-fabian commented 2 years ago

See https://github.com/mike-fabian/m17n-db-bn-national-jatiya/issues/1 especially this comment: https://github.com/mike-fabian/m17n-db-bn-national-jatiya/issues/1#issuecomment-1220531749

mike-fabian commented 2 years ago

https://user-images.githubusercontent.com/2330175/188243119-307848ae-4963-4821-becc-91d522575a98.mp4

mike-fabian commented 2 years ago

The video shows that setting the variable for bn-national-jatiya works with the test builds from https://copr.fedorainfracloud.org/coprs/mfabian/ibus-typing-booster/builds/

Changing the variable has an immediate effect, no ibus restart is necessary.

mike-fabian commented 2 years ago

Video showing the new feature for a few othe input methods like mr-gamabhana and ja-anthy:

https://user-images.githubusercontent.com/2330175/188263926-525bdf59-4743-4ff8-916b-8ebd6deab226.mp4

Mahmudul-hasan613 commented 2 years ago

I have just pushed a release-candidate-2.18.12 branch: https://github.com/mike-fabian/ibus-typing-booster/tree/release-candidate-2.18.12 If you want to try a build and install from source you can checkout that branch. Instructions on how to build are here: https://mike-fabian.github.io/ibus-typing-booster/docs/dev/

Do I need to uninstall the previous version of ibus-typing-booster on my computer before downloading and installing the source files from github...?

Mahmudul-hasan613 commented 2 years ago

ibus-typing-booster-release-candidate-2.18.12

In what sense is the word candidate used in...? If I understand this, then it will be easy for me to translate the user interface to Bengali.

mike-fabian commented 2 years ago

computer

No, you can overwrite the existing installation.

mike-fabian commented 2 years ago

ibus-typing-booster-release-candidate-2.18.12

In what sense is the word candidate used in...? If I understand this, then it will be easy for me to translate the user interface to Bengali.

https://mike-fabian.github.io/ibus-typing-booster/docs/user/#4_1

If you look at the video at this URL of the documentation, you see that while typing a box containing suggested words pops up. These are the "candidates" and this popup is the "candidate list"

Mahmudul-hasan613 commented 2 years ago

I think ibus-typing-booster doesn't have any dictionary for Bengali language.

mike-fabian commented 2 years ago

I think ibus-typing-booster doesn't have any dictionary for Bengali language.

https://packages.debian.org/sid/hunspell-bn

You need to install the Bengali dictionary package.

On Debian, Ubuntu, and Fedora it is called hunspell-bn

mike-fabian commented 2 years ago

Then you need to add the bn_BD dictionary in the ibus-typing-booster setup tool.

Even if you don't have a Bengali dictionary, ibus-typing-booster will remember the words you typed and show them as candidates when you type the same words again.

Mahmudul-hasan613 commented 2 years ago

https://packages.debian.org/sid/hunspell-bn

You need to install the Bengali dictionary package.

On Debian, Ubuntu, and Fedora it is called hunspell-bn

It worked.

Mahmudul-hasan613 commented 2 years ago

Even if you don't have a Bengali dictionary, ibus-typing-booster will remember the words you typed and show them as candidates when you type the same words again.

It is a very good option. This way I don't have to type the same word over and over again.

Mahmudul-hasan613 commented 2 years ago

I am using the new test version. It is working very well. In particular, I am using my own translation. It gives me a different feeling.

However, the work of translation is not completely finished. But I am trying my best to finish the work quickly. Thank you very much for showing me the way to do this.

mike-fabian commented 2 years ago

No need to hurry, it is great that you are doing the translation!

mike-fabian commented 2 years ago

I am using the new test version. It is working very well. In particular, I am using my own translation. It gives me a different feeling.

Does changing the option “use-automatic-vowel-forming” work for you?

Of course I tested it and it seems to work well for me, but I had to write a lot of code to add this feature and I may have made mistakes somewhere. It would be great if you can confirm that it works for you as well.

Mahmudul-hasan613 commented 2 years ago

Does changing the option “use-automatic-vowel-forming” work for you?

Yes, it's working for me...

Mahmudul-hasan613 commented 2 years ago

Of course I tested it and it seems to work well for me, but I had to write a lot of code to add this feature and I may have made mistakes somewhere. It would be great if you can confirm that it works for you as well.

I didn't find any problem using ibus-typing-booster. If I find any problem, I will report that problem to you.

Mahmudul-hasan613 commented 2 years ago

If you look at the video at this URL of the documentation, you see that while typing a box containing suggested words pops up. These are the "candidates" and this popup is the "candidate list"

Oh well, so the word suggestion facility is called "candidates"...?

Mahmudul-hasan613 commented 2 years ago

Ibus issues 2420 In Ibus issues 2420 you have discussed preedit and commit very nicely. As far as I can understand from that discussion, preedit means "unfinished edit" ie the writing is not finished yet or "pre edit". And commit means when I press the space key to finish writing a word. If I understand correctly, I will continue to work on the ibus-typing-booster translation.

mike-fabian commented 2 years ago

If you look at the video at this URL of the documentation, you see that while typing a box containing suggested words pops up. These are the "candidates" and this popup is the "candidate list"

Oh well, so the word suggestion facility is called "candidates"...?

Yes.

mike-fabian commented 2 years ago

Ibus issues 2420 you have discussed preedit and commit very nicely. As far as I can understand from that discussion, preedit means "unfinished edit" ie the writing is not finished yet or "pre edit". And commit means when I press the space key to finish writing a word. If I understand correctly, then I will proceed with the translation of ibus-typing-booster.

Yes, you are describing preedit and commit correctly.

mike-fabian commented 2 years ago

This is included in the ibus-typing-booster-2.19.0 release: https://github.com/mike-fabian/ibus-typing-booster/releases/tag/2.19.0