Uses of Class
opennlp.tools.doccat.DocumentSample
-
Packages that use DocumentSample Package Description opennlp.tools.cmdline.doccat opennlp.tools.doccat Package for classifying a document into a category.opennlp.tools.formats Experimental package related to converting various corpora to OpenNLP Format. -
-
Uses of DocumentSample in opennlp.tools.cmdline.doccat
Methods in opennlp.tools.cmdline.doccat with parameters of type DocumentSample Modifier and Type Method Description voidDoccatFineGrainedReportListener. correctlyClassified(DocumentSample reference, DocumentSample prediction)voidDoccatEvaluationErrorListener. misclassified(DocumentSample reference, DocumentSample prediction)voidDoccatFineGrainedReportListener. misclassified(DocumentSample reference, DocumentSample prediction) -
Uses of DocumentSample in opennlp.tools.doccat
Methods in opennlp.tools.doccat that return DocumentSample Modifier and Type Method Description DocumentSampleDocumentCategorizerEvaluator. processSample(DocumentSample sample)Evaluates the given referencesample.DocumentSampleDocumentSampleStream. read()Methods in opennlp.tools.doccat with parameters of type DocumentSample Modifier and Type Method Description protected Iterator<Event>DocumentCategorizerEventStream. createEvents(DocumentSample sample)DocumentSampleDocumentCategorizerEvaluator. processSample(DocumentSample sample)Evaluates the given referencesample.Method parameters in opennlp.tools.doccat with type arguments of type DocumentSample Modifier and Type Method Description voidDoccatCrossValidator. evaluate(ObjectStream<DocumentSample> samples, int nFolds)Starts the evaluation.static DoccatModelDocumentCategorizerME. train(String lang, ObjectStream<DocumentSample> samples, TrainingParameters mlParams, DoccatFactory factory)Starts a training of aDoccatModelwith the given parameters.Constructor parameters in opennlp.tools.doccat with type arguments of type DocumentSample Constructor Description DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples)Initializes aDocumentCategorizerEventStreamvia samples.DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples, FeatureGenerator... featureGenerators)Initializes aDocumentCategorizerEventStreamvia samples andfeature generators. -
Uses of DocumentSample in opennlp.tools.formats
Methods in opennlp.tools.formats that return DocumentSample Modifier and Type Method Description DocumentSampleTwentyNewsgroupSampleStream. read()Methods in opennlp.tools.formats that return types with arguments of type DocumentSample Modifier and Type Method Description ObjectStream<DocumentSample>DocumentSampleStreamFactory. create(String[] args)ObjectStream<DocumentSample>TwentyNewsgroupSampleStreamFactory. create(String[] args)
-