<s> """<STR_LIT>""" <EOL> import re <EOL> import reprlib <EOL> RE_WORD = re . compile ( '<STR_LIT>' ) <EOL> class Sentence : <EOL> def __init__ ( self , text ) : <EOL> self . text = text <EOL> self . words = RE_WORD . findall ( text ) <EOL> def __repr__ ( self ) : <EOL> return '<STR_LIT>' % reprlib . repr ( self . text ) <EOL> def __iter__ ( self ) : <EOL> for word in self . words : <EOL> yield word <EOL> return </s>
