[Grammar checking] Using LanguageTool lexicons with Lightproof new possible
Németh László
nemeth at numbertext.org
Thu Dec 6 08:30:19 PST 2012
Hi Olivier,
Thanks, I have tested it, quite fast the dictionary lookup!
Best regards,
László
2012/12/6 Olivier R. <olivier.noreply at gmail.com>
> Hi László,
>
> In fsa_builder.py, in class DAWG, you can replace :
>
> self.minimizedNodes = collections.OrderedDict()
>
> by
>
> 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.
>
>
> Regards,
> Olivier
>
>
>
> --
> 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.
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20121206/e611f508/attachment.html>
More information about the LibreOffice
mailing list