def deletetone(text: str) -> str:
    """
    Remove tonemarks

    :param str text: thai text
    :return: thai text
    """
    chars = [ch for ch in text if ch not in thai_tonemarks]
    return "".join(chars)
Remove tonemarks

    :param str text: thai text
    :return: thai text