Balneus

Australian Lefty on Politics, Governance, Science and Info Management

For code-cutters, Latin-lovers, language lawyers

Posted by Dave Bath on 2008-12-05


If you are a unix fan, a grammarian or a Latin-lover, here is something that should tickle you…. Perligata

The main paper that covers Latin grammar and it’s suitability to computing languages, applying it to perl is at http://www.csse.monash.edu.au/~damian/papers/HTML/Perligata.html

The Perligata module is at http://search.cpan.org/~dconway/Lingua-Romana-Perligata-0.50/lib/Lingua/Romana/Perligata.pm

And where would we be without 99-bottles-of-beer?

BTW: Conway has also written an inflection module for English (Lingue-EN-Inflect.pm, mainly for converting between singular and plural.  Snippets over the fold indicate that he is probably my sort of age (coded for Vaxen), and I’d be setting classical=1;


# REQUIRE "CLASSICAL" PLURALS (EG: "focus"->"foci", "cherub"->"cherubim")

   classical;      # USE ALL CLASSICAL PLURALS

   classical 1;   # USE ALL CLASSICAL PLURALS

   classical 0;   # USE ALL MODERN PLURALS (DEFAULT)

# (snip)

def_noun "VAX" => "VAXen"; # SINGULAR => PLURAL

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: