(self)
Iterate over all sentences
Iterate over all sentences
Iterate over all sentences
def iterSentences(self):
        """Iterate over all sentences"""
        for img in self.sent_data:
            for sent in img['sentences']:
                yield sent
def iterSentences ( self ) : for img in self . sent_data : for sent in img [ 'sentences' ] : yield sent