re-edit the NGramNode and NGramStore