Java edu.stanford.nlp.ie AbstractSequenceClassifier fields, constructors, methods, implement or subclass

Example usage for Java edu.stanford.nlp.ie AbstractSequenceClassifier fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for edu.stanford.nlp.ie AbstractSequenceClassifier.

The text is from its open source code.

Method

List>classify(String str)
Classify the tokens in a String.
Listclassify(List document)
Classify a List of something that extends CoreMap .
voidclassifyAndWriteAnswersKBest(String testFile, int k, DocumentReaderAndWriter readerAndWriter)
Load a test file, run the classifier on it, and then print the answers to stdout (with timing to stderr).
List>classifyFile(String filename)
Classify the contents of a file.
List>classifyToCharacterOffsets(String sentences)
Classify the contents of a String to classified character offset spans.
StringclassifyToString(String sentences)
Classify the contents of a String to a tagged word/class String.
StringclassifyToString(String sentences, String outputFormat, boolean preserveSpacing)
Classify the contents of a String to one of several String representations that shows the classes.
StringclassifyWithInlineXML(String sentences)
Classify the contents of a String .
ObjectBank>makeObjectBankFromFile(String filename, DocumentReaderAndWriter readerAndWriter)
DocumentReaderAndWritermakePlainTextReaderAndWriter()
Makes a DocumentReaderAndWriter based on flags.plainTextReaderAndWriter.
DocumentReaderAndWritermakeReaderAndWriter()
Makes a DocumentReaderAndWriter based on the flags the CRFClassifier was constructed with.
voidprintProbs(String filename, DocumentReaderAndWriter readerAndWriter)
Takes the file, reads it in, and prints out the likelihood of each possible label at each point.
voidprintProbs(Collection testFiles, DocumentReaderAndWriter readerWriter)
Takes the files, reads them in, and prints out the likelihood of each possible label at each point.
voidserializeClassifier(String serializePath)
Serialize a sequence classifier to a file on the given path.
voidserializeClassifier(ObjectOutputStream oos)
Serialize a sequence classifier to an object output stream
voidtrain(String filename, DocumentReaderAndWriter readerAndWriter)
voidtrain(String[] trainFileList, DocumentReaderAndWriter readerAndWriter)
voidtrain(Collection> docs, DocumentReaderAndWriter readerAndWriter)
Trains a classifier from a Collection of sequences.