List of usage examples for edu.stanford.nlp.pipeline Annotator STANFORD_REGEXNER
String STANFORD_REGEXNER
To view the source code for edu.stanford.nlp.pipeline Annotator STANFORD_REGEXNER.
Click Source Link
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); } }