C# 클래스 rosette_api.SentimentResponse.RosetteSentiment

파일 보기 프로젝트 열기: rosette-api/csharp 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object obj ) : bool

Equals override

GetHashCode ( ) : int

HashCode override

RosetteSentiment ( String sentiment, Nullable confidence ) : System

A constructor for creating RosetteSentiments

ToString ( ) : string

ToString override.

메소드 상세

Equals() 공개 메소드

Equals override
public Equals ( object obj ) : bool
obj object The object to compare against
리턴 bool

GetHashCode() 공개 메소드

HashCode override
public GetHashCode ( ) : int
리턴 int

RosetteSentiment() 공개 메소드

A constructor for creating RosetteSentiments
public RosetteSentiment ( String sentiment, Nullable confidence ) : System
sentiment String The sentiment label: "pos", "neu", or "neg"
confidence Nullable An indicator of confidence in the label being correct. A range from 0-1.
리턴 System

ToString() 공개 메소드

ToString override.
public ToString ( ) : string
리턴 string