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

Constructor Summary
FNSentence()
           
 
Method Summary
 void addLayer(FNLayer layer)
           
 FNLayer[] getLayers()
          return an array of the layers (one per target) of the sentence.
 Sentence getSentence()
           
 void setSentence(String origwords)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FNSentence

public FNSentence()
Method Detail

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