Skip to content

Commit

Permalink
Add more tts sanitize (#2689)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzk228 authored Oct 22, 2024
1 parent 997aec2 commit 04dbd21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Content.Server/Corvax/TTS/TTSSystem.Sanitize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ private string ReplaceWord2Num(Match word)
{"с4", "Си 4"}, // cyrillic
{"c4", "Си 4"}, // latinic
{"бсс", "Бэ Эс Эс"},
{"сии", "Эс И И"},
{"ии", "И И"},
{"опз", "О Пэ Зэ"},
};

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

0 comments on commit 04dbd21

Please sign in to comment.