Create "NgramIterator". It will be used to iterate all N-grams.
"NgramIterator" is used to iterate all N-grams.
Fix: "(*NgramIterator).Iterate" reads the next word by calling "(*Scanner).Text".
Fix: "(*NgramIterator).Iterate" shifts words before reading the next word by calling "(*Scanner).Text".
Build a predictor from word-segmented text.
Merge branch 'feature/build-predictor'