Skip to content

Commit

Permalink
Update TTSSystem.Sanitize.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
lzk228 authored Jan 13, 2024
1 parent b807420 commit 4ff9553
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Content.Server/Corvax/TTS/TTSSystem.Sanitize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ private string ReplaceWord2Num(Match word)
{"гсб", "Гэ Эс Бэ"},
{"гв", "Гэ Вэ"},
{"нр", "Эн Эр"},
{"км", "Кэ Эм"},
{"нра", "Эн Эр А"},
{"нру", "Эн Эр У"},
{"км", "Ка Эм"},
{"кма", "Ка Эм А"},
{"кму", "Ка Эм У"},
{"си", "Эс И"},
{"срп", "Эс Эр Пэ"},
{"цк", "Цэ Каа"},
Expand Down Expand Up @@ -130,8 +134,9 @@ private string ReplaceWord2Num(Match word)
{"мк", "Эм Ка"},
{"mk", "Эм Ка"},
{"рпг", "Эр Пэ Гэ"},
{"с4", "Си 4"}, // Russian
{"c4", "Си 4"}, // English
{"с4", "Си 4"}, // cyrillic
{"c4", "Си 4"}, // latinic
{"бсс", "Бэ Эс Эс"},
};

private static readonly IReadOnlyDictionary<string, string> ReverseTranslit =
Expand Down

0 comments on commit 4ff9553

Please sign in to comment.