Méthode | Description | |
---|---|---|
GetScore ( string input ) : Score |
Calculates sentiment score of a sentence
|
|
InjectWords ( int>.IDictionary |
Add extra words for scoring
|
Méthode | Description | |
---|---|---|
Sentiment ( ) : System | ||
Tokenize ( string input ) : IEnumerable |
Tokenizes a string. This method first removes non-alpha characters, removes multiple spaces, and lowercases every word. Then splits the string into an array of words.
|
public GetScore ( string input ) : Score | ||
input | string | Sentence |
Résultat | Score |
public InjectWords ( int>.IDictionary |
||
words | int>.IDictionary | Dictionary of string keys and int values |
Résultat | void |