List of usage examples for opennlp.tools.namefind TokenNameFinderModel getLanguage
public final String getLanguage()
From source file:org.apache.stanbol.enhancer.engines.opennlp.impl.NEREngineCore.java
protected Collection<String> extractNames(TokenNameFinderModel nameFinderModel, String text) { return extractNameOccurrences(nameFinderModel, text, nameFinderModel.getLanguage()).keySet(); }