public static String singularize ( String word ) { if ( isUncountable ( word ) ) { return word ; } else { for ( Inflection inflection : SINGULAR ) { if ( inflection . match ( word ) ) { return inflection . replace ( word ) ; } } } return word ; }
Return the singularized version of a word .