Skip to content

Commit

Permalink
svp: fix phoneme dict
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulMelody committed Jan 22, 2024
1 parent e5a34ee commit ba32e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libresvip/plugins/svp/phoneme_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
(resource_dir / "phoneme_categories.json").read_text(encoding="utf-8")
)
phoneme_dictionary = {
language: bidict(xsampa_dict) if language in ["chinese", "cantonese"] else xsampa_dict
language: bidict(xsampa_dict) if language in ["mandarin", "cantonese"] else xsampa_dict
for language, xsampa_dict in json.loads(
(resource_dir / "phoneme_dictionary.json").read_text(encoding="utf-8")
).items()
Expand Down

0 comments on commit ba32e44

Please sign in to comment.