cd /var/www/agent-navi && python -c "
import sys
sys.path.insert(0, '.')
from pypinyin import pinyin, Style

tests = ['万象词库', '中国語入力', '多音字处理', '声调标注']
for text in tests:
    result = pinyin(text, style=Style.TONE)
    flat = ' '.join([p[0] for p in result])
    print(f'{text} => {flat}')
"
