[WIP] Advanced Keyboard
While testing Saera I have had to type things in over and over, and I have come to realize that the default Sailfish OS keyboard is...not as feature-complete as some other phones. So, I want to remedy that.
I am working on a keyboard that will bring Swype-style input and voice input to Sailfish OS. Currently I have implemented voice input. Here is a screenshot: http://i.imgur.com/HlQ2Md1.png And a video demonstration: http://i.imgur.com/CmNtagK.png I have not yet got dictation working in Julius, so this does send voice over the Internet; I hope to add local recognition in the future. |
Re: [WIP] Advanced Keyboard
Update: Swipe input is working...kind of. Right now it's all happening in QML, so it takes a second or so per word. Also there's no context processing, so it's likely to suggest uncommon words if it thinks they're closer (for example, putting "abs" instead of "and").
http://i.imgur.com/CaGOlPt.jpg |
Re: [WIP] Advanced Keyboard
These might be of help:
http://git.tuxfamily.org/okboard/okb-engine.git http://git.tuxfamily.org/okboard/okb-keyboard.git |
Re: [WIP] Advanced Keyboard
is there rpm releases of okboard available? seems repository does not contain dictionaries, and in can't be compiled without it.
|
Re: [WIP] Advanced Keyboard
I never found any, maybe we can ask the developer?
|
Re: [WIP] Advanced Keyboard
I tried to compile okboard a few weeks ago, but didn't have any time (or experience) really, just couldn't sleep (seems to be my main sailfish-timeframe).
I did not get anywhere, especially getting a corpus to build, but I started documenting what I did, let's hope anything in there helps anyone ;) I used ubuntu. get sources (I got an error, but it worked when I tried again) Code:
git clone http://git.tuxfamily.org/okboard/okb-engine.git follow directions in okb-keyboard readme to set up your development environment. It's not much work if you already have an sdk running. as mersdk I had to install aspell as well… Code:
sudo zypper install aspell LANGUAGES install dependencies: Code:
sudo apt-get install libzip2 python3-dev qt5-qmake from http://corpora2.informatik.uni-leipzig.de/download.html repackage those (unpack, rename the folder to corpus-[LANG] and compress as .tar.bz2) – I think this is incorrect, I just guessed! remove unwanted language files lang-[LANGUAGE] from the db folder i just copied my corpus-*.tar.bz2 files there as well and Code:
cd okb-engine/db Asking the dev would be a sensible solution, me thinks. ;) |
Re: [WIP] Advanced Keyboard
Is it possible to add BB10 style swipe-up gesture to chose word?
Like this https://youtu.be/s6iNAeXson8?t=46 |
Re: [WIP] Advanced Keyboard
Quote:
|
Re: [WIP] Advanced Keyboard
velox: I did not have any luck with okboard either. That's part of the reason I'm trying to have no external dependencies for Advanced Keyboard.
Update on general progress: I improved the lookup system - lookups are now faster by a factor of 10, fast enough to not slow down typing anymore. |
Re: [WIP] Advanced Keyboard
Quote:
If you need some help with german translation or a logo/graphics somewhere down the line, send me a direct message ;) |
All times are GMT. The time now is 04:24. |
vBulletin® Version 3.8.8