|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 416755
Join Date: Jan 2009
Device: KoboGlo
|
Batch process of words for the hunspell user dictionnary
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 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,960
Karma: 2574555
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
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)
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,266
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).
__________________
See the Sigil User Guide and its tutorials for details about Sigil. |
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 416755
Join Date: Jan 2009
Device: KoboGlo
|
Thank you both for your replies.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |