5,598,086 Members 41,453 Now Online
XDA Developers Android and Mobile Development Forum

Alternative dictionaries

Tip us?
 
Renate NST
Old
(Last edited by Renate NST; 28th February 2012 at 12:58 AM.)
#21  
Renate NST's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 699
Posts: 1,777
Join Date: Feb 2012
Location: Boston
It's hard to find a good source for inflected to headword lists.
If you only have headwords, it's best to delete all the entries in the inflectedwords.db.

Here is an empty inflectedwords.db zip-compressed.
 
ApokrifX
Old
#22  
Senior Member
Thanks Meter 45
Posts: 400
Join Date: May 2011
Quote:
Originally Posted by Renate NST View Post
It's hard to find a good source for inflected to headword lists.
Exactly
https://github.com/VVSiz/dsl2mobi/tree/master/wordforms
The Following 2 Users Say Thank You to ApokrifX For This Useful Post: [ Click to Expand ]
 
saizenn
Old
#23  
Junior Member
Thanks Meter 1
Posts: 4
Join Date: Feb 2012
Wow that was GREAT and exactly what i was looking for... it made almost 600.000 inflected entries, that after deleting duplicates and filtering became 480.000 that is not bad at all!
At the moment I am double crossing it with my tblwords.term spanish word list (around 100.000 words) and we will see how many are left... I will post the results.
Thank you ApokrifX for the inflected list, great help!
The Following User Says Thank You to saizenn For This Useful Post: [ Click to Expand ]
 
ApokrifX
Old
#24  
Senior Member
Thanks Meter 45
Posts: 400
Join Date: May 2011
You are welcome!
 
saizenn
Old
#25  
Junior Member
Thanks Meter 1
Posts: 4
Join Date: Feb 2012
This is finished and I got almost 400.000 valid items for the inflected table.
The final files are around 23 MB for the inflected table and over 50 for the main words and the balance aprox 100.000 main and 400.000 inflected. Now I will test it and see in real how many words I have from a book and all that so I can check if it is enough
 
saizenn
Old
#26  
Junior Member
Thanks Meter 1
Posts: 4
Join Date: Feb 2012
I finished a working version, that is a bit slow yet cuz of the many words I used but I will improve it making descriptions shorter.
If someone wants to try can be downloaded here:

saizenpro .com/nook
(remove space)

At the moment are just english to spanish and spanish definitions.
 
funvn
Old
#27  
funvn's Avatar
Member
Thanks Meter 5
Posts: 43
Join Date: Apr 2012
Location: WTF????

 
DONATE TO ME
Quote:
Originally Posted by Renate NST View Post
It's hard to find a good source for inflected to headword lists.
If you only have headwords, it's best to delete all the entries in the inflectedwords.db.

Here is an empty inflectedwords.db zip-compressed.
where can i download an empty inflectedwords.db ? thank you very much.
 
danielgessuti
Old
#28  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Apr 2012
Default unzip field "description" of table "tblWords" in java

Hi!
Hello, I'm trying to write a small java program to unzip the field "description" of table "tblWords".
Someone has already done? Thanks in advance

Daniel
 
Renate NST
Old
#29  
Renate NST's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 699
Posts: 1,777
Join Date: Feb 2012
Location: Boston
Quote:
Originally Posted by funvn View Post
empty inflectedwords.db?
Code:
sqlite3 inflectedwords.db

CREATE TABLE android_metadata
(locale TEXT);

INSERT INTO android_metadata VALUES('en_US');

CREATE TABLE tblInflections
(_id INTEGER PRIMARY KEY AUTOINCREMENT,
 inflected TEXT,
 headword TEXT);

CREATE INDEX inflected_index on tblInflections (inflected ASC);
@danielgessuti: The stuff I did, I did in C on a desktop.
In Java use java.util.zip.ZipFile and java.util.zip.ZipEntry
The Following User Says Thank You to Renate NST For This Useful Post: [ Click to Expand ]
 
ApokrifX
Old
#30  
Senior Member
Thanks Meter 45
Posts: 400
Join Date: May 2011
Renate,
I saw, you started fiddling with injecting smali code, so I was wondering…
How difficult it’ll be to replace native reader dictionary browser, with a market one (ColorDict, Fora Dictionary, you name it)
I guess, it’s gotta be some (standard?) API to call already installed dictionary.
I can post some other “I guess” things, but I think you know all those things better than me anyway.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes