edu.stanford.nlp.framenet
Class FNSentence
java.lang.Object
|
+--edu.stanford.nlp.framenet.FNSentence
- public class FNSentence
- extends Object
A FrameNet sentence. A Sentence of words, and a Collection of
annotation layers on that sentence, where one layer of annotation
corresponds to one annotation target
- Author:
- Roger Levy, Cindi Thompson
FNSentence
public FNSentence()
getSentence
public Sentence getSentence()
setSentence
public void setSentence(String origwords)
getLayers
public FNLayer[] getLayers()
- return an array of the layers (one per target) of the sentence.
addLayer
public void addLayer(FNLayer layer)
toString
public String toString()
- Overrides:
toString
in class Object