feat: remove alexa from the beginning of the utterance in spell preproc
@@ -17,6 +17,7 @@ app = Flask(__name__)
templates = []
+templates += [(re.compile(r"^alexa ", flags=re.IGNORECASE), "")]
templates += [(re.compile(r"(?<= [a-z])\. (?=[a-z]\.)|(?<= [a-z]\. [a-z])\.(?! [a-z]\.)", flags=re.IGNORECASE), "")]
templates += [(re.compile(r"\bwon'?t\b", flags=re.IGNORECASE), "will not")]
templates += [(re.compile(r"\bhaven'?t\b", flags=re.IGNORECASE), "have not")]
