10-14-2022, 09:14 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2014
Device: none
|
Spellcheck shows one (1) spelling error?
The book I'm editing has Klingon terms in it. Spellsheck only having one result is: unlikely.
I'm using the most recent version of calibre (as of today). I edit an EPUB file. I open any given chapter, just to be on the safe side. I click the spellcheck button. And all I get is the "word" "override_css". What am I missing? |
10-14-2022, 09:58 PM | #2 |
creator of calibre
Posts: 43,999
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No clue. Either you installed a klingon dictionary or wordlist or your book doesnt actually have any klingon words. Or you told the editor to ignore them sometime in the past.
|
10-15-2022, 09:36 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2014
Device: none
|
It's not just Klingon, it's anything. Proper names aren't caught. 'verse-specific terms aren't caught. I can even put in a deliberately misspelled word, like "kerflumpft", and it still doesn't pick it up.
|
10-15-2022, 09:39 AM | #4 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2014
Device: none
|
Son of a...
Turns out the {html} tag didn't have a language defined. So naturally spellcheck found nothing wrong, because in no language there are no misspelled words. Case closed! |
10-15-2022, 11:29 AM | #5 | |
Guru
Posts: 734
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
Quote:
In the latest book I messed with, here's what the header of the files looks like: Code:
<?xml version="1.0" encoding="utf-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"> <head> <title>Midnight at the Well of Souls</title> <link rel="stylesheet" type="text/css" href="stylesheet.css"/> </head> <body>... EDIT2: I also upgraded from Calibre 6.6.1 to the latest (6.7.1) and spellcheck is still finding plenty of unknown words. What version are you using? EDIT3: And, if I pull out those two lang="en" tags (so there aren't any in the book), spellcheck is still working properly. Last edited by enuddleyarbl; 10-15-2022 at 11:54 AM. |
|
10-15-2022, 12:07 PM | #6 |
Guru
Posts: 734
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
Also, I do have a "<dc:language>en</dc:language>" tag in the content.opf file. But, even if I remove it, the spellcheck still works. But, with it gone, ePubCheck finds it and complains.
|
10-15-2022, 01:41 PM | #7 |
Well trained by Cats
Posts: 29,952
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I believe this is the Required one (that spell check uses as default)
|
10-15-2022, 11:44 PM | #8 |
creator of calibre
Posts: 43,999
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC the hierarchy goes like this:
1) lang on individual tag or its parents going all the way upto html tag 2) if (1) is not found fallback to language in opf file 3) if (2) isnot found fallback to the users interface language I am guessing in this case, the users interface language is one for which there is no builtin dictionary. |
10-21-2022, 01:29 AM | #9 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Quote:
Code:
lang="tlh" Fun fact: It even recently got added in LibreOffice 7.3 (See Bug #143946: "Add klingon as a supported language" for more info.) Last edited by Tex2002ans; 10-21-2022 at 01:36 AM. |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Spellcheck dialog shows well-spelled words as misspelled | ebray187 | Sigil | 15 | 03-03-2021 12:55 PM |
spellcheck not displaying potential spelling errors | Rob557 | Editor | 7 | 04-01-2015 08:25 AM |
Sigil error when start spelling correction | karnhack | Sigil | 1 | 05-31-2013 12:44 PM |
Worst spelling error ever? | bizzybody | Lounge | 2 | 12-31-2012 12:48 PM |