C# Class rosette_api.RosetteSentimentEntity

Inheritance: RosetteEntity
Mostrar archivo Open project: rosette-api/csharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
EntityEquals ( RosetteEntity other ) : bool

Is this RosetteSentimentEntity the same as the other entity?

Equals ( object obj ) : bool

Equals override

GetHashCode ( ) : int

HashCode override

RosetteSentimentEntity ( String mention, String normalizedMention, EntityID id, String entityType, Nullable count, String sentiment, Nullable confidence ) : System

Creates an entity that has a sentiment associated with it

ToString ( ) : string

ToString override.

Method Details

EntityEquals() public method

Is this RosetteSentimentEntity the same as the other entity?
public EntityEquals ( RosetteEntity other ) : bool
other RosetteEntity The other entity
return bool

Equals() public method

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

GetHashCode() public method

HashCode override
public GetHashCode ( ) : int
return int

RosetteSentimentEntity() public method

Creates an entity that has a sentiment associated with it
public RosetteSentimentEntity ( String mention, String normalizedMention, EntityID id, String entityType, Nullable count, String sentiment, Nullable confidence ) : System
mention String The mention of the entity
normalizedMention String The normalized mention of the entity
id EntityID The contextual ID of the entity to compare it against other entities
entityType String The entity type
count Nullable The number of times the entity appeared in the text
sentiment String The contextual sentiment of the entity
confidence Nullable The confidence that the sentiment was correctly identified
return System

ToString() public method

ToString override.
public ToString ( ) : string
return string