edu.umd.hooka
Class AlignmentWordPreprocessor

java.lang.Object
  extended by edu.umd.hooka.AlignmentWordPreprocessor

public abstract class AlignmentWordPreprocessor
extends Object

This class contains tokenizers for several languages. The method to tokenize a sentence is preprocessWordsImpl. The input is an array of Strings, generated by splitting the input sentence by space characters.

Author:
ferhanture

Constructor Summary
AlignmentWordPreprocessor()
           
 
Method Summary
static AlignmentWordPreprocessor CreatePreprocessor(LanguagePair lp, Language l, Configuration conf)
           
 String[] preprocessWordsForAlignment(String[] arg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlignmentWordPreprocessor

public AlignmentWordPreprocessor()
Method Detail

preprocessWordsForAlignment

public final String[] preprocessWordsForAlignment(String[] arg)

CreatePreprocessor

public static AlignmentWordPreprocessor CreatePreprocessor(LanguagePair lp,
                                                           Language l,
                                                           Configuration conf)