Module parser

Source
Expand description

Handles parsing SSML input and returning our Ssml structure, contains a simple parse function that sets up the parser with the default options and hides it as well as a parser type a user can construct themselves to have more control over parsing.

Structs§

Span
Shows a region of the cleaned transcript which an SSML element applies to.
SsmlParser
SSML parser, contains options used during parsing to determine how to handle certain elements.
SsmlParserBuilder
Builder for SsmlParser.

Enums§

SsmlParserBuilderError
Error type for SsmlParserBuilder

Functions§

parse_ssml
Parses SSML with a default SsmlParser