mirror of
https://github.com/HaujetZhao/CapsWriter.git
synced 2025-07-14 05:22:09 +08:00
51 lines
1004 B
ReStructuredText
51 lines
1004 B
ReStructuredText
============================
|
||
alibabacloud-nls-java-sdk
|
||
============================
|
||
|
||
概述
|
||
-----
|
||
|
||
这是阿里巴巴智能语音交互2.0服务的Python SDK。
|
||
支持的服务:获取Token、一句话识别、实时语音识别、语音合成。
|
||
|
||
运行环境
|
||
--------
|
||
|
||
Python3.4及以上
|
||
|
||
.. note::
|
||
|
||
暂不支持Python2
|
||
|
||
|
||
安全方法
|
||
--------
|
||
|
||
请确认已安装Python包管理工具setuptools,如果没有安装,请安装:
|
||
|
||
.. code-block:: bash
|
||
|
||
$ pip install setuptools
|
||
|
||
|
||
请在SDK目录执行以下命令:
|
||
|
||
.. code-block:: bash
|
||
|
||
# 打包
|
||
$ python setup.py bdist_egg
|
||
# 安装
|
||
$ python setup.py install
|
||
|
||
|
||
.. note::
|
||
|
||
以上的pip、python命令是对应的Python3。
|
||
|
||
|
||
接口说明
|
||
--------
|
||
|
||
- `一句话识别Python SDK说明 <https://help.aliyun.com/document_detail/120693.html>`_
|
||
- `实时语音识别Python SDK说明 <https://help.aliyun.com/document_detail/120698.html>`_
|
||
- `语音合成Python SDK说明 <https://help.aliyun.com/document_detail/120699.html>`_ |