You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
708 B
27 lines
708 B
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//===========================================================================//
|
||
|
|
||
|
#ifndef PHONEMECONVERTER_H
|
||
|
#define PHONEMECONVERTER_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
const char *ConvertPhoneme( int code );
|
||
|
int TextToPhoneme( const char *text );
|
||
|
float WeightForPhonemeCode( int code );
|
||
|
float WeightForPhoneme( char *text );
|
||
|
|
||
|
int NumPhonemes();
|
||
|
int TextToPhonemeIndex( const char *text );
|
||
|
const char *NameForPhonemeByIndex( int index );
|
||
|
int CodeForPhonemeByIndex( int index );
|
||
|
const char *DescForPhonemeByIndex( int index );
|
||
|
bool IsStandardPhoneme( int index );
|
||
|
|
||
|
#endif // PHONEMECONVERTER_H
|