public boolean equals(Object obj) {
            if (!(obj instanceof NGramEntry)) {
                return false;
            }
            NGramEntry ngram = (NGramEntry) obj;
            return ngram.seq.equals(seq);
        }
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