net.java.sen.compiler
クラス IpadicPreprocessor

java.lang.Object
  上位を拡張 net.java.sen.compiler.IpadicPreprocessor

public class IpadicPreprocessor
extends java.lang.Object

Preprocesses an unpacked Ipadic dictionary into the CSV form used for compilation


コンストラクタの概要
IpadicPreprocessor(java.lang.String charset, java.lang.String inputDirectory)
          Creates a new preprocessor for the unpacked dictionary in the given directory
 
メソッドの概要
 void build(java.lang.String outputDirectory)
          Preprocesses the dictionary
 void buildConnectionCSV(java.lang.String outputFilename)
          Builds a connection CSV file from an unpacked ipadic
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

IpadicPreprocessor

public IpadicPreprocessor(java.lang.String charset,
                          java.lang.String inputDirectory)
Creates a new preprocessor for the unpacked dictionary in the given directory

パラメータ:
charset - The charset used to read the dictionary
inputDirectory - The directory of the unpacked dictionary
メソッドの詳細

buildConnectionCSV

public void buildConnectionCSV(java.lang.String outputFilename)
                        throws java.io.UnsupportedEncodingException,
                               java.io.FileNotFoundException,
                               java.io.IOException
Builds a connection CSV file from an unpacked ipadic

パラメータ:
outputFilename - The output filename for the connection CSV file
例外:
java.io.UnsupportedEncodingException
java.io.FileNotFoundException
java.io.IOException

build

public void build(java.lang.String outputDirectory)
           throws java.io.IOException
Preprocesses the dictionary

パラメータ:
outputDirectory - The directory to write the preprocessed dictionary to
例外:
java.io.IOException


Copyright ? 2008. All Rights Reserved.