kaldi-io-for-python icon indicating copy to clipboard operation
kaldi-io-for-python copied to clipboard

Python functions for reading kaldi data formats. Useful for rapid prototyping with python.

Results 16 kaldi-io-for-python issues
Sort by recently updated
recently updated
newest added

Can you change the hardcoded path in kaldi_io/kaldi_io.py from: ``os.environ['KALDI_ROOT']='/mnt/matylda5/iveselyk/Tools/kaldi-trunk'`` to something like: ``os.environ['KALDI_ROOT']=os.path.join(os.environ['CONDA_PREFIX'], 'bin')`` ? Maybe also instead of printing the warnings, logging would be useful so issues like...

Is it possible to add lattice I/O support in `kaldi_io` ?

is there a api to read values fram wav.scp?

Hi, Are the modifications to the `PATH` variable in lines 17-24 really necessary? If yes, I would suggest replacing the modifications with an exception if `$KALDI_ROOT` is not set, and...

I'm trying to access the features that are used for kaldi's dnn model. It looks like these matrices stored as a different type of file (Nnet3Eg, NumIo). I don't see...

As of now, only `read_mat_scp()` supports matrix ranges (as in `/path/to/file/foo.ark:5[30:40]`) I suggest moving the range parsing into `read_mat()` so that ranges are also supported for direct calls of this...

Hi, I can't correctly execute the example you provided to write the .ark and .scp files at the same time. ![error_kaldi_io](https://user-images.githubusercontent.com/45421256/80919471-4f050400-8d6a-11ea-9ae9-bfbba931bec4.PNG) If instead I create the ark file and use...

Hello, I'm getting an error when attempting to use copy-vector on the output of 'kaldi_io.write_vec_int'. Error is: "Failed to read vector from stream. : Expected token FV, got W" Goal:...

I am trying to read the alignment file using `read_ali_ark` method. My code looks like this: ``` src_file = 's5/exp/tri2_ali/ali.1.gz' abc = kaldi_io.read_ali_ark(src_file) ``` But this crashes on assert. It...