function singularize($str) { require_once 'pluralize.inc'; $infl = new Inflect(); return $infl->singuarize($str); }