2022/10/15
纠正词典功能支持正则表达式
#用#开头的是注释
#排序优先级为:长的普通规则>短的普通规则>正则规则
#https://learn.microsoft.com/zh-cn/azure/cognitive-services/speech-service/speech-ssml-phonetic-sets#zh-cn
#这是普通替换规则:key=value
朱重八=zhu 1 chong 2 ba 1
朱重九十=zhu 1 chong 2 jiu 3 shi 4
#这是正则替换规则:r:"^regex$"=replacement
r:"^重(?=[一二三四五六七八九十])|(?<=[一二三四五六七八九十])重$"=<phoneme alphabet='sapi' ph='chong 2'>重</phoneme>