I'm looking for a good inflection (or well, a library that can turn plural into singular and vice verse - which a kind of inflection) library for PHP, it could be a part of some current framework or a stand alone library the only requirement I have is that it's compatible with the MIT license.
Rich Bradshaw
There is one included with Code Igniter, you could check it out and see if it meets your needs.
Gustavo Carreno
You'll find a good example on the one that comes with CakePHP:
It's part of a framework and it's MIT licensed.
I'm using this one Improved Pluralizing in php actionscript and ROR. It's released with an MIT license and isn't part of a framework.
来源:https://stackoverflow.com/questions/170033/good-inflection-library-for-php