Dev kemurin (#287)

* update deps for windows

* update reqs & README

* update README.md

* update README.md

* use wetext to replace WeTextProcessing on windows

---------

Co-authored-by: wangyining02 <wangyining02@bilibili.com>
This commit is contained in:
kemuriririn 2025-09-08 22:14:34 +08:00 committed by GitHub
parent 9d4776b082
commit 050a4c821e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,7 +91,7 @@ class TextNormalizer:
import platform
if self.zh_normalizer is not None and self.en_normalizer is not None:
return
if platform.system() == "Darwin":
if platform.system() == "Darwin" or platform.system() == "Windows":
from wetext import Normalizer
self.zh_normalizer = Normalizer(remove_erhua=False, lang="zh", operator="tn")