Method | Description | |
---|---|---|
Add ( string category, IEnumerable |
Adds phrases to a category.
|
|
Add ( string category, string phrase ) : void |
Adds a phrase to a category.
|
|
AddCategory ( string name, int>.Dictionary |
Adds a new category, replacing an existing one if necessary.
|
|
Classify ( IEnumerable |
Classifies the given list, and returns the probability scores.
|
Method | Description | |
---|---|---|
GetCategory ( string name ) : Category | ||
TotalCount ( ) : int |
public Add ( string category, IEnumerable |
||
category | string | The category to add the phrases to. Will be created if necessary. |
phrases | IEnumerable |
The phrases to add. |
return | void |
public Add ( string category, string phrase ) : void | ||
category | string | The category to add the phrase to. Will be created if necessary. |
phrase | string | The phrase to add. |
return | void |
public AddCategory ( string name, int>.Dictionary |
||
name | string | The name of the category. |
phrases | int>.Dictionary | The phrases to add to it. |
return | void |
public Classify ( IEnumerable |
||
phrases | IEnumerable |
The phrases to classify. |
return | double>.Dictionary |