NGramRange class

Enumerates a range of N-gram sizes (minimum and maximum length).

An n-gram is (sometimes also called Q-gram) is a contiguous sequence of n items from a given sample of text or speech. The items can be phonemes, syllables, letters, words or base pairs according to the application.

The n-grams typically are collected from a text or speech corpus. When the items are words, n-grams may also be called shingles (from Wikipedia).

Constructors

NGramRange(int min, int max)
Default const generative constructor.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
max int
The maximum number of terms in the n-gram
final
min int
The minimum number of terms in the n-gram
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override