From the NannyMUD documentation

LAST CHANGE

2004-12-07

NAME

        lingua - An object handling linguistic inflections.

LOCATION

	/obj/lingua.c

FUNCTIONS

OTHER FUNCTIONS

	indef_article
	pluralize
	pluralp
	singularize
	vocp

DESCRIPTION

	This object provides functions related to the English language.

FUNCTION


NAME

        indef_article - Adds the indefinite article.

LOCATION

	/obj/lingua.c

SYNTAX

        string indef_article(string word)

DESCRIPTION

	This function adds the appropriate indefinite article to the word and
	returns it. 

RETURN VALUES

	"a " + word or "an " + word.

FUNCTION


NAME

        pluralize - Forms the plural.

LOCATION

	/obj/lingua.c

SYNTAX

        string pluralize(string word)
        string pluralize(string word, int classical)

DESCRIPTION

	This function returns the plural version of the given word.
	If you use the classical flag, and there is a classical plural
	inflection, that will be returned instead.

RETURN VALUES

	Generally word + "s", but it handles many irregularities.

FUNCTION


NAME

        pluralp - Is a word in plural form?

LOCATION

	/obj/lingua.c

SYNTAX

        int pluralp(string word)

DESCRIPTION

	This function attempts to determine if the word is in plural form.

FUNCTION


NAME

        singularize - Forms the possible singulars.

LOCATION

	/obj/lingua.c

SYNTAX

        string *singularize(string word)

DESCRIPTION

	This function returns possible candidates for the singular form of
	the word. It does not know if any of them are actual real words.

FUNCTION


NAME

        vocp - Should the word be preceeded by 'an'?

LOCATION

	/obj/lingua.c

SYNTAX

        int vocp(string word)

DESCRIPTION

	This function is near obsolete. Use indef_article() instead.