NgramIter becomes an iterface.
A subcommand "build" just count the frequencies of words appeared in the training corpora.