Class: Textalytics::Api::SentimentEntity::Sentiment
- Inherits:
-
Object
- Object
- Textalytics::Api::SentimentEntity::Sentiment
- Defined in:
- lib/textalytics/api/entities/sentiment_entity.rb
Instance Attribute Summary collapse
-
#all ⇒ Object
readonly
Returns the value of attribute all.
-
#concept_list ⇒ Object
readonly
Returns the value of attribute concept_list.
-
#entity_list ⇒ Object
readonly
Returns the value of attribute entity_list.
-
#irony ⇒ Object
readonly
Returns the value of attribute irony.
-
#score ⇒ Object
readonly
Returns the value of attribute score.
-
#score_tag ⇒ Object
readonly
Returns the value of attribute score_tag.
-
#sd ⇒ Object
readonly
Returns the value of attribute sd.
-
#sd_tag ⇒ Object
readonly
Returns the value of attribute sd_tag.
-
#segment_list ⇒ Object
readonly
Returns the value of attribute segment_list.
-
#subjectivity ⇒ Object
readonly
Returns the value of attribute subjectivity.
Instance Method Summary collapse
-
#initialize(response) ⇒ Sentiment
constructor
A new instance of Sentiment.
Constructor Details
#initialize(response) ⇒ Sentiment
Returns a new instance of Sentiment.
12 13 14 |
# File 'lib/textalytics/api/entities/sentiment_entity.rb', line 12 def initialize(response) @all = response end |
Instance Attribute Details
#all ⇒ Object (readonly)
Returns the value of attribute all.
8 9 10 |
# File 'lib/textalytics/api/entities/sentiment_entity.rb', line 8 def all @all end |
#concept_list ⇒ Object (readonly)
Returns the value of attribute concept_list.
8 9 10 |
# File 'lib/textalytics/api/entities/sentiment_entity.rb', line 8 def concept_list @concept_list end |
#entity_list ⇒ Object (readonly)
Returns the value of attribute entity_list.
8 9 10 |
# File 'lib/textalytics/api/entities/sentiment_entity.rb', line 8 def entity_list @entity_list end |
#irony ⇒ Object (readonly)
Returns the value of attribute irony.
8 9 10 |
# File 'lib/textalytics/api/entities/sentiment_entity.rb', line 8 def irony @irony end |
#score ⇒ Object (readonly)
Returns the value of attribute score.
8 9 10 |
# File 'lib/textalytics/api/entities/sentiment_entity.rb', line 8 def score @score end |
#score_tag ⇒ Object (readonly)
Returns the value of attribute score_tag.
8 9 10 |
# File 'lib/textalytics/api/entities/sentiment_entity.rb', line 8 def score_tag @score_tag end |
#sd ⇒ Object (readonly)
Returns the value of attribute sd.
8 9 10 |
# File 'lib/textalytics/api/entities/sentiment_entity.rb', line 8 def sd @sd end |
#sd_tag ⇒ Object (readonly)
Returns the value of attribute sd_tag.
8 9 10 |
# File 'lib/textalytics/api/entities/sentiment_entity.rb', line 8 def sd_tag @sd_tag end |
#segment_list ⇒ Object (readonly)
Returns the value of attribute segment_list.
8 9 10 |
# File 'lib/textalytics/api/entities/sentiment_entity.rb', line 8 def segment_list @segment_list end |
#subjectivity ⇒ Object (readonly)
Returns the value of attribute subjectivity.
8 9 10 |
# File 'lib/textalytics/api/entities/sentiment_entity.rb', line 8 def subjectivity @subjectivity end |