亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? hnet.h

?? 隱馬爾科夫模型工具箱
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*   Create a new lattice structure with nn nodes and na arcs.  Arcs   are full-size.*/Lattice *NewILattice(MemHeap *heap,int nn,int na,Lattice *info);/*    Create a new lattice structure with fields initialised by info.   If nn/na == -1 the nodes/arcs will also be copied otherwise these   will be set allocated (assuming nn/na!=0) and initialised with 0.*/void FreeLattice(Lattice *lat);/*    Free up storage used by lattice*/ReturnStatus WriteLattice(Lattice *lat, FILE *file, LatFormat form);/*   Write lattice to given file, according to given format     specifier.*/Lattice *ReadLattice(FILE *file, MemHeap *heap, Vocab *voc, 		     Boolean shortArc, Boolean add2Dict);/*   Read lattice from file and creates a lattice in memory using heap.   Word names in the lattice are mapped to the internal Word type   using the Vocab voc.  If shortArc is true, then each arc is stored in   short form and cannot then support alignment information.   If add2Dict is TRUE then ReadLattice will add unseen words to voc   rather than generating an error.*/SubLatDef *AdjSubList(Lattice *lat,LabId subLatId,Lattice *subLat,int adj);/*    Adjust list of subLatDefs (and usage counts) for lattice lat to   reflect usage adjustment adj to subLat/subLatId.*/Lattice *SubLatList(Lattice *lat, Lattice *tail, int depth);/*    Create an ordered list of lattices that are sub lattices of lat,   adding them to tail in dependency order.*/Lattice *ExpandMultiLevelLattice(MemHeap *heap, Lattice *lat,Vocab *voc);/*   Take the multi-level lattice lat and expand it into a    single-level lattice using heap to create the new expanded lattice.   ExpandMultiLevelLattice returns the expanded lattice.*/Lattice *LatticeFromLabels(LabList *ll,LabId bnd,Vocab *voc,MemHeap *heap);/*   Convert label list into a lattice under to compute an alignment.  Each   word in the label list is replaced by a Word using the vocab voc.  If   bnd is not null, then it is inserted at the start and end of the label list.   This is typically used to include a silence model.*/int NumNodeFoll(NodeId n);/*    Return the number of followers (outgoing arcs) from node n*/ int NumNodePred(NodeId n);/*    Return the number of predecessors (incoming arcs) to node n */ NodeId FindLatStart(Lattice *lat);/*    Find and return the lattice start node, there can only be one*/ NodeId FindLatEnd(Lattice *lat);/*    Find and return the lattice end node, there can only be one*//*  ----------------------- Networks ------------------------ *//* Model level networks - for use with e.g. HRec  *//* Types of node that can appear in the network */enum {   n_unused,            /* Node Instance not yet assigned */   n_hmm=2,             /* Node Instance represents HMM */   n_word=4,            /* Node Instance represents word end (or null) */   n_tr0=4,             /* Entry token reaches exit in t=0 */   n_wd0=1,             /* Exit token reaches word node in t=0 */   n_wdstart=8,         /* Temporary wdstart node */   n_nocontext=15,      /* binary and with this to remove context ids */   n_lcontext=16,       /* Multiplication factor for context id */   n_rcontext=16384     /* Multiplication factor for context id */};typedef int NetNodeType; typedef struct _NetLink NetLink;typedef struct _NetInst NetInst;typedef struct _NetNode NetNode;/* The network nodes themselves just store connectivity info */struct _NetNode {   NetNodeType type;    /* Type of this node (includes context) */   union {      HLink  hmm;       /* HMM (physical) definition */      Pron   pron;      /* Word represented (may == null) */   }   info;                /* Extra information specific to type of node */   char    *tag;        /* Semantic tagging information */   int nlinks;          /* Number of nodes connected to this one */   NetLink *links;      /* Array[0..nlinks-1] of links to connected nodes */   NetInst *inst;       /* Model Instance (if one exists, else NULL) */      NetNode *chain;   int aux;};struct _NetLink{   NetNode *node;       /* Node in network */   LogFloat like;       /* Transition likelihood */};typedef struct {   MemHeap *heap;     /* heap for allocating network */   Vocab *vocab;      /* Dictionary from which words appear */   Word nullWord;     /* Word for output when word==NULL */   Boolean teeWords;  /* True if any tee words are present */   NetNode initial;   /* Initial (dummy) node */   NetNode final;     /* Final (dummy) node */   int numNode;   int numLink;   MemHeap nodeHeap;  /* a heap for allocating nodes */   MemHeap linkHeap;  /* a stack for adding the links as needed */   NetNode *chain;} Network;typedef struct hmmsetcxtinfo {   HMMSet *hset;   /* HMMSet */   int nc;         /* Number of contexts */   int xc;         /* Number of cross word contexts */   Boolean sLeft;  /* Seen left context dependency */   Boolean sRight; /* Seen right context dependency */   LabId *cxs;     /* Sorted array of labids indexed by context */   int nci;        /* Number of context independent models */   LabId *cis;     /* Sorted array of context independent labids */   int ncf;        /* Number of context free models */   LabId *cfs;     /* Sorted array of context free labids */}HMMSetCxtInfo;Network *ExpandWordNet(MemHeap *heap,Lattice *lat,Vocab *voc,HMMSet *hset);/*   ExpandWordNet converts a lattice to a network.   It uses the dictionary voc to expand each word in lat into a series   of pronunciation instances.  How this expansion is performed depends    upon the hmms that appear in hset and the value of HNet configuration   parameters, ALLOWCXTEXP, ALLOWXWRDEXP, FORCECXTEXP, FORCELEFTBI and   FORCERIGHTBI.   The expansion proceeds in four stages.   i)   Context definition.        It is necessary for the expansion routine to determine how model	names are constructed from the dictionary entries and whether	cross word context expansion should be performed.	Phones in the dictionary are classified as either	 a) Context Free.       Phone is skipped when determining context.	 b) Context Indpendent. Phone only exists in CI form.	 c) Context Dependent.  Otherwise phone needs modelsname expansion.	This classification depends on whether a phone appears in the context	part of the name (and this defines the context name) and whether	and context dependent versions of the phone exist in the HMMSet.	    ii)  Determination of network type.	The default behaviour is to try and produce the simplest network	possible. So if the dictionary is closed no expansion of phone	names is used to get model names, otherwise if word internal	context expansion will find each model this is used otherwise it	tries full cross word context expansion.	This behaviour can be modified by the configuration parameters.	If ALLOWCXTEXP==FALSE no expansion of phone names (from the	dictionary) is performed and each phone corresponds to the model	of the same name.	If ALLOWXWRDEXP==FALSE expansion across word boundaries is blocked	and although each phone still corresponds to a single model the 	phone labels can be expanded to produce a context dependent model	name.	If FORCECXTEXP==TRUE an error will be generated if no context	expansion is possible.   iii) Network expansion.        For cross word context expansion the initial and final context	dependent phones (and any preceding/following context independent	ones) are duplicated several times to allow for different cross	word contexts.  Each pronunciation instance has a word end node	for each left context in which it appears.  (!NULL words just	have these word nodes).	Otherwise each word in the lattice is expanded into its different	pronunciations and these expanded into a node for each phone 	together with a word end node.  (Again !NULL words just have the 	word end node).      iv)  Linking of models to network nodes.        Model names are determined from the phone name and the surrounding	context names.	 a)  Construct CD name and see if model exists.	 b)  Construct CI name and see if model exists.	If ALLOWCXTEXP==FALSE (a) is skipped and if FORCECXTEXP==TRUE 	(b) is skipped.  When no matching model is found and error is	generated.	The name for (a) is either a left biphone (when the right context	is a boundary or FORCELEFTBI==TRUE), a right biphone (when the left	context is a boundary or FORCERIGHTBI==TRUE) or a triphone.	The resulting name is of the [left_context-]phone[+right_context]	with the phone label coming direct from the dictionary and the 	context names coming from (i) above.	Context free phones are skipped in this process so	  sil aa r sp y uw sp sil	would be expanded as	  sil sil-aa+r aa-r+y sp r-y+uw y-uw+sil sp sil	if sil was context independent and sp was context free.   [ Stages (iii) and (iv) actually proceed concurrently to allow sharing     of logical models with the same underlying physical model for the first     and last phone of context dependent models ].*//* --- Context handling stuff useful for general network building --- */HMMSetCxtInfo *GetHMMSetCxtInfo(HMMSet *hset, Boolean frcCxtInd);/*    Create HMMSetCxtInfo for hset - possibly forced to be  CI.*/int GetHCIContext(HMMSetCxtInfo *hci,LabId labid);/*    Search hci to find appropriate context number for labid*/Boolean IsHCIContextInd(HMMSetCxtInfo *hci,LabId labid);/*    Search hci to find if labid represents a context independent model*/HLink GetHCIModel(HMMSetCxtInfo *hci,int lc,LabId name,int rc);/*    Find the appropriate model for particular context*/int AddHCIContext(HMMSetCxtInfo *hci,LabId labid);/*    Explicitly add phone into context set.   Return its context (possibly newly added).*/#ifdef __cplusplus}#endif#endif  /* _HNET_H_ */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产品国语在线不卡| 欧美不卡一区二区三区四区| 欧美a级理论片| 中文一区在线播放| 欧美片网站yy| 成人在线综合网| 偷拍亚洲欧洲综合| 国产精品成人一区二区三区夜夜夜| 在线播放视频一区| 日本高清不卡视频| 国产成人午夜高潮毛片| 美女精品一区二区| 亚洲444eee在线观看| 中文字幕亚洲欧美在线不卡| 欧美精品一区二区在线播放| 69久久夜色精品国产69蝌蚪网| 91在线观看地址| 国产资源在线一区| 日本不卡免费在线视频| 亚洲午夜影视影院在线观看| 国产精品美女久久久久久| 精品少妇一区二区三区在线视频| 欧美日韩成人综合| 在线视频一区二区三| 丁香婷婷综合色啪| 国产.欧美.日韩| 国产精一区二区三区| 日本最新不卡在线| 亚洲国产精品尤物yw在线观看| 亚洲免费毛片网站| 亚洲欧洲日产国产综合网| 日本一区二区三区高清不卡| 欧美电影免费提供在线观看| 91麻豆精品国产91久久久久久久久| 在线精品视频小说1| 色综合久久天天| 一本到高清视频免费精品| 国产传媒久久文化传媒| 精品一区二区三区av| 毛片av中文字幕一区二区| 看国产成人h片视频| 蜜臀精品一区二区三区在线观看| 日本在线不卡视频| 久久精品理论片| 麻豆精品精品国产自在97香蕉 | 亚洲人成精品久久久久| 日本一区二区三级电影在线观看| 久久久久久久久久久电影| 久久久影视传媒| 国产精品国产三级国产aⅴ原创| 中文字幕一区二区三中文字幕| 亚洲人成精品久久久久久| 一区二区高清视频在线观看| 夜夜嗨av一区二区三区中文字幕| 亚洲综合色在线| 婷婷久久综合九色综合绿巨人| 日本成人中文字幕在线视频| 精品无人区卡一卡二卡三乱码免费卡| 精品在线视频一区| 国产精品一区二区在线播放| www.久久久久久久久| 91免费观看视频| 国产精品国产三级国产普通话三级 | 精品国产一区久久| 久久久三级国产网站| 国产精品乱人伦| 亚洲综合一二区| 免费在线观看视频一区| 国产福利一区二区| 这里是久久伊人| 久久综合久久综合久久综合| 中文字幕欧美日韩一区| 亚洲在线一区二区三区| 久久99精品国产91久久来源| 99久久久无码国产精品| 欧美卡1卡2卡| 日本一二三不卡| 亚洲成人午夜电影| 国产91丝袜在线播放| 欧美中文字幕一二三区视频| 91精品国产麻豆国产自产在线| 久久久99久久精品欧美| 亚洲激情综合网| 韩国欧美一区二区| 色视频一区二区| 久久综合九色综合久久久精品综合 | 精品国精品自拍自在线| 一区在线播放视频| 美腿丝袜在线亚洲一区| 色综合天天性综合| 精品国产sm最大网站免费看| 亚洲精品中文字幕在线观看| 国产一区二区美女诱惑| 欧美日韩美少妇| 亚洲国产电影在线观看| 日韩精品一级中文字幕精品视频免费观看| 国产成人午夜精品5599| 欧美一级精品大片| 亚洲免费av观看| 国产在线看一区| 欧美日韩国产另类不卡| 综合婷婷亚洲小说| 国产精品系列在线播放| 欧美一级黄色大片| 亚洲午夜久久久久久久久电影院 | 捆绑紧缚一区二区三区视频 | 国产网站一区二区三区| 日韩国产欧美在线观看| 色域天天综合网| 国产精品欧美极品| 激情六月婷婷久久| 欧美一级日韩一级| 亚欧色一区w666天堂| 97久久精品人人澡人人爽| 国产清纯白嫩初高生在线观看91| 蜜桃av一区二区三区电影| 欧美日韩三级在线| 一区二区久久久久| 91在线高清观看| 国产精品成人一区二区艾草| 国产高清精品久久久久| 亚洲精品在线电影| 色婷婷久久一区二区三区麻豆| 欧美极品xxx| 高清成人在线观看| 精品第一国产综合精品aⅴ| 日本aⅴ免费视频一区二区三区| 欧美图片一区二区三区| 亚洲欧美一区二区三区国产精品 | 亚洲九九爱视频| 99久久精品免费看国产免费软件| 久久女同互慰一区二区三区| 国内成人自拍视频| 久久久久久久综合色一本| 精品夜夜嗨av一区二区三区| 日韩视频中午一区| 久久成人精品无人区| 2022国产精品视频| 国精产品一区一区三区mba桃花 | 亚洲欧洲精品一区二区三区不卡| 国产福利一区二区三区| 国产亚洲精久久久久久| 成人综合婷婷国产精品久久蜜臀 | av高清不卡在线| 136国产福利精品导航| 99视频精品在线| 亚洲精品国久久99热| 欧美综合欧美视频| 免费不卡在线视频| 日韩三级视频中文字幕| 国产高清久久久| 亚洲欧洲日产国产综合网| 色老头久久综合| 日韩国产欧美在线视频| 久久五月婷婷丁香社区| 成人av高清在线| 亚洲综合色区另类av| 制服视频三区第一页精品| 理论片日本一区| 中文字幕乱码久久午夜不卡| 91网站在线播放| 首页综合国产亚洲丝袜| 久久综合999| 91麻豆国产精品久久| 午夜国产不卡在线观看视频| 一级中文字幕一区二区| 欧美日韩国产成人在线免费| 国产一区二区不卡在线| 亚洲女人小视频在线观看| 欧美一区二区三区在线观看| 国产成人av电影在线播放| 亚洲自拍另类综合| 欧美成人综合网站| 成人免费毛片a| 午夜久久久久久电影| 国产亚洲福利社区一区| 欧美日韩中文字幕一区| 韩国v欧美v亚洲v日本v| 亚洲人精品一区| 欧美sm美女调教| 日本韩国精品在线| 国产精品综合一区二区| 一区二区三区毛片| 久久婷婷国产综合精品青草 | 91视视频在线观看入口直接观看www| 亚洲大片在线观看| 国产亚洲欧美激情| 91精选在线观看| 91亚洲精品久久久蜜桃网站| 美女诱惑一区二区| 一级日本不卡的影视| 久久日一线二线三线suv| 在线亚洲一区二区| 国产99久久久国产精品潘金 | 国产精品一区二区免费不卡| 亚洲一区影音先锋| 国产精品免费视频网站| 日韩欧美资源站| 欧美日韩一区三区四区| 成人av资源站|