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

Not working with CommonVoice data #6

Open
smddzcy opened this issue Apr 12, 2020 · 0 comments
Open

Not working with CommonVoice data #6

smddzcy opened this issue Apr 12, 2020 · 0 comments

Comments

@smddzcy
Copy link

smddzcy commented Apr 12, 2020

Hey! First of all, thanks for this great little helper.

I think CommonVoice recently changed its download format and this library is not working with that anymore. I had to download the files manually, convert .tsv files to .csv (yes, CV gives you .tsv now), change a bit of code in downloader.py to make it work. Just letting you know.

Small Perl script for .tsv -> .csv conversion = perl -lpe 's/"/""/g; s/^|$/"/g; s/\t/","/g' < input.tsv > output.csv
Also I changed line 193 in downloader.py, ...['/cv-other-train.csv to ...['/train.tsv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant