<s> from pig_util import outputSchema <EOL> @ outputSchema ( '<STR_LIT>' ) <EOL> def reverse ( word ) : <EOL> """<STR_LIT>""" <EOL> return word [ : : - <NUM_LIT:1> ] <EOL> @ outputSchema ( '<STR_LIT>' ) <EOL> def num_chars ( word ) : <EOL> """<STR_LIT>""" <EOL> return len ( word ) </s>
