how can we compose with syllable lattices to get word lattices

113 views
Skip to first unread message

r12...@rguktrkv.ac.in

unread,
May 11, 2018, 6:47:18 AM5/11/18
to kaldi-help
I have syllable lattice ...for meaning full words i want to compose syllable lattices to get word lattices .. can any one help

Daniel Povey

unread,
May 11, 2018, 4:15:10 PM5/11/18
to kaldi-help
You could compose with an FST representing the word-to-syllable
mapping (something of the form L.fst, but without disambiguation
symbols-- you can remove them if present, using fstrmsymbols, or just
make sure they are not present in the first place by not giving
sil_disambig_sym to make_lexicon_fst.pl).

One way way from the command line is probably to turn the lattices
into fsts using lattice-to-fst, then compose with the lexicon-like
mapping (which should be on the right of the composition), using
fsttablecompose, then if you want you could get the best path using
fsts-to-transcripts. (You'd want to apply any acoustic scaling via an
option to lattice-to-fst).

lattice-lmrescore.cc might work for the same purpose (you could give
it the L.fst in place of G.fst... the program was not really intended
for this purpose but I think it would work).

If you have follow-up questions, please do some searching before
asking, as I am sure many aspects of my response will confuse you but
there are resources online to explain.




On Fri, May 11, 2018 at 6:47 AM, <r12...@rguktrkv.ac.in> wrote:
> I have syllable lattice ...for meaning full words i want to compose syllable
> lattices to get word lattices .. can any one help
>
> --
> 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/1f304c06-940e-4b03-8d92-0aa279d5ef4c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages