mirror of
https://github.com/shivammehta25/Matcha-TTS.git
synced 2026-02-04 17:59:19 +08:00
C0209
This commit is contained in:
@@ -38,7 +38,7 @@ _whitespace_re = re.compile(r"\s+")
|
|||||||
|
|
||||||
# List of (regular expression, replacement) pairs for abbreviations:
|
# List of (regular expression, replacement) pairs for abbreviations:
|
||||||
_abbreviations = [
|
_abbreviations = [
|
||||||
(re.compile("\\b%s\\." % x[0], re.IGNORECASE), x[1])
|
(re.compile(f"\\b{x[0]}\\.", re.IGNORECASE), x[1])
|
||||||
for x in [
|
for x in [
|
||||||
("mrs", "misess"),
|
("mrs", "misess"),
|
||||||
("mr", "mister"),
|
("mr", "mister"),
|
||||||
|
|||||||
Reference in New Issue
Block a user