From Fedora Project Wiki

Description

This is a test case to check ibus typing booster is working as expected.

Setup

Follow up to the steps in QA:Testcase i18n input method setup to configure the input method on the desktop in general.

  1. Install ibus typing booster using following command
    dnf install ibus-typing-booster
    dnf install emoji-picker
    dnf install python3-enchant
    dnf install pyhunspell-python3
    (Installing python3-enchant and pyhunspell-python3 is optional, but at least one of these is installed, one will not only get completions but also spelling corrections. If both are installed, python3-enchant is preferred)
    Installing emoji-picker is optional as well, but this is a nice stand-alone tool to search for emoji by browsing emoji categories or typing search strings.
  2. Add some input sources which have (Typing Booster) in the name.
  3. Try to add (Typing Booster) input sources for different languages, especially interesting are languages where the native keyboard inputs non-ASCII characters (for example Russian, Greek)
  4. To install dictionaries of your language use
    dnf install hunspell-??
    where ?? is the code for your language.

How to test

  1. Select a (Typing Booster) input source in the Gnome panel
  2. Type something. A list of completion candidates should pop up.
  3. You can select and commit a candidate by typing the number displayed in front of the candidate.
  4. You can also select a candidate using the mouse.
  5. Or you can select a candidate using arrow-up/arrow-down and commit with the space key.
  6. Or don’t select a candidate at all and commit the preëdit (the typed string) using the space key.
  7. When typing something like cat_ i.e. a word which matches an emoji followed by an underscore, you should see emoji among the candidates.
  8. This should work in almost all languages, for example if you are using typing-booster with a Spanish dictionary, gato_ should give you cat emojis.
  9. If you don’t want to type the _ you can switch the option “Unicode symbols and emoji predictions“ on in the setup tool. Note that this slows down typing-booster a lot, therefore this option is off by default.
  10. For detailed information about emoji and Unicode symbol input see [Unicode symbols and emoji predictions]
  11. Start
    /usr/bin/emoji-picker
    to test the emoji browsing tool.
  12. You can left click on a emoji to get it into the cut and paste buffer and then paste them into some program like gedit.
  13. You can right click on a emoji to get more information about that emoji.
  14. On emoji which support skin tone variants,for example 👧, you can middle click or long press with the left mouse button to get the skin tone variants.
  15. If an emoji is matched, it usually appears at the bottom of the candidate list (unless you typed that emoji already before, then it may get scored higher). If you see an emoji at the bottom of the candidate list and this is not the one you wanted, you can scroll the candidate list down to the next page(s), there will probably be more similar emoji. Or you can click the any emoji candidate with the right mouse button, this will give you similar emoji.
  16. Detailed documentation for emoji-picker is here: [Emoji picker]
  17. Detailed documentation for ibus-typing-booster is here [ibus-typing-booster documentation]

Expected Results

  1. New words are getting added to the user database after commit, therefore one should notice that the system becomes more intelligent while typing because it remembers which words appear in which context
  2. To speed up the learning process, one can use the ibus-typing-booster setup tool to read some text files