Package opennlp.tools.formats
Class AbstractSampleStreamFactory<T>
- java.lang.Object
-
- opennlp.tools.formats.AbstractSampleStreamFactory<T>
-
- All Implemented Interfaces:
opennlp.tools.cmdline.ObjectStreamFactory<T>
- Direct Known Subclasses:
BioNLP2004NameSampleStreamFactory
,BratNameSampleStreamFactory
,ChunkerSampleStreamFactory
,ConlluLemmaSampleStreamFactory
,ConlluPOSSampleStreamFactory
,ConlluSentenceSampleStreamFactory
,ConlluTokenSampleStreamFactory
,ConllXPOSSampleStreamFactory
,ConstitParseSampleStreamFactory
,DetokenizerSampleStreamFactory
,DocumentSampleStreamFactory
,IrishSentenceBankSentenceStreamFactory
,LanguageDetectorSampleStreamFactory
,LanguageSampleStreamFactory
,LeipzigLanguageSampleStreamFactory
,LemmatizerSampleStreamFactory
,LetsmtSentenceStreamFactory
,MascNamedEntitySampleStreamFactory
,MascPOSSampleStreamFactory
,MascSentenceSampleStreamFactory
,MascTokenSampleStreamFactory
,MosesSentenceSampleStreamFactory
,Muc6NameSampleStreamFactory
,NameSampleDataStreamFactory
,NKJPSentenceSampleStreamFactory
,OntoNotesNameSampleStreamFactory
,OntoNotesParseSampleStreamFactory
,OntoNotesPOSSampleStreamFactory
,ParseSampleStreamFactory
,SentenceSampleStreamFactory
,TwentyNewsgroupSampleStreamFactory
,WordTagSampleStreamFactory
public abstract class AbstractSampleStreamFactory<T> extends Object implements opennlp.tools.cmdline.ObjectStreamFactory<T>
Base class for sample stream factories.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLang()
<P> Class<P>
getParameters()
Returns interface with parameters description.
-
-
-
Method Detail
-
getLang
public String getLang()
-
getParameters
public <P> Class<P> getParameters()
Description copied from interface:opennlp.tools.cmdline.ObjectStreamFactory
Returns interface with parameters description.- Specified by:
getParameters
in interfaceopennlp.tools.cmdline.ObjectStreamFactory<T>
- Type Parameters:
P
- interfaces which describes the parameters.- Returns:
- interface with parameters description
-
-