![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 500
Join Date: Aug 2011
Device: kindle, boox
|
Export list of words in spellcheck
It'll be great an export list of words in spellcheck tool.
![]() |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,439
Karma: 5702578
Join Date: Nov 2009
Device: many
|
You can already add words to your own wordlist. So what purpose would this serve?
Why would this feature be useful to the majority of users? Please explain. |
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
This functionality is already present:
1. Select Edit > Preferences > Open Preferences Location. 2. Double-click the user_dictionaries folder and create a blank text file, e.g. words.txt. 3. Select Tools > Spellcheck > Spellcheck... 4. Select words.txt under Add To Dictionary:. 5. Highlight all words in the table and click Add To Dictionary:. |
![]() |
![]() |
![]() |
#4 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 500
Join Date: Aug 2011
Device: kindle, boox
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Calibre allows you to do this indirectly if you do Tools > Reports > Words and press the Save button. Being able to save as CSV is very helpful when wanting to work with outside tools. I sometimes use Calibre's list to be able to manipulate the CSV with LibreOffice Calc. |
|
![]() |
![]() |
![]() |
#6 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,439
Karma: 5702578
Join Date: Nov 2009
Device: many
|
BTW, Calc like excel will parse most text files if delimited in some way (need not be commas and quotes) or if field aligned.
|
![]() |
![]() |
![]() |
#7 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,600
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
![]() Merge Sigil and Calibre Editor's Reports into a single tool usable from either program via wrapper plugins - bit like DiapDealers' toolbox. It's 'annoying' having to dodge between them to get a report the other one offers - it also opens up the dangers of running two editors against the same source - concurrently. FTR: 1. Of the differences between the two editors this is only one that 'annoys' me. 2. I put a high value on being able to jump from a Report line into the code, so, I'd wouldn't want lose that in a combined tool. BR Last edited by BetterRed; 07-08-2019 at 07:04 PM. |
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That's not likely to happen. Not because of any kind of rivalry or animosity--far from it actually. But because it's just a bad, bad idea. Too much potential for a We-Break-His-App-He-Breaks-Our-App kind of thing. Not to mention the problems with making two separate projects prerequisites for each other. Kovid's got his own system and he moves fast, he's not going to want to take time to check with us before he makes changes to his code that might be being used by Sigil Reports (and vice versa).
Somebody might be able to write a Sigil plugin that utilizes calibre's python modules if they're available (and that's a BIG "might" considering python modules compiled with different versions of python), but it would never be able to interact with Sigil's built-in Reports feature. And it would always be a fragile thing that could break at any moment (through no fault of the plugin dev). My toolbox works because all of the tools are mine. There's a dependency on calibre's plugin framework, but that's the same for all calibre plugins: calibre plugin/calibre plugin framework ... Sigil plugin/Sigil plugin framework. And ne'er (or at least very unlikely) the twain shall meet. Last edited by DiapDealer; 07-08-2019 at 07:35 PM. |
![]() |
![]() |
![]() |
#9 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,600
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I never really thought it would, that's why I've never mentioned it
![]() My first thought was something more like BV being replaced by PageEdit, i.e the Report features of both would be replaced by something external (ePubReports) - but I imagine getting from a report line to the matching code might be a challenge - hence my FTR #2. ![]() BR Last edited by BetterRed; 07-09-2019 at 03:39 AM. |
![]() |
![]() |
![]() |
#10 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 500
Join Date: Aug 2011
Device: kindle, boox
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#11 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Whenever exporting CSVs into LibreOffice Calc, a nice window pops up giving you lots of import options. Quote:
https://www.mobileread.com/forums/sh...59#post3812859 and go marking them up with xml:lang. I've also done something similar when trying to normalize a collection of various articles between American/British spellings. You could:
Compare both CSVs together, look at differences, and you can see:
Last edited by Tex2002ans; 07-09-2019 at 05:19 AM. |
||
![]() |
![]() |
![]() |
#12 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
And I retract my comment about your previous idea being a "bad, bad" one. Your logic for wanting it was sound. It's just not feasible/practical is all. ![]() |
|
![]() |
![]() |
![]() |
#13 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 500
Join Date: Aug 2011
Device: kindle, boox
|
Quote:
Probably the best choice will be to create a script that checks all the words from a epub book against a hunspell dictionary and export the missing words, but a to begin the manual method can work. |
|
![]() |
![]() |
![]() |
#14 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,439
Karma: 5702578
Join Date: Nov 2009
Device: many
|
Please note for Hunspell dictionaries that properly use affix detection and compression, you should not add unflagged words to the dictionary. The proper way to handle that for en is to expand the dictionary (by reversing affix flag usage) to recreate a plain word list, add you new words and be sure to add all versions of the word with prefixes and suffixes, and then re-crunch the wordlist.
This process seems to have been lost over the years as people do not understand the affix rules and affix compression. For example the en US dict that Sigil used to use had no affix compression used at all. Being the original author of MySpell (predecessor of hunspell) and one-time head of OpenOffice's lingucomponent project, it is sad to see information on how to properly create dictionaries that are not giant wordlists has been lost. In addition, the role of a spellcheck dictionary is not the same as an online dictionary or real dictionary. Spellcheck dictionaries should be designed to focus on the "working set" of a language and NOT try to be all encompassing as this actually leads to fewer incorrect words being detected as common mistakes turn out to be real but not typically used words, or slang, or abbreviations, or whatnot. You are better off creating additional user dictionaries that catch common words you use that are not covered by the spellcheck dictionaries, to expand your personal "working set" of the language. |
![]() |
![]() |
![]() |
#15 | |
Imperfect Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 616
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
|
Quote:
https://extensions.libreoffice.org/e...linguist/1.5.1 Regards, Kim |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Bug] Spellcheck List Cursor Location | Tex2002ans | Sigil | 8 | 08-06-2018 10:53 AM |
Export words from Pocketbook | superpawko | PocketBook | 4 | 12-27-2017 04:06 PM |
Spellcheck Ignore Words | tetrault | Sigil | 4 | 02-11-2017 03:25 PM |
Spellcheck in book view + selected text spellcheck | unfairrobot | Sigil | 2 | 12-19-2016 04:50 PM |
Unable to use spellcheck dictionary for italicizing words | sjhawar | Sigil | 18 | 10-20-2016 03:01 PM |