net.java.sen.tools
Class CompoundWordTableCompiler

java.lang.Object
  extended by net.java.sen.tools.CompoundWordTableCompiler

public class CompoundWordTableCompiler
extends Object

Compiles a table for the CompoundWordFilter


Constructor Summary
CompoundWordTableCompiler()
           
 
Method Summary
static void buildTable(BufferedReader reader, int partOfSpeechStart, int partOfSpeechSize, String tableFilename)
          Builds a compound word table
static void main(String[] args)
          Main method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundWordTableCompiler

public CompoundWordTableCompiler()
Method Detail

buildTable

public static void buildTable(BufferedReader reader,
                              int partOfSpeechStart,
                              int partOfSpeechSize,
                              String tableFilename)
                       throws IOException
Builds a compound word table

Parameters:
reader - The input compound word data
partOfSpeechStart - The start of the part-of-speech data within the CSV
partOfSpeechSize - The number of elements of part-of-speech data within the CSV
tableFilename - The filename for the compiled table
Throws:
IOException

main

public static void main(String[] args)
Main method

Parameters:
args - Ignored


Copyright © 2012. All Rights Reserved.