메소드 | 설명 | |
---|---|---|
GetScore ( string input ) : Score |
Calculates sentiment score of a sentence
|
|
InjectWords ( int>.IDictionary |
Add extra words for scoring
|
메소드 | 설명 | |
---|---|---|
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 InjectWords ( int>.IDictionary |
||
words | int>.IDictionary | Dictionary of string keys and int values |
리턴 | void |