跳到正文

剪贴板

剪贴板 4731f354

原文
剪贴板信息

剪贴板信息

收录
更新

亿氪网的评分部分源码(全都是定义):

建议 vscode 食用。

C++
/**
* @file iFlySE.h
* @brief iFLY ISE SDK header file
*
* This file contains the ISE application programming interface(API) declarations
* of iFLYTEK. ISE developer can include this file in your project to build applications.
* For more information, please read the developer guide.
* Copyright (C) 1999 - 2004 by ANHUI USTC IFLYTEK. Co.,LTD.
* All rights reserved.
*
* @author Speech Dept. iFLYTEK.
* @version 3.0
* @date 2007/3/20
*
* @see
*
*  [iSESet/GetParam] ------------- Pamrameter with particular value
*   |-[category] -------------------- Test category
*   |  |-[default] -------------------- Default is set to psc
*   |  |-[psc] ------------------------ PSC
*   |  |-[demo] ----------------------- Demo
*   |  |-[ecl] ------------------------ ECL
*   |-[category_ex] ----------------- Evaluate type
*   |  |-[default] -------------------- Default is set to Normal
*	 |  |-[normal] -------------------- Normal
*   |  |-[simu] ----------------------- Simulate
*   |  |-[adaptation] ----------------- Adaptation
*   |  |-[normal_with_adapt] ---------- Normal with adaption
*   |  |-[simu_with_adapt] ------------ Simulate with adaption
*   |-[appli_archi] ----------------- Application archive
*   |  |-[default] -------------------- Default is set to single
*   |  |-[single] --------------------- Single (*)
*   |  |-[client] --------------------- Client (*)
*   |  |-[server] --------------------- Server (*)
*   |-[language] -------------------- Language
*   |   |-[default] ------------------- Default language is set to cn.
*   |   |-[cn] ------------------------ Chinese
*   |   |-[en] ------------------------ English (*)
*   |-[audio_fmt] ------------------- Format of input audio
*   |  |-[default] -------------------- Default is set to wav
*   |  |-[wav] ------------------------ wav
*   |  |-[pcm] ------------------------ pcm (*)
*   |  |-[mp3] ------------------------ mp3 (*)
*   |  |-[vox] ------------------------ vox (*)
*   |  |-[rm] ------------------------- rm (*)
*   |-[sample_rate] ----------------- Sample rate of audio
*   |  |-[default] -------------------- Default is set to 16K
*   |  |-[6000] ----------------------- 6K (*)
*   |  |-[8000] ----------------------- 8K (*)
*   |  |-[11025] ---------------------- 11.025K (*)
*   |  |-[16000] ---------------------- 16K
*   |  |-[22050] ---------------------- 22.05K (*)
*   |  |-[32000] ---------------------- 32K (*)
*   |  |-[44100] ---------------------- 44.1K (*)
*   |-[bit_rate] -------------------- Bit rate of audio
*   |  |-[default] -------------------- Default is set to 16B
*   |  |-[8] -------------------------- 8bit (*)
*   |  |-[16] ------------------------- 16bit
*   |  |-[32] ------------------------- 32bit (*)
*   |  |-[alaw] ----------------------- alaw (*)
*   |  |-[ulaw] ----------------------- ulaw (*)
*   |-[thread_lvl] ------------------ Channel num of audio
*   |  |-[default] -------------------- Default is set to normal
*   |  |-[highest] -------------------- THREAD_PRIORITY_HIGHEST
*   |  |-[above] ---------------------- THREAD_PRIORITY_ABOVE_NORMAL
*   |  |-[normal] --------------------- THREAD_PRIORITY_NORMAL
*   |  |-[below] ---------------------- THREAD_PRIORITY_BELOW_NORMAL
*   |  |-[lowest] --------------------- THREAD_PRIORITY_LOWEST
*   |-[result_kind] ----------------- Get result kind
*   |  |-[default] -------------------- Default is set to non-encrypted
*   |  |-[non_encrypted] -------------- non-encrypted
*   |  |-[encrypted] ------------------ encrypted
*
*  [iSEEAbout] ---------------------- About Information Type table
*   |-[version] ----------------------- Current version
*   |-[production] -------------------- Name of this product
*   |-[copyright] --------------------- Copyright
*   |-[developer] --------------------- Author
*   |-[publish] ----------------------- Product description
*   |-[license] ----------------------- License number
*
* @par  History:
* index version date author notes
*   0     3.0 2007/03/20 ASEE Group Create this file
*   1     3.1 2007/06/01 ASEE Group Change parameter
*/

#ifndef __IFLY_SE_H__
#define __IFLY_SE_H__

#include "ase_error.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifndef IFLYISE

#ifdef	WIN32
#ifdef	ASEE_EXPORTS
#define	ISELIBAPI __declspec(dllexport)
#else
#define	ISELIBAPI __declspec(dllimport)
#endif	/* IFLYISE_EXPORTS */
#else
#define	ISELIBAPI
#endif	/* WIN32 */

	/*
	* Basic Data Types
	*/

	/* Integer types */
	typedef int ISEINT32;
	typedef short ISEINT16;

	/* Handles */
	typedef struct HISEINST {   void * internal; } * HISEINSTANCE;
	typedef HISEINSTANCE* PHISEINSTANCE;

	/* Word types */
	typedef unsigned int ISEDWORD;
	typedef unsigned short ISEWORD;

	/* ISE Return value type */
	typedef ISEINT32 ISERETVAL;

#endif	/* IFLYISE */

	/* iFly-ISE SDK Version */
#define IFLYISE_SDK_VER 0x0101
	/* Reserved Length */
#define ISE_RESERVED_LEN 0x000E

	const int ISE_RESULT_NO_ERR     = 0x0000;		// 发音正常
	const int ISE_RESULT_PHONE      = 0x0001;		// 发音错
	const int ISE_RESULT_TONE       = 0x0002;		// 调型错
	const int ISE_RESULT_LONG_STOP  = 0x0004;		// 前面停顿过长
	const int ISE_RESULT_SHORT_STOP = 0x0008;		// 前面停顿过短
	const int ISE_RESULT_MISS       = 0x0010;		// 漏读
	const int ISE_RESULT_INSERT     = 0x0020;		// 增读
	const int ISE_RESULT_BACK       = 0x0040;		// 回读
    const int ISE_RESULT_REPLACE    = 0x0080;       // 替换

	const int ISE_RESULT_SOUND_PAUSE		 = 0x0100;	 // 不当停顿
	const int ISE_RESULT_CONTINUS_READ		 = 0x0200;	 // 不当连读
	const int ISE_RESULT_WORD_INTONATION	 = 0x0400;   // 不当语调
	const int ISE_RESULT_STRESS				 = 0x0800;	 // 不当重读
	const int ISE_RESULT_SENTENCE_INTONATION = 0x1000;   // 不当句末升降调

	// callback function
	typedef int (*ISECALLBACK)(void* hInst, unsigned int eEventID, size_t wParam, unsigned int lParam, void* pUserData);
	typedef int (*ISECALLBACK_IN)(unsigned int eEventID, size_t wParam, unsigned int lParam, void* pUserData);

	// 评测文本单元层级信息(用于获取结果)
	typedef struct tagISEPaperLevel
	{
		int	item_index;			//子任务序号
		int	sent_index;			//句序号
		int	word_index;			//词序号
		int	syllable_index;		//音节序号
		int	phone_index;		//音素序号
	} ISEPaperLevel,* pISEPaperLevel;

	// 评测单元打分结果(用于获取结果)
	typedef struct tagISEScoreResult
	{
		float	total_score;			//总分
		float	intelligibility_score;	//可懂度分
		float	phone_score;			//声韵准确度分
		float	tone_score;				//调型准确度分
		float	fluency_score;			//流畅度分
		float	imitate_score;			//跟读相似度分
		float	emotion_score;			//情感得分
		float	integrity_score;		//完整度分
		float	accuracy_score;			//正确度得分
		float	standard_score;			//标准度分
		float	speed_score; 		    //保留分2-->英文中话题表述题语速分
		float   fc_score;
		float   gra_score;
		float   lr_score;
		float   pron_score;

	} ISEScoreResult,* pISEScoreResult;

	//语法单元类型
	enum ISEUnitType
	{
		ISEUTPaper = 0,	// 试卷
		ISEUTPart,		// 题
		ISEUTSentence,	// 句子
		ISEUTWord,		// 单词、中文单字
		ISEUTSyllable,	// 音节
		ISEUTPhoneme,	// 音素
		ISEUTRubbish,	// 垃圾
		ISEUTInterWord,	// 词间的单元
	};

	//单元朗读状态
	enum ISEUnitReadStatus
	{
		unread		= 0,		//未读
		checking	= 1,		//正在检测
		hasread		= 2,		//已读
		reread		= 3			//重读(由应用层自己判断即可)
	};

	//自动跟踪和评测的信息项
	struct ISEUnitInfo
	{
		ISEUnitType	unit_type;						//单元类型, 音素,音节,单词,句子...
		int	unit_index;								//单元全局序号(基0)
		ISEUnitReadStatus	unit_read_status;		//单元朗读状态

		int	unit_errcheck_status;					//单元检错结果
		int	unit_score;								//单元打分值(乘以100取整,下同)
		int	unit_accuracy;							//单元准确度分
		int unit_fluency;							//单元流畅度分
		int	unit_score_confidence;					//单元打分置信度
		unsigned time_beg;							//单元的开始帧
		unsigned time_end;							//单元的结束帧

		ISEUnitInfo()
		{
			unit_type = ISEUTPaper;
			unit_index = 0;
			unit_read_status = unread;
			unit_errcheck_status = 0;
			unit_score = -1;
			unit_accuracy = -1;
			unit_fluency = -1;
			unit_score_confidence = -1;
			time_beg = 0;
			time_end = 0;
		}

		ISEUnitInfo(const ISEUnitInfo& obj)
		{
			unit_type				= obj.unit_type;
			unit_index				= obj.unit_index;
			unit_read_status		= obj.unit_read_status;
			unit_errcheck_status	= obj.unit_errcheck_status;
			unit_score				= obj.unit_score;
			unit_accuracy			= obj.unit_accuracy;
			unit_fluency			= obj.unit_fluency;
			unit_score_confidence	= obj.unit_score_confidence;
			time_beg				= obj.time_beg;
			time_end				= obj.time_end;
		}

		ISEUnitInfo& operator=(const ISEUnitInfo& obj)
		{
			if (this != &obj)
			{
				unit_type				= obj.unit_type;
				unit_index				= obj.unit_index;
				unit_read_status		= obj.unit_read_status;
				unit_errcheck_status	= obj.unit_errcheck_status;
				unit_score				= obj.unit_score;
				unit_accuracy			= obj.unit_accuracy;
				unit_fluency			= obj.unit_fluency;
				unit_score_confidence	= obj.unit_score_confidence;
				time_beg				= obj.time_beg;
				time_end				= obj.time_end;
			}
			return (*this);
		}
	};

#ifndef ISERESULT_DEF
#define ISERESULT_DEF

	typedef struct tagISEResult
	{

	}ISEResult, *PISEResult;

#endif	/* ISERESULT_DEF */

	/**
	* @ brief ISEGetParam
	*
	* Get Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @see
	*/
	ISERETVAL ISELIBAPI iSEInitialize(void* pvReserved);
	typedef int (* Proc_iSEInitialize)(void* pvReserved);

	/**
	* @ brief ISEGetParam
	*
	* Get Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @see
	*/
	ISERETVAL ISELIBAPI iSEUninitialize();
	typedef int (* Proc_iSEUninitialize)();

	/**
	* @ brief ISEGetParam
	*
	* Get Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @see
	*/
	ISERETVAL ISELIBAPI iSECreateInstance(PHISEINSTANCE phISEInst
		, char* pAddress
		, void* pvReserved);
	typedef int (* Proc_iSECreateInstance)(PHISEINSTANCE phISEInst
		, char* pAddress
		, void* pvReserved);

	/**
	* @ brief ISEGetParam
	*
	* Get Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @see
	*/
	ISERETVAL ISELIBAPI iSEDestroyInstance(PHISEINSTANCE phISEInst);
	typedef int (* Proc_iSEDestroyInstance)(PHISEINSTANCE phISEInst);

    ISERETVAL ISELIBAPI iSEResetInstance(HISEINSTANCE hISEInst, void* pvReserved);
    typedef int (* Proc_iSEResetInstance)(HISEINSTANCE hISEInst, void* pvReserved);
	/**
	* @ brief ISEGetParam
	*
	* Get Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @see
	*/
	ISERETVAL ISELIBAPI iSEOfflineProcess(HISEINSTANCE hISEInst
		, const char* pText
		, int nTextLen
		, const char* pEvalData
		, int nDataLen
		, ISECALLBACK fnISECallBack
		, void* pvUserData
		, bool  bAsync);
	typedef int (* Proc_iSEOfflineProcess)(HISEINSTANCE hISEInst
		, const char* pText
		, int nTextLen
		, const char* pEvalData
		, int nDataLen
		, ISECALLBACK fnISECallBack
		, void* pvUserData
		, bool  bAsync);

	/**
	* @ brief ISESetParam
	*
	* Set Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.
	*  ISE_ERROR_NOT_INIT: ISEInitialize has not been correctly called.
	*  ISE_ERROR_INVALID_HANDLE: The param ise_inst is NULL, or the handle is invalid.
	*  ISE_ERROR_INVALID_PARA: The param param is NULL.
	*  ISE_ERROR_INVALID_PARA_VALUE: The param value is NULL.
	*  ISE_ERROR_BUFFER_NOT_ENOUGH: The buffer of shared memory map is not enough, so the communication between proxy and stub is failed.
	*  ISE_ERROR_NOT_SUPPORT: The param or value is not supported.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @param const char * szparam		-[in] Parameter name
	* @param const char * szParamVal    -[in] Parameter value to set
	* @param const char * nValLen		-[in] Parameter value length
	* @see
	*/
	ISERETVAL ISELIBAPI iSESetParam(HISEINSTANCE hISEInst
		, const char* szParam
		, const char* szParamVal
		, int nValLen);
	typedef int (* Proc_iSESetParam)(HISEINSTANCE hISEInst
		, const char* szParam
		, const char* szParamVal
		, int nValLen);

	/**
	* @ brief ISEGetParam
	*
	* Get Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @param const char * szparam		-[in] Parameter name
	* @param	   char * szParamVal    -[in] return Parameter value
	* @param	    int * nValLen		-[in] retrun Parameter value length
	* @see
	*/
	ISERETVAL ISELIBAPI iSEGetParam(HISEINSTANCE hISEInst
		, const char* szParam
		, char* pValueBuf
		, int* pnBufLen);
	typedef int (* Proc_iSEGetParam)(HISEINSTANCE hISEInst
		, const char* szParam
		, char* pValueBuf
		, int* pnBufLen);

	/**
	* @ brief ISEGetParam
	*
	* Get Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @see
	*/
	ISERETVAL ISELIBAPI iSECheckRec(HISEINSTANCE hISEInst
		, const char* pAudioData
		, int nDataLen
		, float* pfOptiPos
		, void* pvReserved);
	typedef int (* Proc_iSECheckRec)(HISEINSTANCE hISEInst
		, const char* pAudioData
		, int nDataLen
		, float* pfOptiPos
		, void* pvReserved);

	/**
	* @ brief ISEGetParam
	*
	* Get Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @see
	*/
	ISERETVAL ISELIBAPI iSEInputBegin(HISEINSTANCE hISEInst
		, const char* pText
		, int nTextLen
		, ISECALLBACK fnISECallBack
		, void* pvUserData);
	typedef int (* Proc_iSEInputBegin)(HISEINSTANCE hISEInst
		, const char* pText
		, int nTextLen
		, ISECALLBACK fnISECallBack
		, void* pvUserData);

	/**
	* @ brief iSEReloadAuthOr
	*
	* Get Reload OR parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @see
	*/
	ISERETVAL ISELIBAPI iSEReloadAuthOr(const char* pAuthOrData, int nDataLen);
	typedef int (* Proc_iSEReloadAuthOr)(const char* pAuthOrData, int nDataLen);

	/**
	* @ brief ISEGetParam
	*
	* Get Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @see
	*/
	ISERETVAL ISELIBAPI iSEInputAppend(HISEINSTANCE hISEInst
		, const char* pEvalData
		, int nDataLen);
	typedef int (* Proc_iSEInputAppend)(HISEINSTANCE hISEInst
		, const char* pEvalData
		, int nDataLen);

	/**
	* @ brief ISEGetParam
	*
	* Get Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @see
	*/
	ISERETVAL ISELIBAPI iSEInputFinish(HISEINSTANCE hISEInst
		, void* pvReserved);
	typedef int (* Proc_iSEInputFinish)(HISEINSTANCE hISEInst
		, void* pvReserved);

	/**
	* @ brief ISEGetParam
	*
	* Get Evaluation parameters
	*    refer to the reference documentation for parameter descriptions and legal values
	*
	* @author iFLYTEK
	* @return
	*  ISE_SUCCESS: It is successful.

	* @param HISEINSTANCE hISEInst      -[in] Evaluation handle
	* @see
	*/
	ISERETVAL ISELIBAPI iSECancel(HISEINSTANCE hISEInst
		, void* pvReserved);
	typedef int (* Proc_iSECancel)(HISEINSTANCE hISEInst
		, void* pvReserved);

    ISERETVAL ISELIBAPI iSEGetSerializeSize(HISEINSTANCE hISEInst
        , int* pnSize);
    typedef int (* Proc_iSEGetSerializeSize)(HISEINSTANCE hISEInst
        , int* pnSize);

    ISERETVAL ISELIBAPI iSESerializeInstance(HISEINSTANCE hISEInst
        , char* pByteStream
        , int nSize);
    typedef int (* Proc_iSESerializeInstance)(HISEINSTANCE hISEInst
        , char* pByteStream
        , int nSize);

    ISERETVAL ISELIBAPI iSEUnSerializeInstance(HISEINSTANCE hISEInst
        , const char* pByteStream
        , int nSize);
    typedef int (* Proc_iSEUnSerializeInstance)(HISEINSTANCE hISEInst
        , const char* pByteStream
        , int nSize);

    ISERETVAL ISELIBAPI iSEFinalProcess(HISEINSTANCE hISEInst
        , void* pvReserved);
    typedef int (* Proc_iSEFinalProcess)(HISEINSTANCE hISEInst
        , void* pvReserved);

    ISERETVAL ISELIBAPI iSEGetStatus(HISEINSTANCE hISEInst
        , int* pStatus);
    typedef int (* Proc_iSEGetStatus)(HISEINSTANCE hISEInst
        , int* pStatus);

	ISERETVAL ISELIBAPI iSEGetResult(HISEINSTANCE hISEInst
		, pISEPaperLevel pSubLevel
		, pISEScoreResult pScore
		, int* pnPronError
		, int* pnSpeechException
		, char* pUnitName
		, unsigned* npTimeBegin
		, unsigned* npTimeEnd);
    typedef int (* Proc_iSEGetResult)(HISEINSTANCE hISEInst
		, pISEPaperLevel pSubLevel
		, pISEScoreResult pScore
		, int* pnPronError
		, int* pnSpeechException
		, char* pUnitName
		, unsigned* npTimeBegin
		, unsigned* npTimeEnd);

    ISERETVAL ISELIBAPI iSEGetResultEx(HISEINSTANCE hISEInst
        , pISEPaperLevel pSubLevel
        , char* pResultExType
        , char* pResultEx
        , unsigned nSize);
    typedef int (* Proc_iSEGetResultEx)(HISEINSTANCE hISEInst
        , pISEPaperLevel pSubLevel
        , char* pResultExType
        , char* pResultEx
        , unsigned nSize);

    ISERETVAL ISELIBAPI iSEGetResultXMLSize(HISEINSTANCE hISEInst,
        int* pnSize);
    typedef int (* Proc_iSEGetResultXMLSize)(HISEINSTANCE hISEInst,
        int* pnSize);

    ISERETVAL ISELIBAPI iSEGetResultXML(HISEINSTANCE hISEInst
        , char* szXmlData
        , int  nDataLen
        , void* pvReserved
        );
    typedef int (* Proc_iSEGetResultXML)(
        HISEINSTANCE hISEInst
        , char* szXmlData
        , int  nDataLen
        , void* pvReserved
        );

    ISERETVAL ISELIBAPI iSELoadUserModel(const char* szFileName
        , int* phModelHandle
        , char* szIdentification
        , void* pvReserved);
    typedef int (* Proc_iSELoadUserModel)(const char* szFileName
        , int* phModelHandle
        , char* szIdentification
        , void* pvReserved);

    ISERETVAL ISELIBAPI iSEUnloadUserModel(int hModelHandle);
    typedef int (* Proc_iSEUnloadUserModel)(int hModelHandle);

    ISERETVAL ISELIBAPI iSEBindUserModel(HISEINSTANCE hISEInst
        , int hModelHandle
        , ISEDWORD dwUseMode);
    typedef int (* Proc_iSEBindUserModel)(HISEINSTANCE hISEInst
        , int hModelHandle
        , ISEDWORD dwUseMode);

    ISERETVAL ISELIBAPI iSESaveUserModel(HISEINSTANCE hISEInst
        , const char* szFileName
        , const char* szIdentification);
    typedef int (* Proc_iSESaveUserModel)(HISEINSTANCE hISEInst
        , const char* szFileName
        , const char* szIdentification);

    ISERETVAL ISELIBAPI iSEAbout(const char* szInfoKey
        , char* pValueBuf
        , int* pnBufLen);
    typedef int (* Proc_iSEAbout)(const char* szInfoKey
        , char* pValueBuf
        , int* pnBufLen);

    ISERETVAL ISELIBAPI iSEStdAudioPreProcess(const char* pText
        , int nTextLen
        , const char* pEvalData
        , int nDataLen
        , char* pEdgePitchInfo
        , int* pEdgePitchInfoLen
        , char* pNormaledText
        , int* pNormaledTextLen
        , const char* pCategoryKind);
    typedef int (* Proc_iSEStdAudioPreProcess)(const char* pText
        , int nTextLen
        , const char* pEvalData
        , int nDataLen
        , char* pEdgePitchInfo
        , int* pEdgePitchInfoLen
        , char* pNormaledText
        , int* pNormaledTextLen
        , const char* pCategoryKind);


    ISERETVAL ISELIBAPI iSEGenVerifyingMsg(char* pVerifyingMsg
        , int* pnMsgLen);
    typedef int (* Proc_iSEGenVerifyingMsg)(char* pVerifyingMsg
        , int* pnMsgLen);

    ISERETVAL ISELIBAPI iSEVerifySignature(const char* pSignature
        , int nSignatureLen);
    typedef int (* Proc_iSEVerifySignature)(const char* pSignature
        , int nSignatureLen);

    ISERETVAL ISELIBAPI iSESignVerifyingMsg(const char* pVerifyingMsg
        , int nMsgLen
        , char* pSignature
        , int* pSignatureLen);
    typedef int (* Proc_iSESignVerifyingMsg)(const char* pVerifyingMsg
        , int nMsgLen
        , char* pSignature
        , int* pSignatureLen);

    ISERETVAL ISELIBAPI iSEDecryptResource(const char * pActiveKey);
    typedef int (* Proc_iSEDecryptResource)(const char * pActiveKey);

    ISERETVAL ISELIBAPI iSEUpdateScore(const char* pText
        , int nTextLen
        , const float* pInScore
        , float* pOutScore
        , int nItemCnt);
    typedef int (* Proc_iSEUpdateScore)(const char* pText
        , int nTextLen
        , const float* pInScore
        , float* pOutScore
        , int nItemCnt);

    ISERETVAL ISELIBAPI iSEGetResultBinSize(HISEINSTANCE hISEInst
        ,int* pnSize);
    typedef int (* Proc_iSEGetResultBinSize)(HISEINSTANCE hISEInst
        ,int* pnSize);
    ISERETVAL ISELIBAPI iSEGetResultBin(HISEINSTANCE hISEInst
        , char* szBinData
        , int  nDataLen
        , void* pvReserved);
    typedef int (* Proc_iSEGetResultBin)(HISEINSTANCE hISEInst
        , char* szBinData
        , int  nDataLen
        , void* pvReserved);

	//评测引擎添加标注接口  yqguo3
	ISERETVAL ISELIBAPI iSEParsePaper(HISEINSTANCE hISEInst
		, const char* szInputBuf
		, int nInputLen
		, char* pOutputBuf
		, int* pnOutputLen
		, char* pOutputBufEx
		, int* pnOutputLenEx);
	typedef int (* Proc_iSEParsePaper)(HISEINSTANCE hISEInst
		, const char* szInputBuf
		, int nInputLen
		, char* pOutputBuf
		, int* pnOutputLen
		, char* pOutputBufEx
		, int* pnOutputLenEx);
#ifdef __cplusplus
}	/* extern "C" */
#endif

#endif	/* __IFLY_SE_H__ */