1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __DEVASRCOMMON_H__
17 #define __DEVASRCOMMON_H__
20 typedef TInt TDevASRError;
24 // Pre-defined Engine Parameter Identifiers starts from index 0x01
25 // User-define Engine Parameter Identifiers starts from index 0x10000 and end at index KMaxTInt.
27 const TInt KRejectionThreshold=0x01;
40 /** End of utterance event **/
41 EDevASREouDetected = 1,
42 /** Front end intialisation complete */
44 /** Back end intialisation complete */
45 EDevASRInitRecognitionBackend,
46 /** Training back end intialisation complete */
47 EDevASRInitTrainBackend,
48 /** Load grammar complete */
50 /** Load lexicon complete */
52 /** Load models complete */
54 /** Rule unloaded from grammar */
56 /** Playback complete event */
58 /** Playback started event */
60 /** Recognition complete event */
62 /** Record complete event */
64 /** Record started event */
66 /** Training completed event */
73 * Mode used to initialize the recognizer
80 /** Speaker independent recognition mode */
82 /** Speaker dependent recognition mode */
84 /** Speaker dependent training mode */
86 /** Speaker independent recognition test mode */
88 /** Speaker dependent recognition test mode */
90 /** Speaker dependent training test mode */
92 /** Speaker independent adaptation mode */
96 #endif // __DEVASRCOMMON_H__