W dniu 14.08.2015 o 08:56, Dmitri Gabinski pisze:
> For reference: you can use Okapi CheckMate for such purposes. CheckMate
> can also engage LanguageTool to check spelling/grammar.

Well, for morphologically-rich languages, you cannot, as it would only 
check the base forms.

Turning a simple CSV into a PatternRule programmatically seems very easy 
and requires simple steps:

- read the CSV and get the terms;

- analyze the term; mostly it's adjective + noun, but sometimes it's a 
noun as a modifier + noun, which changes things a bit for some pairs;

- create a rule on the fly depending on the kind of term we're looking for.

The second step is required because for some languages, the rule would 
be for the first case an adjective in the form that is in accord with 
the noun, and for the second case, an inflected noun plus a number of 
uninflected nouns in the genetive case.

Basically, the analysis step might differ for different language pairs.

Regards,
Marcin

------------------------------------------------------------------------------
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to