List of usage examples for edu.stanford.nlp.pipeline TrueCaseAnnotator DEFAULT_MODEL_BIAS
String DEFAULT_MODEL_BIAS
To view the source code for edu.stanford.nlp.pipeline TrueCaseAnnotator DEFAULT_MODEL_BIAS.
Click Source Link
From source file:edu.illinois.cs.cogcomp.pipeline.handlers.StanfordTrueCaseHandler.java
License:Open Source License
@Override public void initialize(ResourceManager rm) { Properties props = new Properties(); props.put("annotators", "tokenize, ssplit, pos, lemma, truecase"); props.put("truecase.model", DefaultPaths.DEFAULT_TRUECASE_MODEL); props.put("truecase.bias", TrueCaseAnnotator.DEFAULT_MODEL_BIAS); props.put("truecase.mixedcasefile", DefaultPaths.DEFAULT_TRUECASE_DISAMBIGUATION_LIST); this.pipeline = new StanfordCoreNLP(props); }