[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2026-01-19 22:11:39 +00:00
parent 7ebef67773
commit 66178aea04
14 changed files with 16 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
""" from https://github.com/keithito/tacotron """
"""from https://github.com/keithito/tacotron"""
from matcha.text import cleaners
from matcha.text.symbols import symbols

View File

@@ -1,4 +1,4 @@
""" from https://github.com/keithito/tacotron
"""from https://github.com/keithito/tacotron
Cleaners are transformations that run over the input text at both training and eval time.

View File

@@ -1,4 +1,4 @@
""" from https://github.com/keithito/tacotron """
"""from https://github.com/keithito/tacotron"""
import re

View File

@@ -1,7 +1,8 @@
""" from https://github.com/keithito/tacotron
"""from https://github.com/keithito/tacotron
Defines the set of symbols used in text input to the model.
"""
_pad = "_"
_punctuation = ';:,.!?¡¿—…"«»“” '
_letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"