Re: Spell dictionary building error

2016-06-13 Thread Juan Martorell
Thank you Daniel.

I also bypassed the

 hunspell -d $DIC_NO_SUFFIX -G -l

code at create_dict.sh because it returned no output to me.

On 10 June 2016 at 20:53, Daniel Naber 
wrote:

> On 2016-06-10 17:30, Juan Martorell wrote:
>
> > Invalid argument: Unknown option: --overwrite
>
> I've removed this option from the command we call, maybe that was enough
> (I don't have time for real testing), could you try again?
>
> Regards
>   Daniel
>
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Spell dictionary building error

2016-06-10 Thread Juan Martorell
Hi all,

I'm trying to  try to refresh the Spanish huspell dictionary following our
wiki page http://wiki.languagetool.org/hunspell-support.

No luck and I tried to figure it out from the code at
https://github.com/languagetool-org/languagetool/blob/master/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/create_dict.sh

However when I run

java -cp ../../languagetool-tools.jar
org.languagetool.tools.SpellDictionaryBuilder \
  -i dict.dump \
  -info es_ES.info \
  -o es_ES.dict

I get the following:

(...)
stable 66 num is 66 flag
parsed in 22 prefixes and 67 suffixes
Running Morfologik FSACompile.main with these options: [--exit, false, -i,
/tmp/SpellDictionaryBuilder5244641332968455.txt, -o, es_ES.dict, -f, CFSA2,
--overwrite]
Invalid argument: Unknown option: --overwrite

Usage: fsa_compile [options]
  Options:
--accept-bom
   Accept leading BOM bytes (UTF-8).
   Default: false
--accept-cr
   Accept CR bytes in input sequences (\r).
   Default: false
-f, --format
   Automaton serialization format.
   Default: FSA5
   Possible Values: [FSA5, CFSA2]
--ignore-empty
   Ignore empty lines in the input.
   Default: false
  * -i, --input
   The input sequences (one sequence per \n-delimited line).
  * -o, --output
   The output automaton file.
Done. The binary dictionary has been written to
/home/thor/dev/lt/lab/dict/lo5132/es_ES.dict
[thor@arch-top lo5132]$ ls -lh es_ES.dict
-rw-r--r-- 1 thor wheel 12 Jun 10 17:12 es_ES.dict
[thor@arch-top lo5132]$

what means that no dictionary data is gathered. The dict.dump file has data
(a plain list of words). I would appreciate that someone update the wiki
and, please Daniel check your batch dictionary builder just in case.

Best regards,
Juan
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel