Man third person

From LSWiki

Revision as of 13:07, 11 June 2007; Chaos (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
Jump to: navigation, search

third_person - returns the third-person form of a verb

Contents

Synopsis

string third_person(string verb); varargs string third_person(string verb, mixed who, object viewer);

Description

Calculates and returns the third-person form of a given second-person verb. For instance, third_person("have") == "has".

The second and third arguments provide some support for determining how to treat the verb in specific contexts, mainly with respect to the fact that the third-person form of the verb is the same as the second-person form when the subject is plural. The argument 'who' is the subject of the verb, and 'viewer' is the person viewing the action. This is mainly for use by the internals of message().

The verb "to be" should be provided in its second-person form, "are".

Like all the grammatical functions, this routine relies on a set of generalized conversion rules supplemented by some direct mapping of irregular cases. If you discover a case that is not correctly supported, please inform an elder developer.

Examples

   third_person("look") == "looks"
   third_person("have") == "has"
   third_person("are") == "is"
   third_person("buzz") == "buzzes"

See Also

second_person(sefun), pluralize(sefun), singularize(sefun), past_tense(sefun), present_tense(sefun), gerundize(sefun), adverbize(sefun), past_participle(sefun)

Personal tools