nttcslab-sp / kaldiio

A pure python module for reading and writing kaldi ark files
Other
248 stars 35 forks source link

in ark.py, below this code has a bug #32

Closed Pydataman closed 4 years ago

Pydataman commented 5 years ago

def readtoken(self, ark_read): tok = "" ch, = ark_read.read(1) while ch != ' ': tok = tok + ch ch, = ark_read.read(1) return tok

need str, not int

nttcslab-sp-admin commented 5 years ago

kaldiio doesn't have neither ark.py nor readtoken() and of course, doesn't include such code. What are you talking about?