MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Editor (https://www.mobileread.com/forums/forumdisplay.php?f=262)
-   -   check spelling (https://www.mobileread.com/forums/showthread.php?t=237869)

Divingduck 04-18-2014 05:27 AM

check spelling
 
1 Attachment(s)
Kovid,
:thanks:

DrChiper 04-18-2014 06:26 AM

:thanks:
Now I'm looking for the easter eggs ...

Divingduck 04-18-2014 06:49 AM

Kovid,

Sometimes I can't jump to a misspelled with [show next occurrence]. I happen i.e. with the German Word 'Abend' (7 times in the document) and the misspelled word 'abend' (one time in the document). The pointer is then at the beginning of the document.

Some wishes for maybe future extensions, what came up due to testing the dictionaries.

User dictionary: The possibility to import/export a word-list as text files (one word by line) because this format is common by most programs to share dictionaries between them.

Dictionaries, what are implemented or imported: The possibility to switch them off and on separately (similar to how you implement it für User dirctionaries) because of documents with mixed language where the need to identify used words separate is sometimes necessary.

BetterRed 04-18-2014 07:32 AM

Great - really pleased to see the Sigil model used, with some worthwhile improvements

Will/can an option be added to sort the error word list as case sensitive, in English at least it usefully segregates proper nouns

Could an option be provided to export the error word list to a text file

Could the current language variant and dictionary be displayed on the Check Spelling dialogue.

Added - and could an option be added to omit the OPF file from spell checking

Big Thanks

BR

kovidgoyal 04-18-2014 07:41 AM

@Divingduck: Attach a file where you cannot jump to the next occurrence.

As for importing wordlists as user dictionaries, I can certainly implement that. However, in calibre a user dictionary contains not just a list of words but every word also has an associated language. Therefore, they cannot be exported as simple word lists without losing some information.

I dont understand why you need to turn off dictionaries. The spell check is perfectly capable of handling multilingual documents based on the language specified in the lang HTML attribute.

kovidgoyal 04-18-2014 07:49 AM

Quote:

Originally Posted by BetterRed (Post 2812129)
Will/can an option be added to sort the error word list as case sensitive, in English at least it usefully segregates proper nouns

Sure.

Quote:

Could an option be provided to export the error word list to a text file
Why?

Quote:

Could the current language variant and dictionary be displayed on the Check Spelling dialogue.
There is no current language variant and dictionary. The dictionary used depends on language declarations in the book being checked. There can be multiple such declarations in different areas of the book.

Quote:

Added - and could an option be added to omit the OPF file from spell checking
Why? You wish to misspell words in the OPF?

mrmikel 04-18-2014 08:20 AM

Kovid, mine doesn't jump to word in the first place and not when I press the find next occurrence button either. It is a 36 mb file, so I will have to shrink down the images before I can even upload it.

That brings me to another unrelated request: the ability to bulk export images. They are all PNGs, too big. I need to be able to export them, process them and bring them back. Nor so hard once I can get them out, but I end up having to go back to the source to do it.

kovidgoyal 04-18-2014 08:22 AM

@mrmikel: There is no jumping to words in the first place. Jumping only happens if you double click or click Show next ocurrence.

BetterRed 04-18-2014 08:28 AM

@kovid - Re OPF - I write most of my metadata myself, and I use abbreviations and jargon words that are meaningful to me that are not in dictionary. And if anything needs correcting I would want to correct it in the library. I don't make any use of the embedded metadata, I put a jacket at the end of the book with all my metadata.

Re export of error list, if I have a 'book' in other formats (eg PDF and DOCX), then its usually easier to correct spelling errors by hand in the other formats than it is convert from EPUB and fix the layout etc of the other formats in Acrobat or Word etc.

BR

mrmikel 04-18-2014 08:32 AM

It doesn't do either. It does find them and correct them, but it doesn't jump on double click or find. Have converted the image files, let me take out the old and import the new and see if file size makes a difference. It would not surprise me if the file is malformed, even if it says ok on check book.

kovidgoyal 04-18-2014 08:33 AM

@BR: OPF checking only checks the standard metadata fields (title/comments/authors and so on) for errors. It does not check extended metadata fields like those calibre uses.

Surely there are spell checkers in whatever tools you use to edit your other formats?

mrmikel 04-18-2014 08:48 AM

1 Attachment(s)
Here is file that won't check now. Down to just about 7 mb.

Must add thanks for the spellcheck. It was the only thing really missing, since phrase express fills need for clips and for me works better.

Divingduck 04-18-2014 09:03 AM

1 Attachment(s)
Kovid, here ist a testfile. It is protected. You will find the password as PM
I had add this dictionary in addition:
german de-de-frami dictionaries

DrChiper 04-18-2014 09:09 AM

I have just a wee little request: can the spell check be aware of tags?
I get a lot of false hits on 12.0px, text-align, margin-top and the like. It should exclude numbers anyway.

BetterRed 04-18-2014 09:12 AM

Sigil doesn't check the OPF so it was a bit of a puzzle when I first saw all the errors it generated (on the first book I looked at there must have been over 50 just from comments). I put lots of web & email addresses in comments and most of my tags are abbreviations and acronyms.

Maybe there could be an option to group the errors by source file - then the likes of me could ignore all errors from the OPF file.

BR


All times are GMT -4. The time now is 09:07 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.