Split lattice into several lattices

82 views
Skip to first unread message

aymsagul ablimit

unread,
Aug 9, 2019, 8:40:29 AM8/9/19
to kaldi-help
Hi,

I have lat.1.gz and it has 400 lattices. I want to split the lattices into 4 files and each of them 100 lattices in it. Is there any tools or commands in kaldi to split the lattices? Thanks in advance.



Jan Trmal

unread,
Aug 9, 2019, 8:51:50 AM8/9/19
to kaldi-help
this might work
lattice-copy scp:part.1.scp ark:split.1.ark
where part.1.scp contains the lattices you want.

Have a look at Kaldi I/O in the docs  to understand, if you don't
y.


On Fri, Aug 9, 2019 at 2:40 PM aymsagul ablimit <aymsag...@gmail.com> wrote:
Hi,

I have lat.1.gz and it has 400 lattices. I want to split the lattices into 4 files and each of them 100 lattices in it. Is there any tools or commands in kaldi to split the lattices? Thanks 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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/595637f7-5fcb-4d19-b114-98d58f89ec39%40googlegroups.com.

aymsagul ablimit

unread,
Aug 9, 2019, 10:38:03 AM8/9/19
to kaldi-help
ok, thank you


On Friday, 9 August 2019 14:51:50 UTC+2, Yenda wrote:
this might work
lattice-copy scp:part.1.scp ark:split.1.ark
where part.1.scp contains the lattices you want.

Have a look at Kaldi I/O in the docs  to understand, if you don't
y.


On Fri, Aug 9, 2019 at 2:40 PM aymsagul ablimit <aymsag...@gmail.com> wrote:
Hi,

I have lat.1.gz and it has 400 lattices. I want to split the lattices into 4 files and each of them 100 lattices in it. Is there any tools or commands in kaldi to split the lattices? Thanks 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...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages