|
From: Daniel P. <dp...@gm...> - 2015-02-15 19:50:30
|
It would require a little bit of messing around to get the likelihoods for the individual phones. E.g. lattice-1best to get the 1-best transcript from the lattice (as a linear lattice), then lattice-align-phones, then gmm-rescore-lattice to recompute the acoustic scores on the lattice arcs. However, I don't think this would be very useful for you, since the two acoustic models will likely produce different alignments, so you would be comparing scores obtained from different segments of the audio. Generally speaking, the differences in likelihood between two different frames are larger than the difference in likelihood for the same frame and two different (but plausible) acoustic models. So you'll mostly be comparing irrelevant differences, even if you normalize for the numrer of frames. Dan Hi everybody, > Is there any way to compute likelihood of a an utterance, given a model > (in gmm-hmm kaldi format ), a specific phoneme and a given utterance ? > > More specifically, I need this for accent classification. I have two > acoustic models learned from American and British accents. Now given an > audio file + its transcript, I want to use Likelihood ratio test to decide > whether it is American or British accent. > > I though to compute the likelihood ratio for the most discriminative > phones. Hence after alignment in phone level I want to compute > the L(x1,...xn;Ha,PH)/L(x1,...xn;Hb,PH) > where > L is the likelihood function. > Ha and Hb are the american and British models, respectively. > PH is the phone index > x1,x2,....xn are the feature vectors of a specific phone. > > In a nut shell i need a forward algorithm for HMM. > > Thanks in advance > Saman > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Kaldi-developers mailing list > Kal...@li... > https://lists.sourceforge.net/lists/listinfo/kaldi-developers > > |