Class: Datasets::AFINN::Record

Inherits:
Struct
  • Object
show all
Defined in:
lib/datasets/afinn.rb

Instance Attribute Summary collapse

Instance Attribute Details

#valenceObject

Returns the value of attribute valence

Returns:

  • (Object)

    the current value of valence



6
7
8
# File 'lib/datasets/afinn.rb', line 6

def valence
  @valence
end

#wordObject

Returns the value of attribute word

Returns:

  • (Object)

    the current value of word



6
7
8
# File 'lib/datasets/afinn.rb', line 6

def word
  @word
end