Skip to content

Commit

Permalink
more tts sanitize
Browse files Browse the repository at this point in the history
сссп
сии
ии
опз
  • Loading branch information
lzk228 committed Oct 17, 2024
1 parent 87496d0 commit c2d71a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 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,10 @@ private string ReplaceWord2Num(Match word)
{"с4", "Си 4"}, // cyrillic
{"c4", "Си 4"}, // latinic
{"бсс", "Бэ Эс Эс"},
{"сссп", "Эс Эс Эс Пэ"},
{"сии", "Эс И И"},
{"ии", "И И"},
{"опз", "о пэ зэ"},
};

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

0 comments on commit c2d71a3

Please sign in to comment.