Closed Pydataman closed 4 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
kaldiio doesn't have neither ark.py nor readtoken() and of course, doesn't include such code. What are you talking about?
ark.py
readtoken()
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