def get_labels(crf):
    """ Returns all possible labes of the model (without 'O')
    :param crf:
        :type crf: sklearn_crfsuite.CRF
    :return labels:
        :rtype labels: list
    """
    labels = list(crf.classes_)
    labels.remove('O')
    return labels