feat: Release v0.10 - Modular Architecture & External Config
- Refactor codebase into src/ (preprocessing, translation, assembly) - Add pipeline/ scripts for individual stages - Externalize configuration to config/config.yaml - Fix Cover Image preservation - Update documentation and manuals
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from src.utils import add_spacing_between_cn_and_en_num
|
||||
|
||||
cases = [
|
||||
"在全φ1φ员会议",
|
||||
"全φ1φ员",
|
||||
"φ1φTable Talkφ/1φ",
|
||||
"测试φ12φ测试",
|
||||
"测试φ/12φ测试"
|
||||
]
|
||||
|
||||
for text in cases:
|
||||
processed = add_spacing_between_cn_and_en_num(text)
|
||||
print(f"Original: '{text}'")
|
||||
print(f"Processed: '{processed}'")
|
||||
print(f"Changed: {text != processed}")
|
||||
print()
|
||||
Reference in New Issue
Block a user