Speech Keyboard

Rating: 
4.875
Your rating: None Average: 4.9 (8 votes)

Keyboard with offline speech-to-text capability

Short video demonstration: https://www.youtube.com/watch?v=olhY9kBWsXs
 
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 layouts are provided (you can enabled them in Sailfish OS Settings->Text input):

  • Catalan / ca
  • Czech / cs
  • English / en
  • German / de
  • Spanish / es
  • Finnish / fi
  • French / fr
  • Italian / it
  • Polish / pl
  • Russian / ru
  • Ukrainian / uk (install also Ukrainian keyboard for Sailfish OS)
  • Chinese / zh-CN

=> To use Speech Keyboard you have to:

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

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

Application versions: 
AttachmentSizeDate
File harbour-dskeyboard-1.0.0-1.noarch.rpm12.03 KB09/02/2022 - 12:47
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
Changelog: 

1.3.0

  • Layout for Finnish language (please install also Speech Note >= 1.8.0)

1.2.0

  • A new way to start listening: Clicking on the panel starts listening, which ends when the first sentence is recognized. You don't have to keep holding to enable speech recognition.

1.1.0

  • Layout for Catalan language
  • Fix: On SFOS 3.4 language was always "not configured"

Comments

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!