- 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
17 lines
400 B
Python
17 lines
400 B
Python
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()
|