def add_to_label_index_dict(label, starting_index, ending_index, label_index_dict):
	"""Adds the given indices to the label_index_dict,
	where the label is the key."""
	label = label.upper()
	if label in label_index_dict.keys():
		label_index_dict[label] = label_index_dict[label] + ' ' + str(starting_index) + '-' + str(ending_index)
	else:
		label_index_dict[label] = str(starting_index) + '-' + str(ending_index)
	return label_index_dict