Example usage for edu.stanford.nlp.pipeline Annotator STANFORD_REGEXNER

List of usage examples for edu.stanford.nlp.pipeline Annotator STANFORD_REGEXNER

Introduction

In this page you can find the example usage for edu.stanford.nlp.pipeline Annotator STANFORD_REGEXNER.

Prototype

String STANFORD_REGEXNER

To view the source code for edu.stanford.nlp.pipeline Annotator STANFORD_REGEXNER.

Click Source Link

Usage

From source file:com.koalephant.nlp.RegexNERValidator.java

License:Open Source License

/**
 * Test the Mapping by invoking the NERAnnotator
 *
 * @param properties the properties object
 *//*www  . j  a  v a 2s. c  om*/
protected static void testMappings(Properties properties) {
    try {
        new TokensRegexNERAnnotator(Annotator.STANFORD_REGEXNER, properties);
    } catch (PatternSyntaxException exception) {
        System.err.println(exception.getLocalizedMessage());
        System.exit(1);
    }
}