【文件属性】:
文件名称:react-client:将SLU API语音集成到您的React应用程序中
文件大小:63KB
文件格式:ZIP
更新时间:2021-05-03 21:48:08
react natural-language-processing typescript voice speech-recognition
通过语音完善您的触摸用户界面
| |
适用于Speech SLU API的React客户端
该存储库包含 SLU API的React客户端的源代码。 从语音上讲,您可以使用启用了语音的UI轻松构建应用程序。
查看,以获取有关如何使用此客户端构建语音过滤应用的教程。
用法
安装软件包:
# Create a new React app
create-react-app .
# Install Speechly client
npm install --save @speechly/react-client
开始使用客户端:
import React from 'react'
import { SpeechProvider , useSpeechContext } from '@speechly/react-client'
export default function App (
【文件预览】:
react-client-master
----etc()
--------react-client.api.md(3KB)
----.gitignore(302B)
----tsconfig.json(483B)
----README.md(4KB)
----.github()
--------workflows()
--------pull_request_template.md(122B)
--------ISSUE_TEMPLATE()
----.prettierrc(115B)
----docs()
--------README.md(137B)
--------interfaces()
--------modules()
--------enums()
--------classes()
----LICENSE(1KB)
----package.json(2KB)
----CONTRIBUTING.md(863B)
----src()
--------types.ts(2KB)
--------context.tsx(11KB)
--------hooks.ts(310B)
--------state.ts(836B)
--------index.ts(74B)
----config()
--------api-extractor.json(725B)
--------prepare_dist.js(2KB)
----yarn.lock(93KB)
----.eslintrc.js(691B)