def clean_text(text: str) -> str:
    """
    clean text data

    Parameters
    ----------
        text : original text

    Returns
    -------
        modif_text : modified text
    """

    modif_text = ""
    # delete space between number and unit
    for word in text.split(" "):
        modif_text += word
        try:
            float(word)
        except:
            modif_text += " "

    clean_dict = {
        "label": ",",
        ":": "",
        ",": "",
        "--": " ",
        "type": "",
        "procedure": "",
        "protocol": "",
        "time": "",
    }

    for k, v in clean_dict.items():
        modif_text = modif_text.replace(k, v)
    return modif_text