Use this function if you are sure you have a single symbol.

    Parameters
    ----------
    recording : string
        The recording in JSON format

    Returns
    -------
    list of dictionaries
        Each dictionary contains the keys 'symbol' and 'probability'. The list
        is sorted descending by probability.

def classify_segmented_recording(recording, result_format=None):
    """Use this function if you are sure you have a single symbol.

    Parameters
    ----------
    recording : string
        The recording in JSON format

    Returns
    -------
    list of dictionaries
        Each dictionary contains the keys 'symbol' and 'probability'. The list
        is sorted descending by probability.
    """
    global single_symbol_classifier
    if single_symbol_classifier is None:
        single_symbol_classifier = SingleClassificer()
    return single_symbol_classifier.predict(recording, result_format)