def get_captions_from_dict(img_to_cap_dict):
	"""
	Extracts captions from the img_to_cap_dict dictionary
	and adds them to a list.
	Args:
		img_to_cap_dict: the dictionary storing image to caption mappings
	Returns:
		captions: a list storing all captions extracted from the dictionary
	"""

	captions = []

	for image_name, caption_list in img_to_cap_dict.items():
		for cap in caption_list:
			captions.append(cap)

	return captions