API for V3 (#2154)

This commit is contained in:
KamioRinn
2025-03-05 17:13:46 +08:00
committed by GitHub
parent 6dd2f72090
commit fe2f04bdb8
4 changed files with 226 additions and 55 deletions

View File

@@ -17,6 +17,8 @@ pinyin_to_symbol_map = {
for line in open(os.path.join(current_file_path, "opencpop-strict.txt")).readlines()
}
import jieba_fast, logging
jieba_fast.setLogLevel(logging.CRITICAL)
import jieba_fast.posseg as psg