answered
2014-05-20 04:21:52 +0200
Hey folks..
Just wanted to let everyone here know that I'm looking at writing a Maliit plugin for a gesture based keyboard..
I spent the last weekend coming up with a basic Demo of such a keyboard in Qt/QML ... Apparently it's really not that difficult.
This was really a quick and dirty project to test the waters and I'd say i'm pleasantly surprised how easy and how performant this was. Even on my 5 year old Samsung Galaxy Captivate( 1Ghz processor, 370MB RAM), there was absolutely no visible lag in predicting ~5 words from a dictionary of around 30000 words.
And here is the demo of what's working so far:
https://www.youtube.com/watch?v=0EPFa4PLqa8
What works:
1) A basic disambiguation algorithm, which says how likely "hgfdedfghjklo" is to be the word "Hello".
2) A basic prediction function which ranks words like "Hello" "He" "Hell" ... in the increasing likelihood that they generally appear.
3) All the necessary infrastructure to parse keyboard definition files and create a virtual keyboard. ( I am designing this with multiple languages/keyboard layouts in mind )
TODOs :
1) Improve the word disambiguation algorithm and the feedback system. (quite interesting, probably - priority 1) (In progress . Done with the feedback system)
2) Improve the prediction precision by analyzing more real world text and analyzing user's error model - priority 3)
3) Add a gesture to support inputting repeating characters. (priority 2)
4) Implement a proper state machine in engine to support things like backspace, arrow keys, auto capitalization etc.. (priority 2 - looks like it's better done after making this a Maliit plugin)
5) Make a Maliit plugin out of it. (priority 1 - mainly because it seems like it would be faster to develop and test the demo than the whole Maliit plugin) (In progress. Currently I'm quite busy, so that's why this is on a pause)
6) Look into multi language support. (priority 5 - kind of too much for me)
7) Make it prettier (priority 4) (DONE)
I'm hoping to make this FOSS... But I haven't yet decided if I would want to put a price on this => the code stays behind closed doors for now. So if you don't hear any updates from from me about this in 1-2 months from now (I'm only working on this during weekends, and spare time as of now...), feel free to ping me and I'll open up the source code immediately.
Cheers
Update: You can follow my progress in here: http://saidinesh5.wordpress.com/tag/skeyer/
---------
Coming from N900 & Communicator series I found Swype to be absolutely essential on N9.
Faz ( 2013-12-24 19:11:52 +0200 )editI could not live without it at this point. I find myself swyping all the time on Jolla's keyboard, only to realise that it doesn't work :( It's become second nature to me.
Orologiaio ( 2013-12-24 19:39:57 +0200 )editSurely a swype keyboard would be a natural fit for the entirely gesture-based Sailfish interface. I have to say I was surprised that it was not included.
strongm ( 2013-12-24 21:39:55 +0200 )editThere's an existing thread at Swype's official forums here. Would recommend adding to it to show level of interest & support.
Faz ( 2013-12-24 23:36:31 +0200 )editI'm also swyping all the time on My Jolla. Can't wait to get it on My Precious!!! On N9 it was working perfectly!
matimilko ( 2013-12-25 21:17:59 +0200 )edit