m_grammar

lima-1.0b5/lib/help/wizard/lib/std/modules/m_grammar · 656 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents






M_GRAMMAR

M_GRAMMAR contains functions to produce high quality english 
output.

Important Functions:

     pluralize(noun)    -- This functions takes a noun and pluralizes it.
                           This function can also in most cases can take 
                           a verb from a plural format to its singular.
                           ( i.e. they run, he runs).

     punctuate(sentence)-- This functions adds a . to a sentence if it 
                           needs one.

     number_of(num,what)--  Handles the common operation of 0 bogs, 
                            1 bog, 2 bogs etc ..

 

Last Updated: Friday, April 26, 1996

Site Stats

Snippets: 1791
Codebases: 571