Difference between revisions of "Spell checking"

From Apertium
Jump to navigation Jump to search
Line 1: Line 1:
[[Image:tatar-spelling.png|thumb|right|Example of the [[HFST]] Tatar morphology from [[apertium-tat]] used in Libre Office with libvoikko.]]
[[Image:Ooo-is3.png|thumb|right|Example of the [[lttoolbox]] Icelandic morphology from [[apertium-is-en]] used in Open Office with libvoikko. This is still experimental. Blue underlines due to Finnish grammar checking.]]
[[Image:Ooo-is3.png|thumb|right|Example of the [[lttoolbox]] Icelandic morphology from [[apertium-is-en]] used in Open Office with libvoikko. This is still experimental. Blue underlines due to Finnish grammar checking.]]
It is possible to use morphologies created in the Apertium platform directly as spellcheckers using the libvoikko and libreoffice-voikko extension.

==Backend==

===lttoolbox===

You can use the morphological dictionaries in Apertium as spell checkers through [[libvoikko]]. According to [https://sourceforge.net/mailarchive/forum.php?thread_name=201003012127.05189.hatapitk%40iki.fi&forum_name=apertium-stuff this]:
You can use the morphological dictionaries in Apertium as spell checkers through [[libvoikko]]. According to [https://sourceforge.net/mailarchive/forum.php?thread_name=201003012127.05189.hatapitk%40iki.fi&forum_name=apertium-stuff this]:


Line 10: Line 17:
Then go to <code>Tools->Options->Language Settings->Voikko</code>, from the Vocabulary drop down box select "apertium: Experimental Lttoolbox morphology" and click OK. After that any text marked as being in Finnish will be spellchecked with Lttoolbox.
Then go to <code>Tools->Options->Language Settings->Voikko</code>, from the Vocabulary drop down box select "apertium: Experimental Lttoolbox morphology" and click OK. After that any text marked as being in Finnish will be spellchecked with Lttoolbox.


===HFST===


[[Category:User interfaces]]
[[Category:User interfaces]]

Revision as of 16:07, 17 September 2013

Example of the HFST Tatar morphology from apertium-tat used in Libre Office with libvoikko.
Example of the lttoolbox Icelandic morphology from apertium-is-en used in Open Office with libvoikko. This is still experimental. Blue underlines due to Finnish grammar checking.

It is possible to use morphologies created in the Apertium platform directly as spellcheckers using the libvoikko and libreoffice-voikko extension.

Backend

lttoolbox

You can use the morphological dictionaries in Apertium as spell checkers through libvoikko. According to this:

You can install openoffice.org-voikko directly from Debian [sid] main, it is new enough to support morphology variant selection and works with SVN versions of libvoikko just fine.

Once you have compiled the modified version of libvoikko and placed the required files in ~/.voikko/2/mor-apertium you can start OOo with

LD_LIBRARY_PATH=/path/to/modified/libvoikko/lib oowriter

Then go to Tools->Options->Language Settings->Voikko, from the Vocabulary drop down box select "apertium: Experimental Lttoolbox morphology" and click OK. After that any text marked as being in Finnish will be spellchecked with Lttoolbox.

HFST