public CharSequence subSequence(int start, int end) {
            return new String(value, start, end - start);
        }
Associated a profile to this ngram

@param profile is the profile associated to this ngram
tika-langdetect/tika-langdetect-tika/src/main/java/org/apache/tika/langdetect/tika/LanguageProfilerBuilder.java