Thai Soundex

    :param string text: word
    :param str engine: soundex engine
    :Parameters for engine:
        * udom83 (default)
        * lk82
        * metasound
    :return: soundex code

def soundex(text: str, engine: str = "udom83") -> str:
    """
    Thai Soundex

    :param string text: word
    :param str engine: soundex engine
    :Parameters for engine:
        * udom83 (default)
        * lk82
        * metasound
    :return: soundex code
    """
    if engine == "lk82":
        _soundex = lk82
    elif engine == "metasound":
        _soundex = metasound
    else:  # default, use "udom83"
        _soundex = udom83

    return _soundex(text)