Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,049 Members 39,672 Now Online
XDA Developers Android and Mobile Development Forum

[MOD]Gingerbread KBD with your custom dictionary

Tip us?
 
hallydamaster
Old
#1  
Senior Member - OP
Thanks Meter 67
Posts: 308
Join Date: Aug 2010
Location: Copenhagen, Denmark
Default [MOD]Gingerbread KBD with your custom dictionary

First of all, do not get too excited, you will still need a binary dictionary file (main.dict) to implement in the keyboard.
If you do not know how to get this, I cannot help you as I am pretty sure all the ones I know off are copyrighted.

If you on the other hand know how to find one, it is dead easy implementing the dictionary file in this keyboard.
I used the Gingerbread keyboard from LeeDroid where the &amp symbol has been fixed (with thanks to -snq).

Using 7-Zip or WinRAR, navigate to /system/app and open LatinIME.apk (still in 7-Zip or WinRAR)
Navigate to res/raw and replace the main.dict with your custom one.

Close up and flash the zip in recovery after making nandroid and toggling verification.
Remember that I am not responsible for any damage you may encounter flashing edited apks!

I have only tested this with Danish, but it should in theory work with any language.

If anyone know of any binary dictionaries that are free to use, you are welcome to post them in this thread.
If you want to contribute making one yourself, then follow the guidelines from google code:
http://code.google.com/p/softkeyboar...ryDictionaries

You are very welcome to post them in this thread afterwards.
Attached Files
File Type: zip GingerbreadIME_symfix.zip - [Click for QR Code] (3.79 MB, 445 views)
The Following 2 Users Say Thank You to hallydamaster For This Useful Post: [ Click to Expand ]
 
lebenskuenstler
Old
#2  
Member
Thanks Meter 3
Posts: 35
Join Date: Aug 2010
Just a quick thought:

Might it be possible to use the word databae from the Hunspell project (http://hunspell.sourceforge.net/)? They are opensource. We would have to think how to transfer the data to google's format. I am very bad in scripting, but I will spend some thoughts on this.

LK
 
Grizly_Jee
Old
#3  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Jul 2010
For a dutch dictionary, check this post
http://forum.xda-developers.com/show...&postcount=203
 
bilocan
Old
#4  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jan 2009
Default Further details

Hi. I am also looking for a danish spell-check (for CM7 on Legend)

What is the purpose in opening the file you have uploaded and navigate to the LatinIME.apk file? When I open it, it wants to install it.

Another noob question, where to find "res/raw" directory?

Thanks in advance.
Tags
gingerbread, keyboard, mod
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes