![]() |
Re: Advanced text entry on Sailfish (Swype or similar)
In the file okboard.qml in plugin directory we can adjust the gradient values for the background:
Code:
Rectangle { |
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
Any help? |
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
And for anyone still struggling to find his way around (like myself): the directory to adjust this file is /usr/lib/maliit/plugins/ |
Re: Advanced text entry on Sailfish (Swype or similar)
Ok guys I have created the necessary files to the spanish dictionary following the instructions over here:
http://git.tuxfamily.org/okboard/okb...9ebcaec657264a The results are: add-words-fr.txt es-predict.dict lang-fr.cf clusters-es.log es-test.txt.bz2 lang-nl.cf clusters-es.txt es.tre predict-es.db corpus-es.txt.bz2 grams-es-full.csv.bz2 predict-es.ng db.version grams-es-learn.csv.bz2 predict-es.rpt.bz2 es-full.dict grams-es-test.csv.bz2 predict-es.txt.bz2 es-full.tre lang-en.cf words-es.txt es-learn.txt.bz2 lang-es.cf But now there is no documentary about what to do with that files. Looking at the rpm, I think that the developer needs are these files: es.tre.gz predict.es.db.gz predict.es.ng.gz but there is no trace of them in the archive... So I don't know what to do to implement Spanish language on OKBoard. Anyone knows? If the developer needs it I can share with him the spanish dictionary that I have created. |
Re: Advanced text entry on Sailfish (Swype or similar)
OKBoard is awesome! Anybody working on Finnish yet...?
|
Re: Advanced text entry on Sailfish (Swype or similar)
FYI, I am working on Swedish.
|
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
http://git.tuxfamily.org/okboard/okb....md?h=distance see the part about $CORPUS_FILE and $WORK_DIR and you need a lot of RAM to build them... |
Re: Advanced text entry on Sailfish (Swype or similar)
There are a lot of questions about adding new languages to OKBoard, so here is some details (sorry for the length, no TL/DR)
The main focus of this keyboard is to allow fast typing (higher words per minute), so it must be tolerant to inacurate strokes. Try to type as fast as you can and you will understand :-) As a consequence, when you input a word, there are a lot of possible candidates. A strategy is to get the "best match", but this usually does not work as when you type faster you will likely produce a stroke that looks like another word and this will reduce guessing rate. The solution chosen is to implement a language model that can figure out which candidates are likely in a given context (and filter out the one that cannot occurs in this context). Here is an example: I have just tried to type: "There is no place like home" When I swipe "home", the context (surrounding words) is "There is no place like" and the candidates are home, hone, gimme, hinge, gone. The keyboard will clearly prefer "home" to other candidates because they do not make sense (or are far less likely in an English sentence). To train the model you need to feed it with a huge volume of text. The text should be representative of the kind of text you will type. For example is you use a Wikipedia corpus, the keyboard will be very uncooperative if you try to type informal text that would look unnatural in a Wikipedia article. Building language files is not just a matter of pouring random text in the build tool or you will end up with a high error rate. I recommend using a lot of text (my French corpus is over 40 million words, and in some cases this is not enough), and using different kind of documents: articles (new / wikipedia), e-mail, IRC and chat logs ... At the moment the keyboard still has a lot of issues so that accuracy will still be low even with a good language model, but hopefully it will improve soon :-) I have added lots of information to the README file (how to package and distribute files ...). Any patches or suggestions for improvement are welcome. |
Re: Advanced text entry on Sailfish (Swype or similar)
Is anyone else seeing OKboard choke on TMO in WebPirate?
https://m.imgur.com/JTZE4OH I don't really understand why, prediction works OK in SFOS browser but the keyboard is really faint/overlaid. Edit: it's not just TMO, it happens on my Drupal site too |
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
|
| All times are GMT. The time now is 23:46. |
vBulletin® Version 3.8.8