def collect_sentences_coco(data):
    """Collect all sentences from COCO captions"""
    sentences = []
    for ann in data['annotations']:
        sentences.append(ann['caption'])

    return sentences