ali-to-phones --per-frame=true <model> <ali_rspec> ark,t:-alis - Vector of length M, M - number of frames gmm-compute-likes {model} {feats_rspec} ark,t:- probs[i,:] = softmax(likes[i,:]) show-transitions {model_path}/phones.txt {model_path}/final.mdl {model_path}/final.occs | grep Transition-state
# The output looks like:
# Transition-state 134: phone = ws hmm-state = 0 pdf = 43
# So I map pdf_id=43 to the 'ws' phoneme
# For j-th phoneme
probs_new[i,j] = sum(probs[i, <all pdf_ids of the phoneme j>])probs_new - Matrix MxK, K - number of phonemesi):probs_new[i,j] where phoneme j == phoneme of alis[i]d phoneme is argmax(probs_new[i,:]), i.e. phoneme with the highest probability--
Go to http://kaldi-asr.org/forums.html find out how to join
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
To post to this group, send email to kaldi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/0b395a00-effc-42ec-85a7-eae185b31ce0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ok I got it working, but there is another issue
--
Go to http://kaldi-asr.org/forums.html to find out how to join the kaldi-help group
---
You received this message because you are subscribed to a topic in the Google Groups "kaldi-help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kaldi-help/Yci5W0l-lPw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kaldi-help+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/3ac2dd69-9f15-403d-bb53-459999e01ed9n%40googlegroups.com.