spoken_email
spoken_email
Return an email address said aloud as text: “john dot smith at example dot com”
is "john.smith@example.com". Words are kept as words, and letters, digits, and
symbols spelled out are joined to them. It reads “dot”, “at” (or “at sign”),
“underscore”, “dash”, “plus”, “S as in Sam”, NATO words, and “double”. An address
the recognizer already wrote as one is returned lowercased.
Parameters
text
The recognizer’s text.
Returns
str — The address, lowercased. It isn’t validated: check it before you use it,
for example by reading it back to the caller.
Example
Part of the speech helpers module.