'Iterate over all image sentence groups'

def iterImageSentenceGroup(self):

    for (i, img) in enumerate(self.sent_data):
        out = {}
        out['image'] = self._getImage(img)
        out['sentences'] = img['sentences']
        (yield out)
