Метод | Описание | |
---|---|---|
BayesianClassifier ( ) : System | ||
BayesianClassifier ( IWordsDataSource wd ) : System | ||
BayesianClassifier ( IWordsDataSource wd, ITokenizer tokenizer ) : System | ||
BayesianClassifier ( IWordsDataSource wd, ITokenizer tokenizer, IStopWordProvider swp ) : System | ||
CalculateOverallProbability ( |
||
Classify ( string input ) : double | ||
Classify ( string category, string input ) : double | ||
IsMatch ( string category, string input ) : bool | ||
NormalizeSignificance ( double sig ) : double | ||
TeachMatch ( string input ) : void | ||
TeachMatch ( string category, string input ) : void | ||
TeachNonMatch ( string input ) : void | ||
TeachNonMatch ( string category, string input ) : void | ||
TransformWord ( string word ) : string |
Allows transformations to be done to the given word.
|
Метод | Описание | |
---|---|---|
CalcWordsProbability ( string category, string words ) : NClassifier.Bayesian.WordProbability[] | ||
CheckCategoriesSupported ( string category ) : void | ||
IsClassifiableWord ( string word ) : bool |
public BayesianClassifier ( IWordsDataSource wd ) : System | ||
wd | IWordsDataSource | |
Результат | System |
public BayesianClassifier ( IWordsDataSource wd, ITokenizer tokenizer ) : System | ||
wd | IWordsDataSource | |
tokenizer | ITokenizer | |
Результат | System |
public BayesianClassifier ( IWordsDataSource wd, ITokenizer tokenizer, IStopWordProvider swp ) : System | ||
wd | IWordsDataSource | |
tokenizer | ITokenizer | |
swp | IStopWordProvider | |
Результат | System |
public CalculateOverallProbability ( |
||
wps | ||
Результат | double |
public Classify ( string category, string input ) : double | ||
category | string | |
input | string | |
Результат | double |
public IsMatch ( string category, string input ) : bool | ||
category | string | |
input | string | |
Результат | bool |
public static NormalizeSignificance ( double sig ) : double | ||
sig | double | |
Результат | double |
public TeachMatch ( string category, string input ) : void | ||
category | string | |
input | string | |
Результат | void |
public TeachNonMatch ( string input ) : void | ||
input | string | |
Результат | void |
public TeachNonMatch ( string category, string input ) : void | ||
category | string | |
input | string | |
Результат | void |
public TransformWord ( string word ) : string | ||
word | string | The word to transform. |
Результат | string |