WordBagEstimator.Options Class

Definition

Options for how the n-grams are extracted.

public class WordBagEstimator.Options
type WordBagEstimator.Options = class
Public Class WordBagEstimator.Options
Inheritance
WordBagEstimator.Options

Constructors

WordBagEstimator.Options()

Fields

MaximumNgramsCount

The maximum number of grams to store in the dictionary, for each level of n-grams, from 1 (in position 0) up to ngramLength (in position ngramLength-1)

NgramLength

Maximum n-gram length.

SkipLength

Maximum number of tokens to skip when constructing an n-gram.

UseAllLengths

Whether to store all n-gram lengths up to ngramLength, or only ngramLength.

Weighting

The weighting criteria.

Applies to