NGramListExtensions<T> extension
Extension methods for creating n-grams from token lists.
- on
-
- List<
T>
- List<
Methods
-
createAllNGramCounts(
{int minN = 1, int maxN = 4}) → MatchCounter< NGram< T> > -
Available on List<
Creates aT> , provided by the NGramListExtensions extensionMatchCounterover all n-grams of sizesminN..maxN. -
createAllNGrams(
{int minN = 1, int maxN = 4}) → List< NGram< T> > -
Available on List<
Creates all n-grams of sizesT> , provided by the NGramListExtensions extensionminN..maxN(inclusive). -
createNGramCounts(
int n) → MatchCounter< NGram< T> > -
Available on List<
Creates aT> , provided by the NGramListExtensions extensionMatchCounterover all n-grams of sizen. -
createNGrams(
int n) → List< NGram< T> > -
Available on List<
Creates all n-grams of sizeT> , provided by the NGramListExtensions extensionnfrom this token list.