getNGramInfo not yet done. have to fix it later