ATK_Manual
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
2
Contents
1 Overview .......................................................................................................................................... 5 1.1 The ATK Library ...................................................................................................................... 5 1.2 Example ATK Configurations .................................................................................................. 6 1.3 Building an Application............................................................................................................ 8 Packets ............................................................................................................................................ 13 2.1 Generic Packet Properties ....................................................................................................... 13 2.1.1 Programming .................................................................................................................. 13 2.2 Empty Packets ........................................................................................................................ 14 2.2.1 Programming .................................................................................................................. 14 2.3 String Packets ......................................................................................................................... 14 2.3.1 Programming .................................................................................................................. 14 2.4 Command Packets .................................................................................................................. 15 2.4.1 Programming .................................................................................................................. 15 2.5 WaveData Packets .................................................................................................................. 15 2.5.1 Programming .................................................................................................................. 16 2.6 Observation Packets ............................................................................................................... 16 2.6.1 Programming .................................................................................................................. 16 2.7 Phrase Packets ........................................................................................................................ 16 2.7.1 Programming .................................................................................................................. 18 Buffers ............................................................................................................................................ 19 3.1 Programming .......................................................................................................................... 19 Components .................................................................................................................................... 21 4.1 Programming .......................................................................................................................... 21 The Monitor .................................................................................................................................... 25 5.1 Programming .......................................................................................................................... 27 5.2 Configuration Variables ......................................................................................................... 27 System Components ....................................................................................................................... 28 6.1 Audio Input (ASource) ........................................................................................................... 28 6.1.1 Configuration Variables.................................................................................................. 29 6.1.2 Run-Time Commands ..................................................................................................... 30 6.1.3 Programming .................................................................................................................. 31 6.2 Coder (ACode) ....................................................................................................................... 32 6.2.1 Configuration Variables.................................................................................................. 33 6.2.2 Run-Time Commands ..................................................................................................... 34 6.2.3 Programming .................................................................................................................. 35 6.3 Recogniser (ARec) ................................................................................................................. 36 6.3.1 Configuration Variables.................................................................................................. 39 6.3.2 Confidence Scoring ........................................................................................................ 40 6.3.3 N-Gram Language Models ............................................................................................. 41 6.3.4 Run-Time Commands ..................................................................................................... 41 6.3.5 Programming .................................................................................................................. 41 6.4 Synthesis (ASyn) .................................................................................................................... 42 6.4.1 Configuration Variables.................................................................................................. 42 6.4.2 Run-Time Commands ..................................................................................................... 42 6.4.3 Programming .................................................................................................................. 43 Resources (ARMan) ....................................................................................................................... oolkit for HTK
Version 1.6 Steve Young
Email: sjy@ Date: 1 June 2007
st
Machine Intelligence Laboratory Cambridge University Engineering Dept Trumpington Street, Cambridge, CB2 1PZ
Acknowledgements
The original ATK core was written by Steve Young in 2000/2001 following a student project undertaken by Khe Chai Sim. In addition to a variety of bug fixes and enhancements, Matt Stuttle implemented the Linux version in 2004 and restored HTK’s N-best output functionality in 2005. Hui (KK) Ye implemented and tested the CMLLR support in 2005. The contribution of the EU-sponsored Talk Project and the CMI-sponsored SCILL project during the years 2004/06 are gratefully acknowledged. Release 1.6 marks a significant upgrade with the inclusion of new support for synthesis and asynchronous audio i/o management. To enable out of the box synthesis for US English, an implementation of Alan Black’s Flite is included in the ATK distribution. Matt Stuttle, now at the Toshiba Cambridge Research Lab, continues to assist with Linux issues and he assisted with the preparation of this release. SJY June 2007