@classmethod<EOL><INDENT>def get_singular_name(cls, entity_name_plural):<DEDENT>
if entity_name_plural in Utils.INVARIANT_RESOURCES:<EOL><INDENT>return entity_name_plural<EOL><DEDENT>if entity_name_plural[-<NUM_LIT:3>:] == "<STR_LIT>":<EOL><INDENT>return entity_name_plural[:-<NUM_LIT:3>] + "<STR_LIT:y>"<EOL><DEDENT>if entity_name_plural[-<NUM_LIT:1>] == "<STR_LIT:s>":<EOL><INDENT>return entity_name_plural[:-<NUM_LIT:1>]<EOL><DEDENT>return entity_name_plural<EOL>
Returns the singular name of the plural name