Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Alternative dictionaries

OP Renate NST

16th February 2012, 02:35 AM   |  #21  
Renate NST's Avatar
OP Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 822
 
2,000 posts
Join Date:Joined: Feb 2012
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.
Last edited by Renate NST; 28th February 2012 at 01:58 AM.
16th February 2012, 05:22 AM   |  #22  
Senior Member
Thanks Meter: 47
 
419 posts
Join Date:Joined: May 2011
Quote:
Originally Posted by Renate NST

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: [ View ]
16th February 2012, 10:59 PM   |  #23  
Junior Member
Thanks Meter: 1
 
4 posts
Join Date:Joined: 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: [ View ]
17th February 2012, 06:23 AM   |  #24  
Senior Member
Thanks Meter: 47
 
419 posts
Join Date:Joined: May 2011
Smile
You are welcome!
17th February 2012, 07:52 AM   |  #25  
Junior Member
Thanks Meter: 1
 
4 posts
Join Date:Joined: 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
18th February 2012, 01:04 PM   |  #26  
Junior Member
Thanks Meter: 1
 
4 posts
Join Date:Joined: 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.
22nd April 2012, 05:10 AM   |  #27  
funvn's Avatar
Member
Flag WTF????
Thanks Meter: 5
 
43 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Quote:
Originally Posted by Renate NST

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.
23rd April 2012, 05:50 PM   |  #28  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Apr 2012
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
23rd April 2012, 07:20 PM   |  #29  
Renate NST's Avatar
OP Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 822
 
2,000 posts
Join Date:Joined: Feb 2012
Quote:
Originally Posted by funvn

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: [ View ]
25th April 2012, 05:53 AM   |  #30  
Senior Member
Thanks Meter: 47
 
419 posts
Join Date:Joined: 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.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes