Verb(3)                                                                Verb(3)



NNAAMMEE
       Verb -

SSYYNNOOPPSSIISS
   PPuubblliicc MMeetthhooddss
       string ccoonnjjuuggaattee__vveerrbb (string verb, int form)
       string pprroonnoouunn__ffoorr (object ob, int form)
       string ppoosssseessssiivvee__ffoorr (object ob, int form)
       string rreefflleexxiivvee__ffoorr (object ob, int form)
       string oobbjjeecctt__pprroonnoouunn__ffoorr (object ob, int form)
       ccrreeaattee ()
       mapping qquueerryy__nnoouunn__lliisstt ()
       mapping qquueerryy__vveerrbb__lliisstt ()
       mapping qquueerryy__aaddjjeeccttiivvee__lliisstt ()
       mapping qquueerryy__eexxccllaammaattiioonn__lliisstt ()

   PPuubblliicc AAttttrriibbuutteess
       mapping nnoouunn__lliisstt
       mapping vveerrbb__lliisstt
       mapping aaddjjeeccttiivvee__lliisstt
       mapping pprreeppoossiittiioonn__lliisstt
       mapping eexxccllaammaattiioonn__lliisstt

DDEETTAAIILLEEDD DDEESSCCRRIIPPTTIIOONN
       This file will handle some simple verb conjugation in English. It is
       used by the simul_efun function process_string to do verb conjugation,
       so you probably will not need to do anything here directly. The reason
       it is in a separate file is so that you can expand the verb
       capabilities without major difficulty. The verb codes you should use
       are:

       ~Verb (present simple, upper case) ~verb (present simple, lower case)
       ~Vert (present simple, upper case, for target) ~vert (present simple,
       lower case, for target)

       Example: ~Name ~verbpick up the rock.

       This phrase can be processed to both 'You pick up the rock.' and 'Bob
       picks up the rock.' There are some other useful codes you can use in
       these phrases. They are:


       ~Targ -- The name of the target. If the target is the listener,

       then ~Targ will process to 'You' instead.

       ~Pron -- A pronoun for the subject of the sentence. Converts to 'you'
       if the subject is the listener, and he/she/it if not.

       ~Prot -- Same as ~Pron but for the target, not the subject.

       ~Poss -- Possessive for the subject, or 'your'.

       ~Post -- Same as ~Poss but for the target.

       All these have a lower case form.

       This will only handle a few irregulars. If you find an irregular verb
       which is not handled properly, go ahead and add it in here.

       Definition at line 36 of file verb.c.

MMEEMMBBEERR FFUUNNCCTTIIOONN DDOOCCUUMMEENNTTAATTIIOONN
   ssttrriinngg ccoonnjjuuggaattee__vveerrbb ((ssttrriinngg vveerrbb,, iinntt ffoorrmm))
       Conjugates an English verb in the present tense. This should work for
       all English verbs; failing on any verb is considered a bug and ought to
       be fixed.

       PPaarraammeetteerrss::

       _v_e_r_b   The verb to be conjugated

       _f_o_r_m   0 to conjugate in 3rd person (he, she, it verbs), and 1 to
              conjugate in second person (you).There could be other useful
              forms, but given how simple present tense English is, the second
              person should actually work for basically all of them. If not,
              time to fix things...

       Definition at line 51 of file verb.c.

   ccrreeaattee (())
       Initialize the vocabulary lists. This object is never cloned, so I keep
       them here.

       Definition at line 151 of file verb.c.

       References adjective_list, exclamation_list, noun_list, and verb_list.

   ssttrriinngg oobbjjeecctt__pprroonnoouunn__ffoorr ((oobbjjeecctt oobb,, iinntt ffoorrmm))
       Queries the gender of _o_b, and returns an appropriate object pronoun:
       you, it, her, or him.

       PPaarraammeetteerrss::

       _o_b     The object for which you need an object pronoun. Uses
              LLiivviinngg::::qquueerryy__ggeennddeerr(()) (and assumes neuter if query_gender()
              fails).

       _f_o_r_m   If true, then returns 'you' instead.

       Definition at line 136 of file verb.c.

   ssttrriinngg ppoosssseessssiivvee__ffoorr ((oobbjjeecctt oobb,, iinntt ffoorrmm))
       Queries the gender of _o_b, and returns an appropriate possessive
       pronoun: your, its, her, or his.

       PPaarraammeetteerrss::

       _o_b     The object for which you need a possessive pronoun. Uses
              LLiivviinngg::::qquueerryy__ggeennddeerr(()) (and assumes neuter if query_gender()
              fails).

       _f_o_r_m   If true, then returns 'your' instead.

       Definition at line 102 of file verb.c.

   ssttrriinngg pprroonnoouunn__ffoorr ((oobbjjeecctt oobb,, iinntt ffoorrmm))
       Queries the gender of _o_b, and returns an appropriate pronoun: you, it,
       he, or she.

       PPaarraammeetteerrss::

       _o_b     The object for which you need a pronoun. Uses
              LLiivviinngg::::qquueerryy__ggeennddeerr(()) (and assumes neuter if query_gender()
              fails).

       _f_o_r_m   If true, then returns 'you' instead.

       Definition at line 85 of file verb.c.

   mmaappppiinngg qquueerryy__aaddjjeeccttiivvee__lliisstt (())
       Fetch the adjective list.

       Definition at line 234 of file verb.c.

       References adjective_list.

   mmaappppiinngg qquueerryy__eexxccllaammaattiioonn__lliisstt (())
       Fetch the exclamation list.

       Definition at line 239 of file verb.c.

       References exclamation_list.

   mmaappppiinngg qquueerryy__nnoouunn__lliisstt (())
       Fetch the noun list.

       Definition at line 224 of file verb.c.

       References noun_list.

   mmaappppiinngg qquueerryy__vveerrbb__lliisstt (())
       Fetch the verb list.

       Definition at line 229 of file verb.c.

       References verb_list.

   ssttrriinngg rreefflleexxiivvee__ffoorr ((oobbjjeecctt oobb,, iinntt ffoorrmm))
       Queries the gender of _o_b, and returns an appropriate reflexive pronoun:
       yourself, itself, herself, or himself.

       PPaarraammeetteerrss::

       _o_b     The object for which you need a reflexive pronoun. Uses
              LLiivviinngg::::qquueerryy__ggeennddeerr(()) (and assumes neuter if query_gender()
              fails).

       _f_o_r_m   If true, then returns 'yourself' instead.

       Definition at line 119 of file verb.c.

MMEEMMBBEERR DDAATTAA DDOOCCUUMMEENNTTAATTIIOONN
   mmaappppiinngg aaddjjeeccttiivvee__lliisstt
       A small vocabulary for use by talking NPC's.

       Definition at line 148 of file verb.c.

       Referenced by create(), and query_adjective_list().

   mmaappppiinngg eexxccllaammaattiioonn__lliisstt
       A small vocabulary for use by talking NPC's.

       Definition at line 148 of file verb.c.

       Referenced by create(), and query_exclamation_list().

   mmaappppiinngg nnoouunn__lliisstt
       A small vocabulary for use by talking NPC's.

       Definition at line 148 of file verb.c.

       Referenced by create(), and query_noun_list().

   mmaappppiinngg pprreeppoossiittiioonn__lliisstt
       A small vocabulary for use by talking NPC's.

       Definition at line 148 of file verb.c.

   mmaappppiinngg vveerrbb__lliisstt
       A small vocabulary for use by talking NPC's.

       Definition at line 148 of file verb.c.

       Referenced by create(), and query_verb_list().


AAUUTTHHOORR
       Generated automatically by Doxygen for Walraven from the source code.



Walraven                          8 Jan 2004                           Verb(3)
