C# 클래스 SharpFinn.Sentiment

파일 보기 프로젝트 열기: Cheesebaron/SharpFinn

공개 메소드들

메소드 설명
GetScore ( string input ) : Score

Calculates sentiment score of a sentence

InjectWords ( int>.IDictionary words ) : void

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.

메소드 상세

GetScore() 공개 메소드

Calculates sentiment score of a sentence
public GetScore ( string input ) : Score
input string Sentence
리턴 Score

InjectWords() 공개 메소드

Add extra words for scoring
public InjectWords ( int>.IDictionary words ) : void
words int>.IDictionary Dictionary of string keys and int values
리턴 void