[PATCH-3-5] fdo#35270 - kill first-use grammar checker freeze ...
Daniel Naber
naber at danielnaber.de
Mon May 21 15:11:05 PDT 2012
On Montag, 21. Mai 2012, Olivier R. wrote:
Hello Olivier,
> The differences look imho more technical than philosophical, even if
> there are specific features in both of them.
thanks for your explanations of the LT/Lightproof differences.
> Another solution might be to tag Hunspell dictionaries with
> LT tags, but all Hunspell dictionaries were probably not conceived with
> grammar checking in mind, and that’s probably more a dream than a
> doable solution.
Yes, the difficulty comes from the flags used in hunspell. If a hunspell
dictionary was just a long list of words without flags, one could easily add
the tags from LT to each word.
> 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.
If we could work together more closely that would be great. As you know,
each rule in LT has an id so it can be identified. Maybe that id could be
used to keep track of similar rules. Does LightProof also have integrated
test sentences? Then LT could use them to see what rules are missing in LT
and vice-versa.
Regards
Daniel
--
http://www.danielnaber.de
More information about the LibreOffice
mailing list