class Lingo::Attendee::Decomposer

Public Instance Methods

control(*) click to toggle source
# File lib/lingo/attendee/decomposer.rb, line 83
def control(*)
end
init() click to toggle source
# File lib/lingo/attendee/decomposer.rb, line 79
def init
  set_gra
end
process(obj) click to toggle source
# File lib/lingo/attendee/decomposer.rb, line 86
def process(obj)
  if obj.is_a?(Word) && obj.unknown?
    com = @gra.find_compound(obj.form)
    com.token = obj.token

    obj = com unless com.unknown?
  end

  forward(obj)
end