Bermi Ferrer

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.

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

You can also access the documentation for the PHP English Inflector generated from the source code.