📄 lpmerge.h
字号:
/* ----------------------------------------------------------- *//* *//* ___ *//* |_| | |_/ SPEECH *//* | | | | \ RECOGNITION *//* ========= SOFTWARE */ /* *//* *//* ----------------------------------------------------------- *//* developed at: *//* *//* Speech Vision and Robotics group *//* Cambridge University Engineering Department *//* http://svr-www.eng.cam.ac.uk/ *//* *//* main authors: Valtcho Valtchev, Steve Young, *//* Julian Odell, Gareth Moore *//* ----------------------------------------------------------- *//* Copyright: *//* *//* 1994-2002 Cambridge University *//* Engineering Department *//* *//* Use of this software is governed by a License Agreement *//* ** See the file License for the Conditions of Use ** *//* ** This banner notice must not be removed ** *//* *//* ----------------------------------------------------------- *//* File: LPMerge: LM interpolation *//* ----------------------------------------------------------- *//* !HVER!LPMerge: 3.3 [CUED 28/04/05] *//* ------------------- Model interpolation ----------------- */#ifndef _LPMERGE_H#define _LPMERGE_H#ifdef __cplusplusextern "C" {#endif#define MAX_LMODEL 32typedef struct { char *fn; /* LM filename */ BackOffLM *lm; /* the language model */ float weight; /* interpolation weight */} LMInfo;void InitPMerge(void);/* Initialise module */BackOffLM *MergeModels(MemHeap *heap, LMInfo *lmInfo, int nLModel, int nSize, WordMap *wList);/* Interpolate models in lmInfo and return resulting model*/void NormaliseLM(BackOffLM *lm);/* Normalise probabilities and calculate back-off weights *//* -------------------- End of LPMerge.h ---------------------- */#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -