H A D | api.py | 51 def __init__(self, words, mots, alignment=None): argument 53 self._mots = mots 65 def mots(self): member in AlignedSent 72 _check_alignment(len(self.words), len(self.mots), alignment) 84 mots = "[%s]" % (", ".join("'%s'" % w for w in self._mots)) 86 return "AlignedSent(%s, %s, %r)" % (words, mots, self._alignment)
|