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.

Author:
Christopher Manning

Constructor Summary
SimpleSentenceReaderFactory()
           
 
Method Summary
 SentenceReader newSentenceReader(Reader in)
          The implementation of the SentenceReaderFactory interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSentenceReaderFactory

public SimpleSentenceReaderFactory()
Method Detail

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
Parameters:
in - The Reader to read sentences from.
Returns:
A SentenceReader that reads sentences.


Stanford NLP Group