class Tokenizer {

    public static Set<String> calculateCharNGrams(String string, int n) {
        Iterator<Token> nGramIterator = new CharacterNGramTokenizer(n, n).iterateTokens(string);
        return CollectionHelper.newHashSet(CollectionHelper.convert(nGramIterator, Token.VALUE_CONVERTER));
    }

    private  Tokenizer();

}