src/main/java/eu/digitisation/ngram/NgramModel.java
protected void addEntries(String s, int n) {
        if (occur.containsKey(s)) {
            occur.get(s).add(n);
        } else {
            occur.put(s, new Int(n));
        }
    }
/**
     * Increments number of occurrences of s.
     *
     * @param s a k-gram.
     * @param n number of occurrences
     */
Increments number of occurrences of s.
@param s a k-gram.
@param n number of occurrences
Increments number of occurrences of s . @param s a k - gram . @param n number of occurrences
protected void addEntries(String s, int n) {
        if (occur.containsKey(s)) {
            occur.get(s).add(n);
        } else {
            occur.put(s, new Int(n));
        }
    }
protected void addEntries ( String s , int n ) { if ( occur . containsKey ( s ) ) { occur . get ( s ) . add ( n ) ; } else { occur . put ( s , new Int ( n ) ) ; } }
Increments number of occurrences of s.
 @param s a k-gram.
Increments number of occurrences of s . @param s a k - gram .