org.cogroo.entities.tree
Class Leaf

java.lang.Object
  extended by org.cogroo.entities.tree.TreeElement
      extended by org.cogroo.entities.tree.Leaf
Direct Known Subclasses:
TextModel.Token

public class Leaf
extends TreeElement


Constructor Summary
Leaf()
           
 
Method Summary
 String getFeatures()
           
 String[] getLemma()
           
 String getLexeme()
           
 void setFeatures(String features)
           
 void setIsChunkHead(boolean value)
           
 void setLemma(String[] lemma)
           
 void setLexeme(String lexeme)
           
 String toString()
           
 String toSyntaxTree()
           
 
Methods inherited from class org.cogroo.entities.tree.TreeElement
getLevel, getMorphologicalTag, getSyntacticTag, setLevel, setMorphologicalTag, setSyntacticTag
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Leaf

public Leaf()
Method Detail

setLexeme

public void setLexeme(String lexeme)

setIsChunkHead

public void setIsChunkHead(boolean value)

getLexeme

public String getLexeme()

toString

public String toString()
Overrides:
toString in class Object

setLemma

public void setLemma(String[] lemma)

getLemma

public String[] getLemma()

toSyntaxTree

public String toSyntaxTree()
Specified by:
toSyntaxTree in class TreeElement

getFeatures

public String getFeatures()

setFeatures

public void setFeatures(String features)


Copyright © 2012-2013 CoGrOO. All Rights Reserved.