Query on converting phoneme lattice to word lattice

276 views
Skip to first unread message

Pradeep Raj

unread,
Feb 13, 2018, 6:44:46 AM2/13/18
to kaldi-help

Dear all,


I am Pradeep and have been working on understanding and modifying the lattices. At the decoding stage, I have generated the lattice (using gmm-latgen-faster) and visualized the same using utils/show-lattice.sh. A part of the word lattice is attached. Please find the attachment ‘ExampleWordLattice.png.’


In order to extract the corresponding phoneme lattice, I used ‘lattice-to-phone-lattice’ by passing appropriate arguments and visualized the same. A part of the word lattice is attached. Please find the attachment ‘ExamplePhonemeLattice.png.’


I have some queries:


1. The phoneme lattice shows the acoustic cost corresponding to particular word. Can the acoustic cost be visualized on every arc that outputs a phone?

2. Is there a provision that I can convert back phoneme-lattice to word lattice?



I hope you do the needful.


Thank you in advance.

ExampleWordLattice.png
ExamplePhoneLattice.png

Daniel Povey

unread,
Feb 13, 2018, 1:42:42 PM2/13/18
to kaldi-help

1. The phoneme lattice shows the acoustic cost corresponding to particular word. Can the acoustic cost be visualized on every arc that outputs a phone?


In general (and this relates to the lattice determinization) the acoustic costs can only be trusted if you sum them on a path from the beginning to the end of the lattice.  They may get pushed around within those sequences.
Even if this were not the case and you were to somehow visualize the costs per phone arc, they would not look meaningful.
 

2. Is there a provision that I can convert back phoneme-lattice to word lattice?



Not really, because information is lost.

Dan


 


I hope you do the needful.


Thank you in advance.

--
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+unsubscribe@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/512c8aab-600d-4350-8708-70eb855fa66a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pradeep Raj

unread,
Feb 13, 2018, 11:10:44 PM2/13/18
to kaldi-help
Thanks Dan
Reply all
Reply to author
Forward
0 new messages