sg.edu.nus.comp.nlp.ims.util
Class CWordNetLemmatizer

java.lang.Object
  extended by sg.edu.nus.comp.nlp.ims.util.CWordNetLemmatizer
All Implemented Interfaces:
ILemmatizer

public class CWordNetLemmatizer
extends java.lang.Object
implements ILemmatizer

wordnet lemmatizer

Author:
zhongzhi

Field Summary
protected  java.util.regex.Pattern m_AlphabeticPattern
           
protected  java.util.regex.Pattern m_DelimiterPattern
           
protected  java.util.regex.Pattern m_EfficientPattern
           
 
Constructor Summary
CWordNetLemmatizer()
          constructor
 
Method Summary
 java.lang.String getLexelt(java.lang.String[] input)
          get the lexelt of input
 java.lang.String guessLexelt(java.lang.String[] input)
          guess lexelt of input
 java.lang.String lemmatize(java.lang.String[] input)
          lemmatize the input
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_EfficientPattern

protected java.util.regex.Pattern m_EfficientPattern

m_AlphabeticPattern

protected java.util.regex.Pattern m_AlphabeticPattern

m_DelimiterPattern

protected java.util.regex.Pattern m_DelimiterPattern
Constructor Detail

CWordNetLemmatizer

public CWordNetLemmatizer()
constructor

Method Detail

lemmatize

public java.lang.String lemmatize(java.lang.String[] input)
Description copied from interface: ILemmatizer
lemmatize the input

Specified by:
lemmatize in interface ILemmatizer
Parameters:
input - input information
Returns:
lemma

guessLexelt

public java.lang.String guessLexelt(java.lang.String[] input)
Description copied from interface: ILemmatizer
guess lexelt of input

Specified by:
guessLexelt in interface ILemmatizer
Parameters:
input - input
Returns:
lexelt

getLexelt

public java.lang.String getLexelt(java.lang.String[] input)
Description copied from interface: ILemmatizer
get the lexelt of input

Specified by:
getLexelt in interface ILemmatizer
Parameters:
input - input
Returns:
lexelt