Daniel Naber <daniel.na...@languagetool.org> wrote:

> On 2014-07-11 22:43, Dominique Pellé wrote:
>
> > 1/ Why does the above command create files in /tmp rather than
> > providing command line options to specify the outputs?
>
> There's no specific reason that I can remember. Feel free to change the
> command.
>
> > 2/ LanguageTool source tree contains *.sh and *.pl scripts to
> > create  dictionaries for several languages.  But why do none
> > of them use the java program
> > org.languagetool.dev.SynthDictionaryBuilder
> >  to build the synthesizer dictionaries?
>
> These scripts are older than the Java command, i.e. the Java command was
> supposed to replace the scripts. But as I don't know all the languages,
> I could not test it properly. But maybe we should indeed simply delete
> all the script to force people to use the Java command?
>

OK.  It would help if at least one language provided
such a script as an example.  German script
./languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/make-dict-de.sh
does not create a synthesizer dictionary, yet
German has a synthesizer dictionary.  Hint... :-)

Anyway, I just added the French synthesizer,
there is now one example:

languagetool-language-modules/fr/src/main/resources/org/languagetool/resource/fr/create-lexicon.sh

I did not change the Java program which writes output
to /tmp/. but it would be good to improve that.

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

Reply via email to