get_labels function

Retrieve value labels of labelled data