Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

Translator Class Reference

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

#include <bayonne.h>

Inheritance diagram for Translator:

Keydata MemPager List of all members.

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

__EXPORT TranslatorgetTranslator (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>


Constructor & Destructor Documentation

Translator::Translator const char *  conf  )  [protected]
 


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.


Friends And Related Function Documentation

__EXPORT Translator* getTranslator const char *  name  )  [friend]
 


The documentation for this class was generated from the following file:
Generated on Tue Sep 13 02:19:10 2005 for Bayonne by  doxygen 1.4.4