| #!/usr/bin/env python3 | |
| # | |
| # Copyright 2022-2024 Xiaomi Corp. (authors: Fangjun Kuang) | |
| # | |
| # See LICENSE for clarification regarding multiple authors | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| wavs = [ | |
| "zh-chinese.wav", | |
| # | |
| "ar-arabic.wav", | |
| "bg-bulgarian.wav", | |
| "cs-czech.wav", | |
| "da-danish.wav", | |
| "de-german.wav", | |
| "el-greek.wav", | |
| "en-english.wav", | |
| "es-spanish.wav", | |
| "fa-persian.wav", | |
| "fi-finnish.wav", | |
| "fr-french.wav", | |
| "hi-hindi.wav", | |
| "hr-croatian.wav", | |
| "id-indonesian.wav", | |
| "it-italian.wav", | |
| "ja-japanese.wav", | |
| "ko-korean.wav", | |
| "nl-dutch.wav", | |
| "no-norwegian.wav", | |
| "po-polish.wav", | |
| "pt-portuguese.wav", | |
| "ro-romanian.wav", | |
| "ru-russian.wav", | |
| "sk-slovak.wav", | |
| "sv-swedish.wav", | |
| "ta-tamil.wav", | |
| "tl-tagalog.wav", | |
| "tr-turkish.wav", | |
| "uk-ukrainian.wav", | |
| ] | |
| examples = [["tiny", f"./test_wavs/{w}"] for w in wavs] | |