man Translator () - Phrasebook modules are used to convert things like numbers into sets of prompts that form spoken words. phrase translations dso base for tts.

NAME

Translator - Phrasebook modules are used to convert things like numbers into sets of prompts that form spoken words. phrase translations dso base for tts.

SYNOPSIS



#include <bayonne.h>

Public Member Functions

virtual char * speak (Trunk *trunk)=0

Perform a phrasebook translation of the current script statement and issue play request.

Protected Member Functions

virtual char * getName (void)=0

Return the language this translator supports. char * getPlayBuffer (Trunk *trunk)

get play buffer object. Translator (const char *conf)

Friends

Translator * getTranslator (const char *name)

Detailed Description

Phrasebook modules are used to convert things like numbers into sets of prompts that form spoken words. phrase translations dso base for tts.

Translations are dso based and are represented by the 'languages' plugin. A translator for spanish may handle not just numbers, dates, etc, but also the selection of masculine and feminine forms of numbers based on usage, etc. The translator classes provide some basic mechanics for phrasebook tts in Bayonne.

Author: David Sugar <dyfet@ostel.com>

Member Function Documentation

virtual char* Translator::getName (void) [protected, pure virtual]

Return the language this translator supports.

Returns: language supported.

char* Translator::getPlayBuffer (Trunk * trunk) [protected]

get play buffer object.

Returns: put buffer

Parameters: trunk object

virtual char* Translator::speak (Trunk * trunk) [pure virtual]

Perform a phrasebook translation of the current script statement and issue play request.

Returns: ccscript error message or NULL.

Parameters: trunk object for phrasebook.

Author

Generated automatically by Doxygen for Bayonne from the source code.