|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sen.compiler.IpadicPreprocessor
public class IpadicPreprocessor
Preprocesses an unpacked Ipadic dictionary into the CSV form used for compilation
| Constructor Summary | |
|---|---|
IpadicPreprocessor(String charset,
String inputDirectory)
Creates a new preprocessor for the unpacked dictionary in the given directory |
|
| Method Summary | |
|---|---|
void |
build(String outputDirectory)
Preprocesses the dictionary |
void |
buildConnectionCSV(String outputFilename)
Builds a connection CSV file from an unpacked ipadic |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IpadicPreprocessor(String charset,
String inputDirectory)
charset - The charset used to read the dictionaryinputDirectory - The directory of the unpacked dictionary| Method Detail |
|---|
public void buildConnectionCSV(String outputFilename)
throws UnsupportedEncodingException,
FileNotFoundException,
IOException
outputFilename - The output filename for the connection CSV file
UnsupportedEncodingException
FileNotFoundException
IOException
public void build(String outputDirectory)
throws IOException
outputDirectory - The directory to write the preprocessed dictionary to
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||