[libvoikko] [PATCH-3-5] fdo#35270 - kill first-use grammar checker freeze ...
Kevin Brubeck Unhammer
apertium at unhammer.mm.st
Tue May 22 15:29:26 EEST 2012
The following message is a courtesy copy of an article
that has been posted to gmane.comp.documentfoundation.libreoffice.devel as well.
(CC-ing the libvoikko list.)
"Olivier R." <olivier.noreply at gmail.com> writes:
> Hi Daniel,
>
>
> Daniel Naber-2 wrote
>>
>>> If Lightproof could use LT lexicons, that could be a temporary solution,
>>> but maybe memory-consuming, as you would have a dictionary for spell
>>> checking and a lexicon for grammar checking.
>>
>> I have never tried that but I think the finite state machine used
>> internally
>> by LT is quite memory-friendly.
>>
>
> I had a look in the old LanguageTool written in Python.
> It uses the library cPickle (renamed now pickle). I never used it. Resource
> intensive, right ?
>
> In the Java code, there is a fsa library...
> Not sure there is the same thing in Python. Looking for something similar…
There are quite a lot of C++ FST's libraries too. Voikko
(http://voikko.sourceforge.net/) may be of interest, as it is currently
used in the LibreOffice spell checker for Finnish. It has several
possible FST backends:
http://sourceforge.net/apps/trac/voikko/wiki/libvoikko/SupportedLanguages
best regards,
Kevin Brubeck Unhammer
More information about the Libvoikko
mailing list