C# Класс Segmenter.Model.Criterion.CriterionShrederByWords

The criterion shreder by words.
Наследование: Criterion
Показать файл Открыть проект

Открытые методы

Метод Описание
CriterionShrederByWords ( ThresholdVariator threshold, double precision ) : Segmenter.Base.Collectors

Initializes a new instance of the CriterionShrederByWords class.

Distortion ( ComplexChain chain, FrequencyDictionary alphabet ) : double

The distortion.

State ( ComplexChain chain, FrequencyDictionary alphabet ) : bool

The state.

Описание методов

CriterionShrederByWords() публичный Метод

Initializes a new instance of the CriterionShrederByWords class.
public CriterionShrederByWords ( ThresholdVariator threshold, double precision ) : Segmenter.Base.Collectors
threshold Segmenter.Model.Threshold.ThresholdVariator /// A rule for handle a threshold value. ///
precision double /// The precision. ///
Результат Segmenter.Base.Collectors

Distortion() публичный Метод

The distortion.
public Distortion ( ComplexChain chain, FrequencyDictionary alphabet ) : double
chain Segmenter.Base.Sequences.ComplexChain /// The chain. ///
alphabet Segmenter.Base.Collectors.FrequencyDictionary /// The alphabet. ///
Результат double

State() публичный Метод

The state.
public State ( ComplexChain chain, FrequencyDictionary alphabet ) : bool
chain Segmenter.Base.Sequences.ComplexChain /// The chain. ///
alphabet Segmenter.Base.Collectors.FrequencyDictionary /// The alphabet. ///
Результат bool