public interface TermNGram extends Term
| Modifier and Type | Method and Description |
|---|---|
Term |
getTerm(int i)
Gets the i-th term in the n-gram.
|
int |
getTermCount()
Gets the number of terms in the n-gram.
|
java.util.List<Term> |
getTermList()
Gets the list of terms in the n-gram.
|
cloneint getTermCount()
Term getTerm(int i)
i - The zero-based index of the term to get.java.util.List<Term> getTermList()