opennlp.tools.formats
Class NameToSentenceSampleStream
java.lang.Object
opennlp.tools.util.FilterObjectStream<T,SentenceSample>
opennlp.tools.formats.AbstractToSentenceSampleStream<NameSample>
opennlp.tools.formats.NameToSentenceSampleStream
- All Implemented Interfaces:
- ObjectStream<SentenceSample>
public class NameToSentenceSampleStream
- extends AbstractToSentenceSampleStream<NameSample>
Note: Do not use this class, internal use only!
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameToSentenceSampleStream
public NameToSentenceSampleStream(Detokenizer detokenizer,
ObjectStream<NameSample> samples,
int chunkSize)
toSentence
protected String[] toSentence(NameSample sample)
- Specified by:
toSentence
in class AbstractToSentenceSampleStream<NameSample>
Copyright © 2010. All Rights Reserved.