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

@@ -9,8 +9,8 @@ import utils
from config import config
from style_bert_vits2.logging import logger
from style_bert_vits2.models import commons
from style_bert_vits2.text_processing import cleaned_text_to_sequence, extract_bert_feature
from style_bert_vits2.text_processing.japanese import pyopenjtalk_worker as pyopenjtalk
from style_bert_vits2.nlp import cleaned_text_to_sequence, extract_bert_feature
from style_bert_vits2.nlp.japanese import pyopenjtalk_worker as pyopenjtalk
from style_bert_vits2.utils.stdout_wrapper import SAFE_STDOUT
pyopenjtalk.initialize()