?? td_vr_defs.h
字號:
#ifndef TD_VR_DEFS_INCLUDE#define TD_VR_DEFS_INCLUDE#ifdef __cplusplus /* allow #include in a C++ file */extern "C" {#endif/* (c) Copyright Motorola 1997, All rights reserved. Motorola Confidential Proprietary Contains confidential proprietary information of Motorola, Inc. Reverse engineering is prohibited. The copyright notice does not imply publication. DESCRIPTION: This file defines the misc. constants for voice recognition. ************** REVISION HISTORY ********************************************** Date Author Reference ======== ======== ========================== 97.01.17 slam PR - CSGce06728 - Add definitions for Speaker Independent Voice Recognition (SIVR). 97.05.15 slam PR - CSGce10240 - Add definitions for Speaker Dependent Voice Recognition (SDVR). - Add definitions for Speaker Dependent Voice Recognition capture time and recognition time. *//************** HEADER FILE INCLUDES ******************************************//************** CONSTANTS *****************************************************//*****************************************//* Speaker Dependent Voice Recognition *//*****************************************//* max. number of voice tags allowed due to speech coder hardware limitation */#define TD_SCM_MAX_VOICE_TAGS 14/* max. number of repetitions that is supported in the DSP for voice recognition training*/#define TD_SCM_VR_MAX_CAPTURE_REPETITIONS 3/* max. size of active bit array in units of UINT16 length (16 bits) */#define TD_VR_MAX_ACTIVE_ARRAY_SIZE 2/* max. number of best matches for the utterance to be returned. */#define TD_VR_MAX_NBEST_MODELS 2/* window for SDVR capture in units of ms */#define TD_VR_CAPTURE_TIME 2000/* window for SDVR recognition in units of ms */#define TD_VR_RECOGNITION_TIME 2000/*****************************************//* Speaker Independent Voice Recognition *//*****************************************/#ifdef SIVR/* The following definitions are only applicable to Speaker Independent VR *//* 14 should be the maximum. However, since the system is not set up to handle conservative voice prompt requests (w/o grammar), the temporary solution for long prompt is to increase max. of voice tags to 22.*/#define TD_SCM_MAX_VOICE_TAGS 22 /* max. number of word tags allowed due to speech coder hardware limitation */#define TD_SCM_MAX_WORD_TAGS 28 /* regular recognition time at level 1 prompt in units of milliseconds */#define TD_VR_LEVEL1_RECOG_TIME 3000 /* regular recognition time at level 2 prompt in units of milliseconds */#define TD_VR_LEVEL2_RECOG_TIME 4000 /* regular recognition time at level 3 prompt in units of milliseconds */#define TD_VR_LEVEL3_RECOG_TIME 4000 /* 6 digits recognition time at level 1 prompt in units of milliseconds */#define TD_VR_6DIGITS_LEVEL1_RECOG_TIME 5000 /* 6 digits recognition time at level 2 prompt in units of milliseconds */#define TD_VR_6DIGITS_LEVEL2_RECOG_TIME 6000/************** STRUCTURES, ENUMS, AND TYPEDEFS *******************************//************** FUNCTION PROTOTYPES *******************************************//************** MACROS ********************************************************//************** CLASS DEFINITIONS *********************************************//************** GLOBAL VARIABLES **********************************************/ #endif /* SIVR */#ifdef __cplusplus}#endif#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -