List of usage examples for edu.stanford.nlp.pipeline NERCombinerAnnotator NERCombinerAnnotator
public NERCombinerAnnotator(NERClassifierCombiner ner, boolean verbose)
From source file:org.ets.research.nlp.stanford_thrift.ner.StanfordNERThrift.java
License:Open Source License
public StanfordNERThrift(List<String> nerModels) { try {/*w ww . ja v a2 s. c o m*/ String[] models = new String[nerModels.size()]; nerModels.toArray(models); ner = new NERCombinerAnnotator(false, models); } catch (Exception e) { // TODO e.printStackTrace(); } }