C# Класс rosette_api.RosetteSentimentEntity

Наследование: RosetteEntity
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

EntityEquals() публичный Метод

Is this RosetteSentimentEntity the same as the other entity?
public EntityEquals ( RosetteEntity other ) : bool
other RosetteEntity The other entity
Результат bool

Equals() публичный Метод

Equals override
public Equals ( object obj ) : bool
obj object The object to compare against
Результат bool

GetHashCode() публичный Метод

HashCode override
public GetHashCode ( ) : int
Результат int

RosetteSentimentEntity() публичный Метод

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
Результат System

ToString() публичный Метод

ToString override.
public ToString ( ) : string
Результат string