View Single Post
Old 07-23-2015, 02:00 AM   #11
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by DiapDealer View Post
Hunspell is built and statically linked into the Sigil executable on Windows. It's the same on Linux and OSX unless a "use local libs" switch is used at build time. Same with PCRE.
This means that the OP would either need to bundle the Hunspell dll with the plugin or only use the custom dictionary.

@CalibUser: The user dictionary is a simple text file. For more information on its usage also see this related thread.
You may want to check out Beautiful Soup, which you can embed in a plugin. For a simple example, see this throwaway plugin.
For algorithm ideas also check out this Epub spell checker, which appears to be using lexicostatistics to identify OCR errors.
Doitsu is offline   Reply With Quote