alphacep / alphacep/vosk-api

Relabeled HCL does not work with test_words.py

オープン
#907 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
15.1k
フォーク
1.8k
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

I create HCLr.fst with the following procedure:

`./utils/mkgraph_lookahead.sh --self-loop-scale 1.0 --remove-oov --compose-graph exp/chain/tdnn1g_sp_bi exp-train/chain/tdnn1g_sp_bi/graph_lookahead`

I use this HCLr with test_words.py, but it does not work because the dinamically created Gr.fst is not relabeled and not fstarcsort. If I manually create a Gr.fst including the relabeing (command below) process and use it with the HCLr.fst, then everything works fine. My question is: how do I create a HCLr.fst that can work with test_word.py?

Thank you!

`farcompilestrings --fst_type=compact --symbols=/words.txt --keep_symbols text.txt | ngramcount | ngrammake | fstrelabel --relabel_ipairs=exp-train/chain/tdnn1g_sp_bi/graph_lookahead/relabel | fstarcsort --sort_type=ilabel | fstconvert --fst_type=const > Gr.fst`

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。