为rhvoice包装器提供rhvoice库

rhvoice-wrapper-bin的Python项目详细描述


rhvoice包装箱

PyPI versionPython versionsPyPI - FormatBuild StatusBuild status

rhvoice-wrapper提供rhvoice库。取决于包含语言和声音的rhvoice-wrapper-data

如果安装了这个包,rhvoice-wrapper将默认自动使用它

在Linux上安装

这将下载并生成rhvoice,可能需要很多时间

apt-get install --no-install-recommends scons build-essential python3-pip python3-setuptools python3-wheel
pip3 install rhvoice-wrapper-bin

在Windows上安装

二进制

python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install rhvoice-wrapper-bin --only-binary rhvoice-wrapper-bin

构建

手动安装:git、Unicode NSIS和Visual Studio 2015(2013+必须有效)

python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install scons
python3 -m pip install rhvoice-wrapper-bin --no-binary rhvoice-wrapper-bin

用法

rhvoice-wrapper将自动使用指向库的路径和来自rhvoice-wrapper-bin的数据路径(当然,数据是由rhvoice-wrapper-data提供的)。

从库中获取信息
importrhvoice_wrapper_bin# All the paths will None in error# Contains path to the RHVoice libraryprint(rhvoice_wrapper_bin.lib_path)# Contains path to the RHVoice dataprint(rhvoice_wrapper_bin.data_path)# Contains path to the RHVoice libraries.print(rhvoice_wrapper_bin.LIBS_PATH)# Contains path to the rhvoice-wrapper-binprint(rhvoice_wrapper_bin.PATH)

链接

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java是用来加速集合中对象查找的哈希代码吗?   java在Servlet中执行后将JSP请求重定向到自身   JavaHTTPStatus415使用Ajax将Json数据发布到SpringMVC4也使用了SpringSecurity   java为什么谷歌应用引擎MySQL JDBC URL不与数据库连接?   多线程Java:强制停止ExecutorService线程   java使用For循环向组合框添加值   java子Git“内存不足”和“超出GC开销限制”   使用正则表达式运行计算器程序时出现java NumberFormatException   java MockMvc测试POST请求返回错误:实际调用有不同的参数:   java自动在虚拟机内移动鼠标,与真实的鼠标无关   当类位于类路径上时,java Surefire抛出SurefireReflectionException   java GroupLayout错误:找不到错误的行   SpringHibernateJava。lang.NoSuchFieldError:实例   从一个java密钥库生成多个个人证书的身份验证   java 1.6.013中的eclipse@WebServlet注释支持   java Spring Webservicetemplate连接重置错误   spring如何修复SqlRowSet上的“无效游标SQL异常”。Java中的Next()   java Websphere版本迁移