def trade_normalize_slot_name(name: str) -> str:
    """Normalizes the slot name as in TRADE.

    Extracted from get_slot_information in https://github.com/jasonwu0731/trade-dst/blob/master/utils/utils_multiWOZ_DST.py.
    """
    if "book" not in name:
        return name.replace(" ", "").lower()
    return name.lower()