I know i am doing a lot UX.
One of my biggest but maybe far far away since a lot of effort? Woule be to habe a TTS keyboard. Since i usually dont write anymore too much…
Maybe one could also reuse FUTO functionality (my opinion the best open source offline TTS available)
For speech to text you can use speech note from openrepos, there is also a keyboard plugin. For swipe there is okboard, but no idea if it already works with jolla phone
Edit: in order to use speech keyboard you have to install both, speech note and speech keyboard
I was an avid user of Speech Note Keyboard under sfos 5.0.x - it worked great. Now under 5.2.x I can’t get it to work. I haven’t had time to make a proper bug report yet.
I’ve filed an issue on the dsnote github page now. Last time I filed something, it was me being a n00b, but they responded in a reasonable amount of time.
there is “Speech Keyboard” in openrepos which isn’t that great, because of language support is all over the place and even english is way too hit and miss for my liking, Its backend issue and this project hasnt been updated in 3 years…so yeah. (also that you need choose the correct language model by configure using Speech Note app was so ..sigh…annoying)
I have in the past recompiled it for myself and that works for 5.1 too. When I get 5.2 I could test that out and let you know how it works for me too.
I did read somewhere here that there is a built in Swype like functionality in 5.2?
Annoyingly, I’d already programmed a whisper-based tool for sfos before I found Speech Note. The Speech Note app/keyboard does an excellent job of leveraging the openly available speech-to-text/vice-versa resources that are out there in many, many languages. Yep, english-centric and yep, you will have to experiment with which model is the right balance of speed and accuracy for you.
DSKeyboard 1.6 installs its handler files one directory above where Sailfish 5.2 expects them.
This workaround creates six symbolic links without editing or replacing package files. In the terminal on your jolla.
devel-su
cd /usr/share/maliit/plugins/com/jolla/handlers
for f in SttInputHandler.qml SpeechService.qml SttPanel.qml SpeechIndicator.qml BusyIndicatorWithProgress.qml KeyBase.qml; do
if [ -e "../$f" ] && [ ! -e "$f" ] && [ ! -L "$f" ]; then
ln -s "../$f" "$f"
fi
done
# Press Ctrl-D once, then restart the keyboard:
systemctl --user restart maliit-server
Tested on Sailfish OS 5.2.0.13 with Speech Note 4.9.0 and DSKeyboard 1.6.0. It restores the missing speech controls and ✓ text insertion.
The command does not overwrite existing files or create links to missing files. A future DSKeyboard update may make the workaround unnecessary. I have fed back this info to the Speech Note team.
Small clarification on OKBoard: the installed OpenRepos version 0.6.38 contains no Sailfish 5.2 patch. On 5.2.0.13 it falls back to its 5.0.0.55 patch, which applies with fuzz and offsets, but enabling the resulting plugin makes all keyboards disappear. Maliit remains active, and disabling OKBoard restores the standard keyboard.
@lakeboy’s working 5.1 version maybe was personally recompiled, so it may not be directly comparable with the current OpenRepos package. A dedicated 5.2-compatible build/patch appears necessary.
If you don’t use the pre-formatted text tags, the quotation marks gets converted to ones that cannot be copy&pasted to terminal. Well of course they can be copied, but the commands won’t work like expected.
devel-su
cd /usr/share/maliit/plugins/com/jolla/handlers
for f in SttInputHandler.qml SpeechService.qml SttPanel.qml SpeechIndicator.qml BusyIndicatorWithProgress.qml KeyBase.qml; do
if [ -e "../$f" ] && [ ! -e "$f" ] && [ ! -L "$f" ]; then
ln -s "../$f" "$f"
fi
done
# Press Ctrl-D once, then restart the keyboard:
systemctl --user restart maliit-server
Does the Speech Note keyboard work with text prediction? Because I have a speech note keyboard, which has the speaker button, but it’s a separate keyboard layout, without text prediction .