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

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

Introduction

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

The text is from its open source code.

Constructor

Method

Listclassify(List document)
CRFClassifiergetClassifier(File file)
Loads a CRF classifier from a filepath, and returns it.
CRFClassifiergetClassifier(InputStream in)
Loads a CRF classifier from an InputStream, and returns it.
CRFClassifiergetClassifier(ObjectInputStream ois)
CRFClassifiergetClassifier(String loadPath)
CRFClassifiergetClassifier(String loadPath, Properties props)
CRFClassifiergetClassifier(ObjectInputStream ois, Properties props)
CRFClassifiergetClassifierNoExceptions(String loadPath)
CRFClassifiergetDefaultClassifier()
Used to get the default supplied classifier inside the jar file.
voidloadDefaultClassifier()
This is used to load the default supplied classifier stored within the jar file.
voidloadTextClassifier(String text, Properties props)
voidmain(String[] args)
The main method.
voidprintFirstOrderProbs(String filename, DocumentReaderAndWriter readerAndWriter)
Takes the file, reads it in, and prints out the likelihood of each possible label at each point.
voidprintLabelInformation(String testFile, DocumentReaderAndWriter readerAndWriter)
voidserializeClassifier(String serializePath)
voidserializeClassifier(ObjectOutputStream oos)
Serialize the classifier to the given ObjectOutputStream.
voidserializeTextClassifier(PrintWriter pw)
voidserializeTextClassifier(String serializePath)
Serialize the model to a human readable format.
voidtrain(Collection> objectBankWrapper, DocumentReaderAndWriter readerAndWriter)