Refactor: rename text_processing to nlp

"text_processing" is clearer, but the import statement is longer.
"nlp" is shorter and makes it clear that it is natural language processing.
This commit is contained in:
tsukumi
2024-03-08 06:20:44 +00:00
parent 8add1b4202
commit fac4f9a8ab
38 changed files with 54 additions and 54 deletions

View File

@@ -7,8 +7,8 @@ from style_bert_vits2.logging import logger
from style_bert_vits2.models import commons
from style_bert_vits2.models.models import SynthesizerTrn
from style_bert_vits2.models.models_jp_extra import SynthesizerTrn as SynthesizerTrnJPExtra
from style_bert_vits2.text_processing import clean_text, cleaned_text_to_sequence, extract_bert_feature
from style_bert_vits2.text_processing.symbols import SYMBOLS
from style_bert_vits2.nlp import clean_text, cleaned_text_to_sequence, extract_bert_feature
from style_bert_vits2.nlp.symbols import SYMBOLS
def get_net_g(model_path: str, version: str, device: str, hps):