Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self,parsestr,pgraph=None):
self.parsestr=parsestr
self.token=' '.join(parse2words(parsestr))
self.parsed=p.Line(self.token)
self.broken=self.parsed.broken
#self.len_word=len(self.parsed.words())
#self.len_syll=len(self.parsed.syllables())
self.tokens=[]
self.pgraph=pgraph