2016-05-11 7 views
1

言語ツールのスペルチェックツールで使用するフランス語辞書を作成しようとしています。 コード自体が作成しているようですが、自分のフォルダに.dictファイルが見つからないため、私のケースではありません。 あなたが私を助けてくれることを願ってください。多分Javaコードの誤った使い方かもしれません。言語ツールで辞書を作成する

java -cp languagetool.jar org.languagetool.tools.SpellDictionaryBuilder fr_FR -i C:/Users/KP/Desktop/LanguageTool/french_dict.txt -info org/languagetool/resource/fr/french.info -o C:/Users/KP/Desktop/LanguageTool/output.dict 

    Running Morfologik FSACompile.main with these options: [--exit, false, -i, C:\Users\KP\AppData\Local\Temp\SpellDictionaryBuilder257816875475185246.txt, -o, C:\Users\KP\Desktop\LanguageTool\output.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 C:\Users\KP\Desktop\LanguageTool\output.dict 

答えて

関連する問題