Module libmathcat::speech

source ·
Expand description

The speech module is where the speech rules are read in and speech generated.

The speech rules call out to the preferences and tts modules and the dividing line is not always clean. A number of useful utility functions used by other modules are defined here.

Structs

  • An array of rule Replacements (text, xpath, tts commands, etc)
  • SpeechRulesWithContext encapsulates a named group of speech rules (e.g, “ClearSpeak”) along with the preferences to be used for speech.
  • SpeechRulesWithContext encapsulates a named group of speech rules (e.g, “ClearSpeak”) along with the preferences to be used for speech. Because speech rules can define variables, there is also a context that is carried with them

Enums

Constants

Traits

  • As the name says, TreeOrString is either a Tree (Element) or a String It is used to share code during pattern matching

Functions