getwordlist.pl
来自「HTK应用程序」· PL 代码 · 共 14 行
PL
14 行
#!/usr/bin/perl# This little script will extract the full word list from any ARPA type language model# Pass language model as a parameter or on standard in; results are written to standard output# (c) Gareth Moore 2002while (<>){ if (/\\2-grams/) {exit;} if (/^\-*\d+\.\d+\s+(\S+)\s/) {print $1."\n"};}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?