Man third person

From LSWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 11:03, 11 June 2007 (edit)
Laine (Talk | contribs)
(See Also)
← Previous diff
Revision as of 13:06, 11 June 2007 (edit)
Chaos (Talk | contribs)
(Description)
Next diff →
Line 16: Line 16:
for use by the internals of message(). for use by the internals of message().
-The verb "to be" should be provided in its first-person form, "are".+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 Like all the grammatical functions, this routine relies on a set of

Revision as of 13:06, 11 June 2007

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 first-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