|
Public Member Functions |
| | BayonneTranslator (const char *iso) |
| | Create a translator instance for a specific language identifier.
|
| virtual | ~BayonneTranslator () |
| BayonneTranslator * | getNext () |
| | Get next translator.
|
| virtual unsigned | digits (BayonneSession *sessiob, unsigned count, const char *string) |
| | Translate a simple set of digits to spoken speech.
|
| virtual unsigned | spell (BayonneSession *session, unsigned count, const char *string) |
| | Spell out the string as individual letters.
|
| virtual unsigned | sayorder (BayonneSession *session, unsigned count, const char *string) |
| | Translate an ordinal number (xxnth) to prompts.
|
| virtual unsigned | number (BayonneSession *session, unsigned count, const char *string) |
| | Translate a number to spoken speech.
|
| virtual unsigned | saynumber (BayonneSession *session, unsigned count, const char *string) |
| | Translate generic numbers to spoken speech.
|
| virtual unsigned | saycount (BayonneSession *session, unsigned count, const char *string) |
| | Translate a counting number (integer) to spoken speech.
|
| virtual unsigned | sayhour (BayonneSession *session, unsigned count, const char *string) |
| | Translate a string for time into short hours.
|
| virtual unsigned | saytime (BayonneSession *session, unsigned count, const char *string) |
| | Translate a string for time into speech.
|
| virtual unsigned | weekday (BayonneSession *session, unsigned count, const char *string) |
| | Translate a string with a date into the spoken weekday.
|
| virtual unsigned | sayday (BayonneSession *session, unsigned count, const char *string) |
| virtual unsigned | saydate (BayonneSession *session, unsigned count, const char *string) |
| | Translate a string with a date into a spoken date.
|
| virtual unsigned | saybool (BayonneSession *session, unsigned count, const char *string) |
| | Translate a logical value and speak as yes/no.
|
| virtual unsigned | phone (BayonneSession *session, unsigned count, const char *string) |
| | Translate and speak a phone number.
|
| virtual unsigned | extension (BayonneSession *session, unsigned count, const char *string) |
| | Translate and speak a phone extension.
|
| virtual const char * | speak (BayonneSession *session, Line *line=NULL) |
| | Translation dispatch, processes script and invokes other methods.
|
| const char * | getId (void) |
| | Get the id string.
|
Static Public Member Functions |
| static BayonneTranslator * | get (const char *name) |
| | Find a translator for a given name/location.
|
| static BayonneTranslator * | getFirst (void) |
| | Get first translator.
|
| static BayonneTranslator * | loadTranslator (const char *iso) |
| | Load a named translator into memory for use.
|
Static Protected Member Functions |
| static const char * | getToken (BayonneSession *s, Line *l, unsigned *idx) |
| static unsigned | addItem (BayonneSession *s, unsigned count, const char *text) |
| static const char * | getLast (BayonneSession *s, unsigned count) |
Protected Attributes |
| BayonneTranslator * | next |
| const char * | id |
Static Protected Attributes |
| static BayonneTranslator * | first |