Difference between revisions of "Spell checking"

From Apertium
Jump to navigation Jump to search
(Created page with 'You can use the morphological dictionaries in Apertium as spell checkers through libvoikko. According to [https://sourceforge.net/mailarchive/forum.php?thread_name=2010030121…')
 
 
(3 intermediate revisions by one other user not shown)
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.]]
It is possible to use morphologies created in the Apertium platform directly as spellcheckers using the libvoikko and libreoffice-voikko extension.

== Quick how-to ==

See [[Using Apertium spellers with LibreOffice-Voikko on Debian]].

==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]:


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.
You can install <code>openoffice.org-voikko</code> directly from Debian [sid] main, it is new enough to support morphology variant selection and works with SVN versions of <code>libvoikko</code> 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
Once you have compiled the modified version of <code>libvoikko</code> and placed the required files in <code>~/.voikko/2/mor-apertium</code> you can start OOo with


LD_LIBRARY_PATH=/path/to/modified/libvoikko/lib oowriter
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.
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]]

Latest revision as of 18:18, 4 November 2016

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.

Quick how-to[edit]

See Using Apertium spellers with LibreOffice-Voikko on Debian.

Backend[edit]

lttoolbox[edit]

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[edit]