def grade(adjective, suffix=COMPARATIVE):
b = predicative(adjective)<EOL>if suffix == SUPERLATIVE and b.endswith(("<STR_LIT:s>", u"<STR_LIT>")):<EOL><INDENT>suffix = suffix[<NUM_LIT:1>:]<EOL><DEDENT>return adjective[:len(b)] + suffix + adjective[len(b):]<EOL>
Returns the comparative or superlative form of the given (inflected) adjective.