Search in sources :

Example 1 with Env

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;
}
Also used : Env(edu.stanford.nlp.ling.tokensregex.Env)

Aggregations

Env (edu.stanford.nlp.ling.tokensregex.Env)1