private Stemmer stemmerFor(Language language, StemMode stemMode) {
        if (language == null || stemMode == StemMode.NONE) return null;
        if (language == Language.ENGLISH && ! snowballStemmingForEnglish ) return null;
        SnowballStemmer.ALGORITHM algorithm = algorithmFor(language);
        if (algorithm == null) return null;
        return new SnowballStemmer(algorithm);
    }
Chinese segmenter if we're segmenting Chinese
opennlp-linguistics/src/main/java/com/yahoo/language/opennlp/OpenNlpTokenizer.java