edu.stanford.nlp.trees
Interface SentenceVisitor
- public interface SentenceVisitor
This is a simple interface for operations that are going to be applied
to a Sentence
. It typically is called iteratively over
sentences in a Sentencebank
- Author:
- Christopher Manning
visitSentence
public void visitSentence(Sentence s)
- Does whatever one needs to do to a particular sentence.
- Parameters:
s
- A sentence. Classes implementing this interface can assume
that the sentence passed in is not null
.
Stanford NLP Group