Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-24-2016, 01:05 PM   #1
Tex2002ans
Guru
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 670
Karma: 3366969
Join Date: Jul 2012
Device: Nook
Feature Request: Multi-Language Spell Check

Feature

One of the advantages of Calibre's Spell Check dialog compared to Sigil's is having a Language column along with the list of individual words (based on the EPUB's overall language + HTML lang + xml:lang).

Sigil: Click image for larger version

Name:	SigilSpellCheck.png
Views:	85
Size:	8.5 KB
ID:	148897

Calibre: Click image for larger version

Name:	CalibreSpellCheck.png
Views:	84
Size:	13.5 KB
ID:	148898

Basic Sample Code

Code:
<p>This is an example Spanish sentence: <span xml:lang="es">No señora, no estoy borracho</span>.</p>

<p>This is an example English sentence: <span xml:lang="en">No Ma’am, I’m not drunk</span>.</p>
or attached EPUB.

Why It Is Important

Working with multi-language books, words may be correct in one language but wrong in another + quite often there are overlapping words ("No" in Spanish =/= "No" in English). Currently in Sigil, they appear in the list mashed together.

Helpful Side Functionality

It would be nice to be being able to double click on a word in a language and only jump to the position of the word in that specific language.

I submitted a Calibre Bug Report + details in this thread:

http://www.mobileread.com/forums/sho....php?p=3323463

Side Note

Having Language in the Spell Check dialog was just one of those things that I previously thought was a teeny advantage in Calibre's favor, until I worked on a large book with thoroughly marked lang attributes.

I suspect this case is relatively rare, but Calibre's Spell Check was very beneficial compared to my preferred tool (Sigil).
Attached Files
File Type: epub Spell Checking Languages - Bug Report.epub (1.8 KB, 37 views)
Tex2002ans is offline   Reply With Quote
Old 05-24-2016, 03:42 PM   #2
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,022
Karma: 661610
Join Date: Nov 2009
Device: many
Sigil's interface to the hunspell Spellchecker is now limited to one dictionary at a time. This would take significant work to change this. I will think about this as it is not high priority at the moment given the many pieces of epub3 still yet to support.

That said, the spellcheck interface/hunspell is available to plugins and so someone might be able to pull together a multi-language spellcheck plugin if they were interested.

Thanks for the feature request.

KevinH
KevinH is offline   Reply With Quote
 
Advertisement
Old 07-14-2016, 12:05 PM   #3
brolny
Enthusiast
brolny began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
I have asked for this for about a year ago,
( http://www.mobileread.com/forums/sho...d.php?t=265354 )
but it seems to be very difficult to add multi-dictionaries support to the Sigil.

So maybe you can do it in another way?
And even may be really in a more interesting way.

For example, like this.
Add new feature to Sigil – a possibility to perform not “full”/“all-over” spell-check
(as Sigil make spell-check now – in the text inside every HTML tag),
but “specific”/“partial”/“targeted” check-spell – in some HTML tags.
Only in tags with attribute xml:lang with especial value.

According to the dictionary selected on Preferences, eg.
If the dictionary “en_US” is selected – do spell-check of text inside HTML tags with xml:lang="en_US" only etc.
Or do full spell-check, just like now...

What do you think about a feature like this?
brolny is offline   Reply With Quote
Old 07-14-2016, 12:32 PM   #4
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,022
Karma: 661610
Join Date: Nov 2009
Device: many
Actually, varlog is attempting to implement this feature and is using a Sigil forum thread to "blog" about his efforts. See the Spellsingers Blog thread.
KevinH
KevinH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug: Spell Check Language Tex2002ans Editor 4 05-24-2016 09:22 AM
Feature Request : Spell Check dgparryuk Editor 2 01-27-2014 07:11 AM
Feature Request - Check Box "Want to Read" Rudyman Calibre 3 05-03-2012 12:34 PM
Feature request: Different language = Different book enriquep Calibre 0 03-24-2012 01:43 PM
Feature request: language weatherwax Calibre 1 07-25-2010 08:01 AM


All times are GMT -4. The time now is 11:40 PM.


MobileRead.com is a privately owned, operated and funded community.