def replace_words(words: Sequence[str]) -> Sequence[str]:
    try:
        return phrase_replacer.replace(words)
    except:
        logging.error('phrase replacer failed!')
        return actions.next(words)
def replace_words(words: Sequence[str]) -> Sequence[str]:
    try:
        return phrase_replacer.replace(words)
    except:
        logging.error('phrase replacer failed!')
        return actions.next(words)