Class: Datasets::PennTreebank::Record

Inherits:
Struct
  • Object
show all
Defined in:
lib/datasets/penn-treebank.rb

Instance Attribute Summary collapse

Instance Attribute Details

#wordObject

Returns the value of attribute word

Returns:

  • (Object)

    the current value of word



5
6
7
# File 'lib/datasets/penn-treebank.rb', line 5

def word
  @word
end