UniMRCP  1.3.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mrcp_recog_resource.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2014 Arsen Chaloyan
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * $Id: mrcp_recog_resource.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17  */
18 
19 #ifndef MRCP_RECOG_RESOURCE_H
20 #define MRCP_RECOG_RESOURCE_H
21 
22 /**
23  * @file mrcp_recog_resource.h
24  * @brief MRCP Recognizer Resource
25  */
26 
27 #include "mrcp_types.h"
28 
30 
31 /** MRCP recognizer methods */
32 typedef enum {
33  RECOGNIZER_SET_PARAMS,
34  RECOGNIZER_GET_PARAMS,
35  RECOGNIZER_DEFINE_GRAMMAR,
36  RECOGNIZER_RECOGNIZE,
37  RECOGNIZER_INTERPRET,
38  RECOGNIZER_GET_RESULT,
39  RECOGNIZER_START_INPUT_TIMERS,
40  RECOGNIZER_STOP,
41  RECOGNIZER_START_PHRASE_ENROLLMENT,
42  RECOGNIZER_ENROLLMENT_ROLLBACK,
43  RECOGNIZER_END_PHRASE_ENROLLMENT,
44  RECOGNIZER_MODIFY_PHRASE,
45  RECOGNIZER_DELETE_PHRASE,
46 
47  RECOGNIZER_METHOD_COUNT
49 
50 /** MRCP recognizer events */
51 typedef enum {
52  RECOGNIZER_START_OF_INPUT,
53  RECOGNIZER_RECOGNITION_COMPLETE,
54  RECOGNIZER_INTERPRETATION_COMPLETE,
55 
56  RECOGNIZER_EVENT_COUNT
58 
59 /** Create MRCP recognizer resource */
61 
63 
64 #endif /* MRCP_RECOG_RESOURCE_H */