beam.h

来自「julius version 4.12.about sound recognit」· C头文件 代码 · 共 49 行

H
49
字号
/** * @file   beam.h *  * <JA> * @brief  妈1パスのフレ〖ム票袋ビ〖ム玫瑚脱年盗 * </JA> *  * <EN> * @brief  Definitions for frame-synchronous beam search on 1st pass. * </EN> *  * @author Akinobu LEE * @date   Mon Mar  7 15:12:29 2005 * * $Revision: 1.2 $ *  *//* * Copyright (c) 1991-2007 Kawahara Lab., Kyoto University * Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology * Copyright (c) 2005-2007 Julius project team, Nagoya Institute of Technology * All rights reserved */#ifndef __J_BEAM_H__#define __J_BEAM_H__/// token id for the 1st passtypedef int TOKENID;/// id for undefined token#define TOKENID_UNDEFINED -1/// Token to hold viterbi pass historytypedef struct {  TRELLIS_ATOM *last_tre;	///< Previous word candidate in word trellis  WORD_ID last_cword;		///< Previous context-aware (not transparent) word for N-gram  LOGPROB last_lscore;		///< Currently assigned word-internal LM score for factoring for N-gram  LOGPROB score;		///< Current accumulated score (AM+LM)  int node;			///< Lexicon node ID to which this token is assigned#ifdef WPAIR  TOKENID next;			///< ID pointer to next token at same node, for word-pair approx.#endif} TOKEN2;#define FILLWIDTH 70		///< Word-wrap character length for progressive output#endif /* __J_BEAM_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?