<s> from toolz import * <EOL> def stem ( word ) : <EOL> """<STR_LIT>""" <EOL> return word . lower ( ) . rstrip ( "<STR_LIT>" ) . lstrip ( "<STR_LIT>" ) <EOL> wordcount = comp ( frequencies , partial ( map , stem ) , str . split ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> print ( wordcount ( "<STR_LIT>" ) ) </s>
