Typedefs | Functions
qisr.h File Reference

iFLY Speech Recognizer Header File More...

#include "msp_types.h"
Include dependency graph for qisr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int(* GrammarCallBack) (int, const char *, void *)
 
typedef int(* LexiconCallBack) (int, const char *, void *)
 
typedef int(MSPAPIProc_QISRAudioWrite) (const char *sessionID, const void *waveData, unsigned int waveLen, int audioStatus, int *epStatus, int *recogStatus)
 
typedef int(MSPAPIProc_QISRBuildGrammar) (const char *grammarType, const char *grammarContent, unsigned int grammarLength, const char *params, GrammarCallBack callback, void *userData)
 
typedef const char *(MSPAPIProc_QISRGetBinaryResult) (const char *sessionID, unsigned int *rsltLen, int *rsltStatus, int waitTime, int *errorCode)
 
typedef int(MSPAPIProc_QISRGetParam) (const char *sessionID, const char *paramName, char *paramValue, unsigned int *valueLen)
 
typedef const char *(MSPAPIProc_QISRGetResult) (const char *sessionID, int *rsltStatus, int waitTime, int *errorCode)
 
typedef const char *(MSPAPIProc_QISRSessionBegin) (const char *grammarList, const char *params, int *result)
 
typedef int(MSPAPIProc_QISRSessionEnd) (const char *sessionID, const char *hints)
 
typedef int(MSPAPIProc_QISRSetParam) (const char *sessionID, const char *paramName, const char *paramValue)
 
typedef int(MSPAPIProc_QISRUpdataLexicon) (const char *lexiconName, const char *lexiconContent, unsigned int lexiconLength, const char *params, LexiconCallBack callback, void *userData)
 
typedef void(* recog_error_ntf_handler) (const char *sessionID, int errorCode, const char *detail, void *userData)
 
typedef void(* recog_result_ntf_handler) (const char *sessionID, const char *result, int resultLen, int resultStatus, void *userData)
 
typedef void(* recog_status_ntf_handler) (const char *sessionID, int type, int status, int param1, const void *param2, void *userData)
 
typedef int(* UserCallBack) (int, const char *, void *)
 

Functions

int MSPAPI QISRAudioWrite (const char *sessionID, const void *waveData, unsigned int waveLen, int audioStatus, int *epStatus, int *recogStatus)
 
int MSPAPI QISRBuildGrammar (const char *grammarType, const char *grammarContent, unsigned int grammarLength, const char *params, GrammarCallBack callback, void *userData)
 
const char *MSPAPI QISRGetBinaryResult (const char *sessionID, unsigned int *rsltLen, int *rsltStatus, int waitTime, int *errorCode)
 
int MSPAPI QISRGetParam (const char *sessionID, const char *paramName, char *paramValue, unsigned int *valueLen)
 
const char *MSPAPI QISRGetResult (const char *sessionID, int *rsltStatus, int waitTime, int *errorCode)
 
int MSPAPI QISRRegisterNotify (const char *sessionID, recog_result_ntf_handler rsltCb, recog_status_ntf_handler statusCb, recog_error_ntf_handler errCb, void *userData)
 
const char *MSPAPI QISRSessionBegin (const char *grammarList, const char *params, int *errorCode)
 
int MSPAPI QISRSessionEnd (const char *sessionID, const char *hints)
 
int MSPAPI QISRSetParam (const char *sessionID, const char *paramName, const char *paramValue)
 
int MSPAPI QISRUpdateLexicon (const char *lexiconName, const char *lexiconContent, unsigned int lexiconLength, const char *params, LexiconCallBack callback, void *userData)
 

Detailed Description

iFLY Speech Recognizer Header File

This file contains the quick application programming interface (API) declarations of ISR. Developer can include this file in your project to build applications. For more information, please read the developer guide.

Use of this software is subject to certain restrictions and limitations set forth in a license agreement entered into between iFLYTEK, Co,LTD. and the licensee of this software. Please refer to the license agreement for license use rights and restrictions.

Copyright (C) 1999 - 2007 by ANHUI USTC iFLYTEK, Co,LTD. All rights reserved.

Author
Speech Dept. iFLYTEK.
Version
1.0
Date
2008/12/12
See also

History: index version date author notes 0 1.0 2008/12/12 Speech Create this file

Definition in file qisr.h.

Typedef Documentation

typedef int(* GrammarCallBack) (int, const char *, void *)

Definition at line 197 of file qisr.h.

typedef int(* LexiconCallBack) (int, const char *, void *)

Definition at line 198 of file qisr.h.

typedef int(MSPAPI* Proc_QISRAudioWrite) (const char *sessionID, const void *waveData, unsigned int waveLen, int audioStatus, int *epStatus, int *recogStatus)

Definition at line 73 of file qisr.h.

typedef int(MSPAPI* Proc_QISRBuildGrammar) (const char *grammarType, const char *grammarContent, unsigned int grammarLength, const char *params, GrammarCallBack callback, void *userData)

Definition at line 202 of file qisr.h.

typedef const char*(MSPAPI* Proc_QISRGetBinaryResult) (const char *sessionID, unsigned int *rsltLen, int *rsltStatus, int waitTime, int *errorCode)

Definition at line 118 of file qisr.h.

typedef int(MSPAPI* Proc_QISRGetParam) (const char *sessionID, const char *paramName, char *paramValue, unsigned int *valueLen)

Definition at line 159 of file qisr.h.

typedef const char*(MSPAPI* Proc_QISRGetResult) (const char *sessionID, int *rsltStatus, int waitTime, int *errorCode)

Definition at line 96 of file qisr.h.

typedef const char*(MSPAPI* Proc_QISRSessionBegin) (const char *grammarList, const char *params, int *result)

Definition at line 50 of file qisr.h.

typedef int(MSPAPI* Proc_QISRSessionEnd) (const char *sessionID, const char *hints)

Definition at line 139 of file qisr.h.

typedef int(MSPAPI* Proc_QISRSetParam) (const char *sessionID, const char *paramName, const char *paramValue)

Definition at line 182 of file qisr.h.

typedef int(MSPAPI* Proc_QISRUpdataLexicon) (const char *lexiconName, const char *lexiconContent, unsigned int lexiconLength, const char *params, LexiconCallBack callback, void *userData)

Definition at line 215 of file qisr.h.

typedef void(* recog_error_ntf_handler) (const char *sessionID, int errorCode, const char *detail, void *userData)

Definition at line 192 of file qisr.h.

typedef void(* recog_result_ntf_handler) (const char *sessionID, const char *result, int resultLen, int resultStatus, void *userData)

Definition at line 188 of file qisr.h.

typedef void(* recog_status_ntf_handler) (const char *sessionID, int type, int status, int param1, const void *param2, void *userData)

Definition at line 190 of file qisr.h.

typedef int(* UserCallBack) (int, const char *, void *)

Definition at line 196 of file qisr.h.

Function Documentation

int MSPAPI QISRAudioWrite ( const char *  sessionID,
const void *  waveData,
unsigned int  waveLen,
int  audioStatus,
int *  epStatus,
int *  recogStatus 
)
int MSPAPI QISRBuildGrammar ( const char *  grammarType,
const char *  grammarContent,
unsigned int  grammarLength,
const char *  params,
GrammarCallBack  callback,
void *  userData 
)
const char* MSPAPI QISRGetBinaryResult ( const char *  sessionID,
unsigned int *  rsltLen,
int *  rsltStatus,
int  waitTime,
int *  errorCode 
)
int MSPAPI QISRGetParam ( const char *  sessionID,
const char *  paramName,
char *  paramValue,
unsigned int *  valueLen 
)
const char* MSPAPI QISRGetResult ( const char *  sessionID,
int *  rsltStatus,
int  waitTime,
int *  errorCode 
)
int MSPAPI QISRRegisterNotify ( const char *  sessionID,
recog_result_ntf_handler  rsltCb,
recog_status_ntf_handler  statusCb,
recog_error_ntf_handler  errCb,
void *  userData 
)
const char* MSPAPI QISRSessionBegin ( const char *  grammarList,
const char *  params,
int *  errorCode 
)
int MSPAPI QISRSessionEnd ( const char *  sessionID,
const char *  hints 
)
int MSPAPI QISRSetParam ( const char *  sessionID,
const char *  paramName,
const char *  paramValue 
)
int MSPAPI QISRUpdateLexicon ( const char *  lexiconName,
const char *  lexiconContent,
unsigned int  lexiconLength,
const char *  params,
LexiconCallBack  callback,
void *  userData 
)


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54