[PATCH-3-5] fdo#35270 - kill first-use grammar checker freeze ...
Kevin Brubeck Unhammer
apertium at unhammer.mm.st
Tue May 22 05:29:26 PDT 2012
(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 LibreOffice
mailing list