[Grammar checking] Using LanguageTool lexicons with Lightproof new possible

Olivier R. olivier.noreply at gmail.com
Wed Dec 5 23:34:23 PST 2012

Hi László,

In fsa_builder.py, in class DAWG, you can replace :

        self.minimizedNodes = collections.OrderedDict()


        self.minimizedNodes = {}

Creating the DAWG is much quicker with a simple dictionary than with an
ordered dictionary.
I only used the latest to test compression with a sorted DAWG, but it’s
unuseful with this version of the script.


View this message in context: http://nabble.documentfoundation.org/Grammar-checking-Using-LanguageTool-lexicons-with-Lightproof-new-possible-tp4022489p4022817.html
Sent from the Dev mailing list archive at Nabble.com.

More information about the LibreOffice mailing list