Example usage for edu.stanford.nlp.ie AbstractSequenceClassifier classifyToString

List of usage examples for edu.stanford.nlp.ie AbstractSequenceClassifier classifyToString

Introduction

In this page you can find the example usage for edu.stanford.nlp.ie AbstractSequenceClassifier classifyToString.

Prototype

public String classifyToString(String sentences, String outputFormat, boolean preserveSpacing) 

Source Link

Document

Classify the contents of a String to one of several String representations that shows the classes.

Usage

From source file:kickupper.NER.java

private String myEntityRecognition(AbstractSequenceClassifier<?> classifier, String inText) {
    String htmlString = classifier.classifyToString(inText, "inlineXML", true);
    return htmlString;
}