changes for ngram compliance
tests fixed
Merge pull request #96 from giddyinc/master

ngram