opennlp.tools.formats
Class NameToSentenceSampleStream

java.lang.Object
  extended by opennlp.tools.util.FilterObjectStream<T,SentenceSample>
      extended by opennlp.tools.formats.AbstractToSentenceSampleStream<NameSample>
          extended by opennlp.tools.formats.NameToSentenceSampleStream
All Implemented Interfaces:
ObjectStream<SentenceSample>

public class NameToSentenceSampleStream
extends AbstractToSentenceSampleStream<NameSample>

Note: Do not use this class, internal use only!


Field Summary
 
Fields inherited from class opennlp.tools.util.FilterObjectStream
samples
 
Constructor Summary
NameToSentenceSampleStream(Detokenizer detokenizer, ObjectStream<NameSample> samples, int chunkSize)
           
 
Method Summary
protected  String[] toSentence(NameSample sample)
           
 
Methods inherited from class opennlp.tools.formats.AbstractToSentenceSampleStream
read
 
Methods inherited from class opennlp.tools.util.FilterObjectStream
close, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameToSentenceSampleStream

public NameToSentenceSampleStream(Detokenizer detokenizer,
                                  ObjectStream<NameSample> samples,
                                  int chunkSize)
Method Detail

toSentence

protected String[] toSentence(NameSample sample)
Specified by:
toSentence in class AbstractToSentenceSampleStream<NameSample>


Copyright © 2010. All Rights Reserved.