iitb.Segment
Class AlphaNumericPreprocessor

java.lang.Object
  extended byiitb.Segment.Preprocessor
      extended byiitb.Segment.AlphaNumericPreprocessor

public class AlphaNumericPreprocessor
extends Preprocessor

Author:
Sunita Sarawagi

Field Summary
static java.lang.String DIGIT
           
 
Constructor Summary
AlphaNumericPreprocessor()
           
 
Method Summary
 int getCode()
           
static boolean isNumber(java.lang.String s)
           
static java.lang.String preprocess(java.lang.String s)
           
static TrainData preprocess(TrainData tokens, int numLabels)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIGIT

public static java.lang.String DIGIT
Constructor Detail

AlphaNumericPreprocessor

public AlphaNumericPreprocessor()
Method Detail

getCode

public int getCode()
Overrides:
getCode in class Preprocessor

preprocess

public static java.lang.String preprocess(java.lang.String s)

isNumber

public static boolean isNumber(java.lang.String s)

preprocess

public static TrainData preprocess(TrainData tokens,
                                   int numLabels)


Submit a bug or feature.