public static boolean isPlural ( final String _word ) { final String word = toEngLowerCase ( _word ) ; // word + s if ( word . endsWith ( "s" ) ) { final String wordStub = word . substring ( 0 , word . length ( ) - 1 ) ; if ( checkup ( wordStub ) != null ) return true ; } // word + ed if ( word . endsWith ( "ed" ) ) { final String wordStub = word . substring ( 0 , word . length ( ) - 2 ) ; if ( checkup ( wordStub ) != null ) return true ; } // word(-y) + ied if ( word . endsWith ( "ied" ) ) { final String wordStub = word . substring ( 0 , word . length ( ) - 3 ) + "y" ; if ( checkup ( wordStub ) != null ) return true ; } return false ; }
This method checks if the word is a plural form .