Inflector Download
The Text Inflector is a handy piece of code that transforms words from singular to plural, class names to table names, modularized class names to ones without and class names to foreign keys etc.
You can try the inflector thought the web based Inflector frontend
The Inflector comes in two flavours Python and PHP
Python Inflector
This version comes with a handy structure for supporting additional Language Rules. It pluralizes and singularizes English and Spanish words.
- Acces the subversion repository for the Inflector at http://opensvn.csie.org/inflector/trunk/python/
- Download python_inflector-0.1.tar.gz or python_inflector-0.1.zip
PHP Inflector
The PHP Inflector (English version) comes as a core part of the the Akelos Framework, but it has been proposed as a Text::Inflector PHP PEAR Package.
The Spanish version will be integrated into the Framework once I finish the plug-in system.
You can get the code from this resources
- PHP English Inflector source code AkInflector.php
- PHP Spanish Inflector source code AkInflexor.php
- Akelos PHP Inflector project on PHPClasses.org
- Text::Inflector PHP PEAR Package proposal
You can also access the documentation for the PHP English Inflector generated from the source code.
