sign_language_translator.text.preprocess module

text preprocessing module

sign_language_translator.text.preprocess.remove_space_before_punctuation(text: str, punctuation={'!', ',', '.', '?'})[source]
sign_language_translator.text.preprocess.replace_words(text: str, word_map: Dict[str, str], word_regex: str = '\\w+') str[source]