![]() |
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
I get what you mean now. It's an option but this is up to Eber :) I tried the various approaches suggested here. I'll try further with this: Code:
tr '[:upper:]' '[:lower:]' < sanitized.list > sanitized.lowerIt is a bit better: Code:
wc sanitized.uniqI'll try to generate the file again tomorrow. Any ideas or help with the dict are more then welcome :) |
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
2) Well, this is what I did yesterday: Code:
aspell -l it dump master | aspell -l it expand | aspell -l it clean | sort | sort -uf | wc -l |
Re: Advanced text entry on Sailfish (Swype or similar)
Check out the last commit: You can now provide your own dictionary file instead of using the aspell one. You just need to create a words-it.txt file in $CORPUS_DIR with one word per line.
Also, if your input corpus uses the word "dall'oceano" and your dictionary contains "dall" and "oceano" and not "dall'oceano", they will be handled as two different words. |
Re: Advanced text entry on Sailfish (Swype or similar)
eber sorry my ignorance but what do you mean for input corpus? however is it possibile to show both dall and dall' when swyped d-a-l-l? thanks
PS: anything about eventual solution to avoid prediction bar get hidden from whatsapp input field in dalvik full screen mode? |
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
Quote:
|
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
Back to crunching the numbers. Let's see if this time it goes through :) |
Re: Advanced text entry on Sailfish (Swype or similar)
Hello. The last attempt failed with an overflow, despite limiting the dictç
Code:
13566000 |
Re: Advanced text entry on Sailfish (Swype or similar)
What is the size of your dictionary file and how many words does it contsin?
|
Re: Advanced text entry on Sailfish (Swype or similar)
There we go!
Code:
#cat words-it.txt | wc -l |
Re: Advanced text entry on Sailfish (Swype or similar)
Your corpus file is way too small. How many sentences does it include? And on the other hand your dictionary is way too big. Even if it does compile OkBoard will crash with such a huge dictionary.
My corpora has a filesize about 200MB and contains around 2000000 sentences. My dictionary has a size of nearly 1MB and contains around 100000 words. I tried a dictionary with 17 million words(size was around 30MB i think) and OKBoard crashed everytime i started it. |
| All times are GMT. The time now is 23:46. |
vBulletin® Version 3.8.8