ebook editor spell check issue

Bug #1422133 reported by Robert Heuman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

'mage:a' is not changed to 'mage: a' and 'magic:magic' is not changed to 'magic: magic' so I have to copy the string to the clipboard, paste it into the change box, and then manually add the space and save it the corrected way.

This applies to any two words with the : between them lacking the space that should have been there.

I have many of them in the two books I am editing and would appreciate it if when doing a spell check, combos like this that are not in the dictionary are available in the list below the change box so that I can choose from and edit to put the space in manually rather than having to copy and paste before I can correct the spacing error, or alternately [and preferred way] if the space were put in after the : and that offered as the first choice, as is the case with a . or a , Same would apply to a ; lacking a space after it.

I am running Version 2.19, under Windows 8.1 with last update applied yesterday. Books in this instance are Trickster's Choice and Trickster's Queen as downloaded via Torrent.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Revision history for this message
Robert Heuman (robert-heuman) wrote :

I just observed that the comma , does not even show up as a spelling issue .... while a . results in the listing of the error and the showing of the two words with the period now having a space after the first word and the period, two words separated by a comma but without a space after the comma are not showing up in the spelling check list at all, so they too need to be addressed by being offered with a space after the comma... so this is another instance where the same change is needed, but in this case it is not even showing up in the spell check, while the : was showing up in the spell check. I have not had a chance to check a ; so do not know which way the semi colon is handled, or if it shows up in the spell check.

Revision history for this message
Charles Haley (cbhaley) wrote :

Do note that in French (at least) a space before a colon (and semicolon and exclamation and question) is required.

Revision history for this message
Robert Heuman (robert-heuman) wrote :

Agree, but I am working in English... Canadian English in the main, followed by US English. So for my purposes, the . , ; : all have to be followed by a space, and in the case of the two novels I am 'editing' they are not always followed by the space, and the spell check is not finding them in the case of the , and is not suggesting a fix in the case of the : while it does suggest the correct fix in the case of the . As I have not found a ; I do not know how the spell checker is handling that, and I haven't looked at the ?, which also has the same rules.

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1422133

The spell checker is not going to detect one,two as misspelled. That
comes from unicode word breaking algorithm implemented in ICU. If you
always want commas, semi-colons, exclamations, etc. to be followed by
spaces, use the search and replace tool to do that.

Search: [;!?,](\S+)
Replace: , \1

Revision history for this message
Robert Heuman (robert-heuman) wrote : Re: [Bug 1422133] Re: calibre bug 1422133

Okay and thanks... I did not find that in the Help...

RsH

On Mon, 16 Feb 2015 00:38:58 -0000, you wrote:

>The spell checker is not going to detect one,two as misspelled. That
>comes from unicode word breaking algorithm implemented in ICU. If you
>always want commas, semi-colons, exclamations, etc. to be followed by
>spaces, use the search and replace tool to do that.
>
>Search: [;!?,](\S+)
>Replace: , \1
=======================================================
R. S. (Bob) Heuman <email address hidden>
Copyright retained. My opinions - no one else's...
   If this is illegal where you are, do not read it!
        Canadian Anti-Spam Legislation applies.
  Retention of this message in violation of Canadian
           Privacy Laws will be prosecuted.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.