org.cogroo.entities.impl
Class TokenCogroo
java.lang.Object
org.cogroo.entities.Token
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
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 |
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)
setLexeme
public void setLexeme(String lexeme)
- Specified by:
setLexeme
in class Token
Copyright © 2012-2013 CoGrOO. All Rights Reserved.