alphacep / alphacep/vosk-api

Return list of words ignored because they are missing from the vocabulary

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

説明

If you use a grammar, you will get a bunch of messages like this one:
UpdateGrammarFst():recognizer.cc:308) Ignoring word missing in vocabulary: 'snivel'
UpdateGrammarFst():recognizer.cc:308) Ignoring word missing in vocabulary: 'classifier'

Is there currently some way to directly check which words are flagged as missing? Or should I modify UpdateGrammarFst, something like this?

while (getline(ss, token, ' ')) {
int32 id = model_->word_syms_->Find(token);
if (id == kNoSymbol) {
KALDI_WARN << "Ignoring word missing in vocabulary: '" << token << "'";
missing_words.push_back(token);
} else {
sentence.push_back(id);
}
}

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

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

評価

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

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

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