pseudo code map reduce
ngram count can return hash
add Document frequency to model