Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help is wanted] Support decoding wav.scp #68

Open
csukuangfj opened this issue Jan 12, 2023 · 0 comments
Open

[Help is wanted] Support decoding wav.scp #68

csukuangfj opened this issue Jan 12, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@csukuangfj
Copy link
Collaborator

We have code for decoding a single file
https://github.com/k2-fsa/sherpa-ncnn/blob/master/python-api-examples/decode-file.py

It is nice to support decoding a list of files, e.g., wav.scp.

A wav.scp is a text file and it looks like the following

utt_id_1 /path/to/foo.wav
utt_id_2 /path/to/bar.wav

The decoding results shall be saved into a text file named text, which has the following format:

utt_id_1 recognition result for this file
utt_id_2 recognition result for this file

Please post a comment here if you are interested in this issue. We can provide any help we could.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant