pocketsphinx
pocketsphinx copied to clipboard
get_lattice().write() does not include probabilities
I'm looking to get possible guesses for words other then those appearing in the segment list. These look to be contained in the lattice. However, I don't see how those get mapped to probabilities. Shouldn't a probability be contained on the frame line? Thanks.
Unfortunately the Sphinx lattice format doesn't include posterior probabilities, only acoustic scores, and I suppose we can't change it.
If you save the lattice in HTK format (using write_htk()
) then you will get them, in the p
field for the link definitions.