Class CharCategory

java.lang.Object
net.reduls.igo.dictionary.build.CharCategory

public final class CharCategory extends Object
文字カテゴリ定義を保持したバイナリデータを作成するクラス
  • Field Details

  • Constructor Details

    • CharCategory

      public CharCategory(String inputDir, String encoding, String outputDir)
      コンストラクタ
      Parameters:
      inputDir - テキスト辞書が配置されているディレクトリのパス
      encoding - テキスト辞書の文字列エンコーディング
      outputDir - バイナリ辞書の保存先ディレクトリ
  • Method Details

    • build

      public void build() throws ParseException, IOException
      文字カテゴリ定義のバイナリデータを作成する
      Throws:
      ParseException - テキスト辞書のパースに失敗した場合に送出される
      IOException - 入出力エラーが発生した場合に送出される