edu.stanford.nlp.trees
Class SimpleSentenceReaderFactory
java.lang.Object
|
+--edu.stanford.nlp.trees.SimpleSentenceReaderFactory
- All Implemented Interfaces:
- SentenceReaderFactory
- public class SimpleSentenceReaderFactory
- extends Object
- implements SentenceReaderFactory
This class implements a simple default SentenceReaderFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSentenceReaderFactory
public SimpleSentenceReaderFactory()
newSentenceReader
public SentenceReader newSentenceReader(Reader in)
- The implementation of the
SentenceReaderFactory
interface.
It creates a simple SentenceReader
which literally
reproduces sentences in the sentencebank.
- Specified by:
newSentenceReader
in interface SentenceReaderFactory
Stanford NLP Group