01-26-2013, 05:46 AM | #1 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Batch process of words for the hunspell user dictionnary
Hi,
I have a plain but rather big list of approved words in text format (one word every line) and I would like to insert all of them in my user dictionnary. If I use hunspell with the command line. Code:
hunspell filename This is a tedious process. Is there a way to batch process this list? I read in the man hunspell that the command Code:
hunspell -s filename |
01-26-2013, 06:32 AM | #2 |
Well trained by Cats
Posts: 29,799
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The User Dictionary is a Text file in the normally hidden Application Data folder
XP xample: Code:
C:\Documents and Settings\<user logon>\Local Settings\Application Data\sigil-ebook\sigil\user_dictionaries and add the list in Alpha order OR just add the file to the folder (with proper EOL) |
Advert | |
|
01-26-2013, 06:33 AM | #3 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
I'm not sure how to get hunspell to accept words in bulk, but its a good idea. Editing the dictionary file is certainly fine - but it could probably be a bit easier.
I've modified the dictionary preferences to allow you to use Add to add one word or a list of words (separated by lines, commas, or spaces). |
01-26-2013, 07:32 AM | #4 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Thank you both for your replies.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dictionnary mode and suspend | maxime | Kobo Reader | 0 | 12-26-2012 05:46 PM |
User Interface Plugin Creation/Debug process | ldolse | Development | 15 | 11-04-2011 09:15 AM |
User Interface Plugin Creation & Development Process | ldolse | Development | 0 | 11-04-2011 05:33 AM |
Touch Kobo touch's Dictionnary on ePub format | shout | Kobo Reader | 9 | 10-24-2011 12:22 AM |
Massive import batch process | bazu | Calibre | 2 | 08-07-2010 12:46 AM |