C# Class rosette_api.SentimentResponse.RosetteSentiment

Afficher le fichier Open project: rosette-api/csharp Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Equals() public méthode

Equals override
public Equals ( object obj ) : bool
obj object The object to compare against
Résultat bool

GetHashCode() public méthode

HashCode override
public GetHashCode ( ) : int
Résultat int

RosetteSentiment() public méthode

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.
Résultat System

ToString() public méthode

ToString override.
public ToString ( ) : string
Résultat string