Class: Daidai::Deinflector::Transform

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

Overview

A named group of rules (one grammatical transformation, e.g. “negative”).

Instance Attribute Summary collapse

Instance Attribute Details

#heuristicObject

Returns the value of attribute heuristic

Returns:

  • (Object)

    the current value of heuristic



41
42
43
# File 'lib/daidai/deinflector.rb', line 41

def heuristic
  @heuristic
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



41
42
43
# File 'lib/daidai/deinflector.rb', line 41

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



41
42
43
# File 'lib/daidai/deinflector.rb', line 41

def name
  @name
end

#rulesObject

Returns the value of attribute rules

Returns:

  • (Object)

    the current value of rules



41
42
43
# File 'lib/daidai/deinflector.rb', line 41

def rules
  @rules
end