/** This factory method is used to create the NERClassifierCombiner used in NERCombinerAnnotator * (and, thence, in StanfordCoreNLP). * * @param name A "x.y" format property name prefix (the "x" part). This is commonly null, * and then "ner" is used. If it is the empty string, then no property prefix is used. * @param properties Various properties, including a list in "ner.model". * The used ones start with name + "." or are in passDownProperties * @return An NERClassifierCombiner with the given properties */ public static NERClassifierCombiner createNERClassifierCombiner(String name, Properties properties) { return createNERClassifierCombiner(name, DEFAULT_PASS_DOWN_PROPERTIES, properties); }
} else { ncc = createNERClassifierCombiner("ner", null, props);
/** This factory method is used to create the NERClassifierCombiner used in NERCombinerAnnotator * (and, thence, in StanfordCoreNLP). * * @param name A "x.y" format property name prefix (the "x" part). This is commonly null, * and then "ner" is used. If it is the empty string, then no property prefix is used. * @param properties Various properties, including a list in "ner.model". * The used ones start with name + "." or are in passDownProperties * @return An NERClassifierCombiner with the given properties */ public static NERClassifierCombiner createNERClassifierCombiner(String name, Properties properties) { return createNERClassifierCombiner(name, DEFAULT_PASS_DOWN_PROPERTIES, properties); }
} else { ncc = createNERClassifierCombiner("ner", null, props);