public void add(String ngram) {
        add(ngram, 1);
    }
Adds a single occurrence of the given ngram to this profile.

@param ngram the ngram
tika-langdetect/tika-langdetect-tika/src/main/java/org/apache/tika/langdetect/tika/LanguageProfile.java