|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625
Karma: 3120635
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 |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,323
Karma: 62025226
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 | |
|
|
|
|
#3 |
|
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
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). |
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625
Karma: 3120635
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 06:46 PM |
| User Interface Plugin Creation/Debug process | ldolse | Development | 15 | 11-04-2011 10:15 AM |
| User Interface Plugin Creation & Development Process | ldolse | Development | 0 | 11-04-2011 06:33 AM |
| Touch Kobo touch's Dictionnary on ePub format | shout | Kobo Reader | 9 | 10-24-2011 01:22 AM |
| Massive import batch process | bazu | Calibre | 2 | 08-07-2010 01:46 AM |