pyttsx3
文本朗读功能主要利用了pyttsx3
库,该库可以实现文字转语音功能
官方文档:https://pyttsx3.readthedocs.io/en/latest/engine.html
下面来看详细说明:
1 | class ReadInner(object): |
注释已经很详细了~
微软小冰
https://azure.microsoft.com/en-us/services/cognitive-services/text-to-speech/#overview
暂不知如何调用,待更