----------------

 About sample

----------------

[default.wb]

  class [I], [you], [like] and [me] are defined in default.wb.

  [like] has two headside theta features agent and object.
  (in linguistic term, they are called theta-roles)
  This means 'like' will get 2 arguments.

  About [like] definition in default.wb, agent-theta is written
  before object-theta. This means agent-theta will be checked
  earlier than object-theta.

  [I] becomes agent of [like], so value of theta is agent
  and the value is fixed (inherent feature).

  [you] becomes object or agent of [like], so the value of theta
  is not fixed (non-inherent feature).

  [me] becomes object of [like], so the value of theta is object
  and the value is fixed (inherent feature).


  And theta of [I], [you] and [me] are noheadside feature.

  Then what happen when "I like you" is given ?

    (1) Theta of [I] checks with agent-theta of [like].
        This is because [I] appears before [you].

        Theta of [like] is headside and theta of [I] is noheadside,
        so they create a tree [I (like)].

        Then the value of [I] becomes agent.

    (2) Theta of [you] checks with object-theta of [I (like)].
        Then they create a tree [([I (like)]) you].

        Then the value of [you] becomes object.


    (3) After a tree is created, wbMain is called.
        In this case, [like] is top of the tree, so [like].wbMain
        is called.

        [like].wbMain does some printing, and then, call wbMain in
        agent (in this case [I]) and wbMain in object ([you]).


  You can try this as follows.

       wbeer.sh -make
       wbeer.sh -exec (-tree -fval)

       $wbeer>I like you
       $wbeer>you like me

  If you use '-tree', tree diagram will be displayed.
  If you use '-fval' with '-tree', feature value will be displayed with
  the tree diagram.





