use of edu.stanford.nlp.ling.tokensregex.Env in project CoreNLP by stanfordnlp.
the class NumberNormalizer method getNewEnv.
public static Env getNewEnv() {
Env env = TokenSequencePattern.getNewEnv();
// Do case insensitive matching
env.setDefaultStringPatternFlags(Pattern.CASE_INSENSITIVE);
initEnv(env);
return env;
}
Aggregations