org.cogroo.entities.impl
Class TokenCogroo

java.lang.Object
  extended by org.cogroo.entities.Token
      extended by org.cogroo.entities.impl.TokenCogroo
All Implemented Interfaces:
Serializable

public class TokenCogroo
extends Token

Extend Token to make it mutable. Should remove this.

Author:
William Colen
See Also:
Serialized Form

Constructor Summary
TokenCogroo(opennlp.tools.util.Span span)
           
TokenCogroo(String token, int start)
           
TokenCogroo(String lexeme, opennlp.tools.util.Span span)
           
 
Method Summary
 void setLexeme(String lexeme)
           
 
Methods inherited from class org.cogroo.entities.Token
equals, getChunk, getChunkTag, getLexeme, getLexemeType, getMorphologicalTag, getPrimitive, getSpan, getSyntacticChunk, getSyntacticTag, hashCode, setChunk, setChunkTag, setMorphologicalTag, setPrimitive, setSpan, setSyntacticChunk, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TokenCogroo

public TokenCogroo(opennlp.tools.util.Span span)

TokenCogroo

public TokenCogroo(String lexeme,
                   opennlp.tools.util.Span span)

TokenCogroo

public TokenCogroo(String token,
                   int start)
Method Detail

setLexeme

public void setLexeme(String lexeme)
Specified by:
setLexeme in class Token


Copyright © 2012-2013 CoGrOO. All Rights Reserved.