Summary
The delimiter parameter to to_pinyin() has no effect
Example:
hanzi.to_pinyin("我猕猴桃过敏。", delimiter='.')
# ACTUAL OUTPUT:
# 'wǒmíhóutáoguòmǐn。'
# EXPECTED OUTPUT:
# 'wǒ.míhóutáo.guòmǐn。'
The default delimiter of empty string ' ' is not applied either:
hanzi.to_pinyin("我猕猴桃过敏。"')
# ACTUAL OUTPUT:
# 'wǒmíhóutáoguòmǐn。'
# EXPECTED OUTPUT:
# 'wǒ míhóutáo guòmǐn。'
Summary
The delimiter parameter to
to_pinyin()has no effectExample:
The default delimiter of empty string
' 'is not applied either: