def iterSentences(self):
        for img in self.sent_data:
            for sent in img['sentences']:
                yield sent
Iterate over all sentences
dataset/ETHPy150Open NervanaSystems/neon/neon/data/imagecaption.py/ImageCaption.iterSentences