View Single Post
Old 09-09-2014, 04:16 PM   #20
KevinH
Sigil Developer
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: 8,483
Karma: 5703586
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by gipsy View Post
Hi,[*]It's possible to add a feature for multiple dictionaries?
For example i can only work with greek now, but in some epubs i have english, french, etc languages.
The spellcheck mark them as error. If you seperate the Dictionary (an make them Dictionaries) from User Dictionaries would be more convenient.
One thing we could do is allow you to pass text through all dictionaries you have installed instead of just one. OpenOffice.org/LibreOffice has/had that option. Then if the word is spelled properly in *any* dictionary you have, it is considered properly spelled. It can create problems for some words that are similar but not exactly the same in multiple languages.

The only other way to deal with multiple dictionaries is to somehow allow the user to tag each and every word of text with the language that word is drawn from. That is very time consuming to do but is possible in both Word and OpenOffice/LibreOffice. You could possibly add span tags to somehow convey the language of the span, but this would have to be standardized to make multiple-language spell checking possible.

Quote:
[*]I have some regex searches that i check the ebook... As a plugin can we have something to add them there and execute them simultaneously?
Python has very strong regular expression capability and so with minor effort you could write some code to perform any set of standard regular expressions you want on every html file. So you just need to find someone on MR to write that plugin for you or design it yourself. That is a perfect thing for a plugin to do.

Take care,

KevinH
KevinH is online now