2015-12-25 12:00 GMT+01:00 Daniel Naber <daniel.na...@languagetool.org>:

> On 2015-12-25 11:20, Jaume Ortolà i Font wrote:
>
> > Thanks, it works for me now. And what about the other problem? Words
> > like "elapé" or "macroprocés" are marked as errors only in the web
> > editor, but not in the http API or the command-line.
>
> If by 'web editor' you mean the textarea on languagetool.org, it uses
> the http API. But there are three language codes for Catalan that
> produce different results:
>
> ca
> ca-ES (used on languagetool.org)
> ca-ES-valencia (used on languagetool.org)
>
> If using only "ca" isn't useful, we should deprecate the constructor,
> see recent thread "alternative to language constructor".


Daniel,

I will take a look at it.

But there is something else here. The words "elapé" and "megaprocés" should
not be errors with any language code. Running the current daily build
(build date: 2015-12-24 22:01) on my computer, I get no errors with these
words in server mode and no errors in the command-line. Yet there are
errors (false alarms) in languagetool.org with code "ca-ES", but not with
code "ca". The results are the same in the text area and in the http API,
that's true.

The problem is caused probably by an old file that was removed from the
project, but remains in the server installation used in languagetool.org.

These folders (it they exist) and anything inside them should be removed:

/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/ca-ES/
/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/ca-ES-valencia/

So it looks like this:
https://github.com/languagetool-org/languagetool/tree/master/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca

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

Reply via email to