| Constructor and Description |
|---|
NgramIterator(String[] tokens,
int n)
Creates a new N-gram iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
String |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic NgramIterator(String[] tokens, int n)
tokens - The tokens.n - The size of the n-grams.Copyright © 2018. All rights reserved.