Speech Keyboard

Rating: 
4.8
Your rating: None Average: 4.8 (15 votes)

Keyboard with offline Speech To Text capability

Speech Keybord requires Speech to Text component provided by Speech Note app. Make sure you have installed and configured Speech Note app before using this keyboard.
 
Following languages are supported (you can enabled keybord layout in Sailfish OS Settings->Text input):

  • Bulgarian / bg
  • Bengali / bn
  • Catalan / ca
  • Czech / cs
  • Danish / da
  • German / de
  • Greek / el
  • English / en
  • Spanish / es
  • Estonian / et
  • Finnish / fi
  • French / fr
  • Hindi / hi
  • Hungarian / hu
  • Italian / it
  • Kazakh / kk
  • Lithuanian / lt
  • Latvian / lv
  • Dutch / nl
  • Norwegian / no
  • Polish / pl
  • Portuguese / pt
  • Romanian / ro
  • Russian / ru
  • Slovenian / sl
  • Slovak / sk
  • Swedish / sv
  • Turkish / tr
  • Tatar / tt
  • Ukrainian / uk
  • Chinese / zh-CN

To use Speech Keyboard you have to:

  • enable 'speech' layout in Sailfish OS settings (Settings->Text)
  • download and configure model for your language with Speech Note app

Speech Keyboard uses Speech to Text models from Speech Note app. If you have more than one model for specific language, use 'Set as default for this language' option in Speech Note to make sure that Speech Keyboard uses right model.

Translations (both Speech Note and Speech Keyboard):
All translations are very welcome. There are three ways to contribute:
- [preferred] Transifex project
- Direct github pull request
- Translation file sent to me via e-mail: dsnote@mkiol.net

Source code: https://github.com/mkiol/dskeyboard
Bugs, Feature requests: https://github.com/mkiol/dskeyboard/issues or just email: dsnote@mkiol.net

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-dskeyboard-1.0.0-1.noarch.rpm12.03 KB07/04/2023 - 21:03
File harbour-dskeyboard-1.1.0-1.noarch.rpm12.21 KB17/11/2021 - 20:47
File harbour-dskeyboard-1.2.0-1.noarch.rpm12.34 KB09/12/2021 - 21:42
File harbour-dskeyboard-1.3.0-1.noarch.rpm12.41 KB02/04/2022 - 19:50
File harbour-dskeyboard-1.4.0-1.noarch.rpm13.75 KB07/04/2023 - 18:11
File harbour-dskeyboard-1.5.0-1.noarch.rpm14.4 KB22/05/2023 - 16:49
File harbour-dskeyboard-1.6.0-1.noarch.rpm16.62 KB07/08/2023 - 19:15
Changelog: 

1.6.0

  • Compatibility with Speech Note 4.0
  • Added new languages: Burgarian, Bengali, Danish, Greek, Estonian, Hungarian, Lithuanian, Latvian, Romanian, Slovenian and Tatar.
  • UI change: Decoded text has to be accepted or dismissed.

1.5.0

  • Compatibility with Speech Note 3.0

Comments

nitrotnt's picture

Thanks great work!the last version with whisper base is perfect for italian language

torsten's picture

German model, Aasish Agarwal works nearly perfect for me. Only disadvantage is lower case at beginning of sentences. Just want to thank you for your work.

mkiol's picture

Thank you for the feedback. I'm happy it works well :)

nerd7473's picture

I'm also planning a full Thai Pratuchai keyboard as a noarch package :)

nerd7473's picture

How do I make the Thai voice keyboard an option in my keyboards menu?

mkiol's picture

It is not super straightforward but, for testing purposes, do the following:

  • install Speech Keyboard (obviously)
  • install Thai language in Speech Note app (obviously)
  • make a symlink from your own thai layout to harbour-dskeyboard_th.qml (layouts are in /usr/share/maliit/plugins/com/jolla/layouts)
  • edit /usr/share/maliit/plugins/com/jolla/layouts/layouts_harbour-dskeyboard.conf file and add new layout section, something like this:
[harbour-dskeyboard_th.qml]
name=Thai(STT)
languageCode=TH
handler=SttInputHandler.qml
  • restart mallit service
  • enable "Thai(STT)" layout in Settings->Text input

After above steps new speech layout "Thai(STT)" should be enabled in the keyboard!

BTW, Did you have a chance to test speech recognition of Thai language in Speech Note app? How it works? Is it usable?

Hadama54's picture

Thank you for your immediate reply! I have found it. It works now in the stock note app, but not in all apps, for instance not in storeman.

Hadama54's picture

I installed the recent version of speech note and speech keyboard on Xperia 10 II with SFOS 4.3.0.12 but still only the default keyboard appears. How can I switch to Speech Keyboard? There is no icon for Speech Keyboard and no entry in settings app.

mkiol's picture

New keyboard layouts should be available after install but you have to enable them in Settings->Text input as well. Speech to text layout has "speech" emoji sufix in the name.

alfredquack's picture

just super nice! I've being waiting for such a keyboad.  Works just as slick as a whistle!

I'v been using it daily ever since.

Just two things:

- How am i supposed to articulate punctuation marks, "!", "?", LR etc? Are ther any codes?

- In the german version it puts ae for ä, oe for ö, ue for ü etc.  While this just works and shows that the pronunciation was correctly interpreted, It would be nice to have the actual Umlaut

mkiol's picture

Sorry for late reply. I don't know how but I missed you comment.

Indeed something is wrong with the default German model. Please check recent Speech Note version (1.6.1) . I've added alternative German model "Deutsch (Aashish Agarwal)". It is in experimental section. I would be grateful if you could test it and check if it's better than the default one.

Note: If you have more than one model downloaded for single language, keyboard will use non-experimental model (this without microscope icon), so to enable "Deutsch (Aashish Agarwal)" on keyboard you need to delete "Deutsch".

rob_k's picture

Nice. Could you add Dutch language too?[Edit] Ah, I see Dutch is under Experimental. Great!

dubliner's picture

This is absolutely brilliant! It works like a charm on SFOS 4.2.

However, I was not able to get it running on two SFOS 3.4 devices.

  • One device installed flawlessly, but the keyboard just shows a crossed out DeepSpeech logo.
  • The other device refused to install the rpm from OpenRepos. Haven't had time to explore further.

Could you tell me whether this is supposed to work on SFOS 3.4?

mkiol's picture

Thanks for the report. Indeed there was a problem on SFOS 3.4. Issue is resolved in version 1.1.0.

nephros's picture

This is awesome!