Class: Result_t

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

Overview

this struct is used to return analysing result

  • field ‘value’ store the analysing value

  • field ‘x_id’ ‘y_id’ store the ID of word X and Y

Instance Attribute Summary collapse

Instance Attribute Details

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



21
22
23
# File 'lib/tyccl.rb', line 21

def value
  @value
end

#x_idObject

Returns the value of attribute x_id

Returns:

  • (Object)

    the current value of x_id



21
22
23
# File 'lib/tyccl.rb', line 21

def x_id
  @x_id
end

#y_idObject

Returns the value of attribute y_id

Returns:

  • (Object)

    the current value of y_id



21
22
23
# File 'lib/tyccl.rb', line 21

def y_id
  @y_id
end