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

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

?? hlabel.h

?? 隱馬爾科夫模型工具箱
?? H
字號:
/* ----------------------------------------------------------- *//*                                                             *//*                          ___                                *//*                       |_| | |_/   SPEECH                    *//*                       | | | | \   RECOGNITION               *//*                       =========   SOFTWARE                  */ /*                                                             *//*                                                             *//* ----------------------------------------------------------- *//*         Copyright: Microsoft Corporation                    *//*          1995-2000 Redmond, Washington USA                  *//*                    http://www.microsoft.com                 *//*                                                             *//*   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: HLabel.h:   Speech Label File Input           *//* ----------------------------------------------------------- *//* !HVER!HLabel:   3.2 [CUED 09/12/02] *//*    This module allows an internal data structure representing a   transcription to be constructed by reading labels from an external   file.  Each transcription consists of a list of label lists where   each label list represents one distinct interpretation of the   input.  Each time segment in a label list has a primary label.  It   can also have one or more auxiliary labels attached to it.  In    this case, each additional label corresponds to a different   level of representation.      A number of single alternative/single level input formats are   supported but multiple alternatives and multiple levels are limited   to the HTK format.      The module also provides the internal data structures needed to   support master label files and the hash table for all string to   LabId mapping.*//*  Configuration Parameters:   SOURCELABEL    - format of input label files   TARGETLABEL    - format of output label files   STRIPTRIPHONES - strip contexts from triphones   TRANSALT       - filter alt lab list on read in   TRANSLEV       - filter level on read in   TRACE          - trace level*/#ifndef _HLABEL_H_#define _HLABEL_H_#ifdef __cplusplusextern "C" {#endiftypedef struct _NameCell{  /* Hash Table Linked List Item */   char * name;             /* Label Name */   Ptr aux;                 /* User pointer */   struct _NameCell *next;  /* Chain */}NameCell;typedef NameCell *LabId;   /* Internal representation of names */  typedef struct _Label *LLink;typedef struct _Label{     /* Information for each label */   LabId labid;             /* primary label id */   float score;             /* primary score eg. logP */   LabId *auxLab;           /* array [1..maxAuxLab] OF LabId */   float *auxScore;         /* array [1..maxAuxLab] OF float */   HTime start,end;         /* Start and end times in 100ns units */   LLink succ;              /* Successor label */   LLink pred;              /* Preceding label */}Label; /* NB: head and tail of every list are dummy sentinels */typedef struct _LabList{   LLink head;              /* Pointer to head of List */   LLink tail;              /* Pointer to tail of List */   struct _LabList *next;   /* Next label list */   int maxAuxLab;           /* max aux labels (default=0) */}LabList;typedef struct {   LabList *head;          /* Pointer to head of Label List */   LabList *tail;          /* Pointer to tail of Label List */   int numLists;           /* num label lists (default=1) */}Transcription;enum _MLFDefType {   MLF_IMMEDIATE, MLF_SIMPLE, MLF_FULL};typedef enum _MLFDefType MLFDefType;enum _MLFPatType {   PAT_FIXED,     /* whole "pattern" is hashed */   PAT_ANYPATH,   /* pat is "* / name" and name is hashed */   PAT_GENERAL    /* general pattern - no hashing */};typedef enum _MLFPatType MLFPatType;typedef struct{   int fidx;      /* MLF file index in mlfile */   long offset;   /* offset into MLF file */}ImmDef;typedef union{   char *subdir;     /* Sub-directory to search for MLF_SIMPLE & MLF_FULL */   ImmDef immed;     /* Immediate Definition for MLF_IMMEDIATE */}MLFDef;typedef struct _MLFEntry{   char *pattern;       /* pattern to match for this definition */   MLFPatType patType;  /* type of pattern */   unsigned patHash;    /* hash of pattern if not general */   MLFDefType type;     /* type of this definition */   MLFDef def;          /* the actual def */   struct _MLFEntry *next;    /* next in chain */}MLFEntry;/* ------------------- Label/Name Handling ------------------- */void InitLabel(void);/*   Initialises hash table - must be called before using any of   the routines in this module.*/LabId GetLabId(char *name, Boolean insert);/*   Lookup given name in hash table and return its id.  If it   is not there and insert is true then insert the new name   otherwise return NULL.*/void PrintNameTabStats(void);/*    Print out statistics on hash table usage: string heap,   name cell heap and average search length*/Boolean ReadLabel(FILE *f, char *buf);/*   Read the next label from f into buf.  A label is any   sequence of printing chars.  Returns false if no label   found. Skips white space and puts terminator back into   f.*//* ---------- Transcription and Label List Handling --------------- *//*    MemHeap must be a STAK or a CHEAP.  For stack case, deallocation   can be by Disposing back to pointer to transcription (normally the    first object allocated) or by reseting the heap*/Transcription *CreateTranscription(MemHeap *x);/*   Create a transcription with no label lists.*/Transcription *CopyTranscription(MemHeap *x, Transcription *t);/*   Return a copy of transcription t, allocated in x.*/void PrintTranscription(Transcription *t, char *title);/*   Print transcription t (for debugging/diagnostics)*/LabList* CreateLabelList(MemHeap *x, int maxAuxLab);/*    Create and return a new label list with upto maxAuxLab    alternative labels.  This will have sentinel labels   with NULL labid fields at the head and tail.*/void AddLabelList(LabList *ll, Transcription *t);/*    Add given label list to transcription t. */LabList* GetLabelList(Transcription *t, int n);/*   Return pointer to n'th label list from transcription t indexed   1 .. numLists*/LabList* CopyLabelList(MemHeap *x, LabList* ll);/*   Return a copy of given label list, allocated in x.*/LLink CreateLabel(MemHeap *x, int maxAux);/*   create a label with maxAux auxiliary slots */LLink AddLabel(MemHeap *x, LabList *ll, LabId id,               HTime st, HTime en, float score);/*   Append a new item to end of given list and store the given info.   Return a pointer to the newly created label item*/void AddAuxLab(LLink lab, int n, LabId *auxLab, float *auxScore);/*   Store n auxiliary label/score in lab*/void DeleteLabel(LLink item);/*   Unlink given item from a label list */int NumCases(LabList *ll, LabId id);int NumAuxCases(LabList *ll, LabId id, int i);/*    find number of cases of primary label/ i'th auxiliary   label in given label list */LLink GetCase(LabList *ll, LabId id, int n);LLink GetAuxCase(LabList *ll, LabId id, int n, int i);/*   return the nth occurrence of given primary label/ i'th auxiliary   label in given label list */LLink GetLabN(LabList *ll, int n);LLink GetAuxLabN(LabList *ll, int n, int i);/*    return n'th primary label / i'th auxiliary label in given label list*/int CountLabs(LabList *ll);int CountAuxLabs(LabList *ll, int i);/*   return number of primary labels / i'th auxiliary labels in   given label list*/HTime AuxLabEndTime(LLink p, int i);/*    return the end time for the i'th aux lab in label p.  This will be    the end time of the label before the next one containing an aux lab i   or the end of the last label, whichever comes first*//* ------------------ Label File Opening/Closing -------------------- */Transcription *LOpen(MemHeap *x, char *fname, FileFormat fmt);/*   Reads the labels stored in file fname and build the internal   representation in a transcription allocated in x.  If a Master   Label File has been loaded, then that file is searched before   looking for fname directly.  If fmt is UNDEFF then source format   will be SOURCEFORMAT if set else source format will be HTK.   If TRANSALT is set to N then all but the N'th alternative is   discarded on read in.  If TRANSLEV is set to L then all but the    L'th level is discarded on read in.*/ReturnStatus SaveToMasterfile(char *fname);/*   Once called, all subsequent LSave's go to the MLF file fname   rather than to individual files.  Format must be HTK.*/void CloseMLFSaveFile(void);/*   Close the MLF output file.  Any subsequent LSave's return to   normal behaviour.*/ReturnStatus LSave(char *fname, Transcription *t, FileFormat fmt);/*    Save the given transcription in file fname.  If fmt is UNDEFF then   target format will be TARGETFORMAT if set else target format will   be HTK.*//* -------------------- TriPhone Stripping -------------------- */void TriStrip(char *s);/*    Remove contexts of form A- and +B from s */void LTriStrip(Boolean enab);/*   When enab is set, all triphone labels with the form A-B+C   are converted to B on read in by LOpen.*//* ------------------ Master Label File Handling -------------------- */void LoadMasterFile(char *fname);/*   Load the Master Label File stored in fname*/int NumMLFFiles(void);int NumMLFEntries(void);/*   Return the number of loaded MLF files and the total number of   entries in the MLF table*/FILE *GetMLFFile(int fidx);/*   Return the fidx'th loaded MLF file.  Index base is 0.*/Boolean IsMLFFile(char *fn);/*    Return true if fn is an MLF file*/MLFEntry *GetMLFTable(void);/*   Return the first entry in the MLF table*/#ifdef __cplusplus}#endif#endif  /* _HLABEL_H_ *//* ------------------------ End of HLabel.h ------------------------- */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99re这里只有精品6| 日韩欧美高清一区| 日韩一区二区不卡| 亚洲免费观看在线视频| 狠狠狠色丁香婷婷综合久久五月| 高清日韩电视剧大全免费| 777奇米四色成人影色区| 国产精品久久久久桃色tv| 老司机精品视频导航| 色哟哟一区二区在线观看| 精品国产凹凸成av人网站| 亚洲不卡一区二区三区| www.爱久久.com| 久久久国产综合精品女国产盗摄| 丝袜美腿亚洲综合| 欧美色网一区二区| 一色屋精品亚洲香蕉网站| 精品一区二区影视| 欧美一级生活片| 亚洲成人综合视频| 欧美三级日韩在线| 亚洲影院在线观看| 欧美在线观看视频一区二区| 亚洲美女视频在线观看| 91在线精品秘密一区二区| 亚洲欧洲日本在线| 成人手机在线视频| 国产精品理论片在线观看| 国产黄色成人av| 国产精品乱子久久久久| 99久久婷婷国产综合精品| 亚洲欧美一区二区三区极速播放| 91在线观看下载| 玉米视频成人免费看| 欧美偷拍一区二区| 免费在线观看精品| www激情久久| 床上的激情91.| 亚洲欧美综合另类在线卡通| 不卡一区中文字幕| 一区二区在线观看视频| 欧美午夜电影在线播放| 蜜臀av性久久久久蜜臀aⅴ| 日韩欧美一区二区不卡| 久久99精品国产.久久久久久| 精品国产污污免费网站入口| 国产一区二区在线观看免费| 国产日韩欧美不卡在线| 91网页版在线| 日韩成人av影视| 国产视频一区二区在线观看| av在线免费不卡| 亚洲成人免费在线观看| 26uuu成人网一区二区三区| 国产福利视频一区二区三区| 亚洲柠檬福利资源导航| 欧美丰满嫩嫩电影| 国产黄色精品视频| 亚洲午夜精品在线| 26uuu精品一区二区| 色94色欧美sute亚洲线路二| 美女视频一区二区三区| 亚洲欧洲精品成人久久奇米网 | 亚洲综合在线免费观看| 欧美精品成人一区二区三区四区| 国产精品一区一区三区| 亚洲欧美另类图片小说| 337p粉嫩大胆噜噜噜噜噜91av| 91免费在线看| 精品在线免费视频| 亚洲精品成人天堂一二三| 久久嫩草精品久久久精品| 欧美自拍偷拍一区| 国产很黄免费观看久久| 日本中文在线一区| 亚洲精品自拍动漫在线| 久久久亚洲午夜电影| 欧美日韩一区二区不卡| 国产精品中文字幕一区二区三区| 一区二区三区四区av| 久久亚洲综合色一区二区三区| 在线视频观看一区| 播五月开心婷婷综合| 国内精品第一页| 日本在线不卡一区| 亚洲精品亚洲人成人网| 欧美激情中文字幕一区二区| 欧美一区三区四区| 91捆绑美女网站| 国产综合一区二区| 日韩不卡一区二区| 亚洲3atv精品一区二区三区| 亚洲色图在线视频| 国产精品福利一区二区三区| 精品国产电影一区二区| 欧美日韩一区中文字幕| 91麻豆精品在线观看| 国产一区91精品张津瑜| 精品午夜久久福利影院 | 欧美日韩国产电影| 91久久免费观看| jiyouzz国产精品久久| 国产成人三级在线观看| 国产盗摄视频一区二区三区| 蜜桃久久久久久久| 蜜臀av性久久久久蜜臀av麻豆| 天天综合网天天综合色| 日韩精品一级二级| 视频精品一区二区| 免费人成在线不卡| 蜜桃视频一区二区三区在线观看| 日韩精品1区2区3区| 午夜精品福利在线| 日韩影院在线观看| 麻豆精品视频在线观看视频| 秋霞av亚洲一区二区三| 男人的j进女人的j一区| 麻豆国产精品一区二区三区| 日本v片在线高清不卡在线观看| 日本成人在线电影网| 蜜桃精品视频在线| 国产成人在线视频播放| 成人网在线播放| 99国产欧美另类久久久精品| 色88888久久久久久影院野外| 色综合天天综合网天天狠天天| 成人免费视频一区二区| 国产成人精品一区二区三区四区 | 亚洲少妇中出一区| 最近日韩中文字幕| 亚洲影院理伦片| 青青青伊人色综合久久| 国产剧情av麻豆香蕉精品| 成人天堂资源www在线| 色老汉一区二区三区| 日韩小视频在线观看专区| 久久嫩草精品久久久久| 亚洲欧美日韩国产综合| 日本成人中文字幕| 岛国一区二区三区| 欧美中文字幕亚洲一区二区va在线| 制服丝袜亚洲播放| 国产精品三级视频| 婷婷六月综合网| 国产成人日日夜夜| 在线观看亚洲一区| 欧美电视剧免费全集观看| 中文字幕在线播放不卡一区| 日本伊人精品一区二区三区观看方式| 国产乱子伦一区二区三区国色天香| 99在线精品视频| 日韩无一区二区| 亚洲欧美在线另类| 麻豆精品蜜桃视频网站| 91一区二区在线观看| 日韩一级黄色片| 夜夜嗨av一区二区三区网页 | 91视视频在线观看入口直接观看www | 欧美日韩久久久| 久久精品视频网| 天堂蜜桃一区二区三区| 波多野结衣精品在线| 91精品在线观看入口| 亚洲欧洲在线观看av| 久久99精品久久久久久久久久久久| 色综合色狠狠综合色| 久久久亚洲国产美女国产盗摄| 亚洲综合av网| 成人动漫一区二区三区| 欧美变态凌虐bdsm| 日韩激情一二三区| 日本韩国一区二区三区视频| 国产三级精品三级在线专区| 日韩av一区二区三区四区| 在线免费亚洲电影| 最新不卡av在线| 国产成人无遮挡在线视频| 精品日韩成人av| 日韩国产精品大片| 欧美视频在线观看一区二区| 自拍偷自拍亚洲精品播放| 福利一区福利二区| 337p日本欧洲亚洲大胆色噜噜| 日韩av一区二区在线影视| 欧美亚州韩日在线看免费版国语版| 国产区在线观看成人精品 | 午夜久久久久久电影| 在线欧美日韩国产| 夜夜操天天操亚洲| 97久久人人超碰| 亚洲少妇最新在线视频| jiyouzz国产精品久久| 国产精品夫妻自拍| 成人av网站在线观看| 国产欧美一区二区精品婷婷| 国产毛片一区二区| 国产日韩成人精品| 成人黄色av电影| 亚洲免费高清视频在线| 91电影在线观看|