Skip to content

Commit

Permalink
fix: clear unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
narol1024 committed May 8, 2024
1 parent d5a18a9 commit 9b00e6c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1,453 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,5 @@ android/keystores/debug.keystore
# generated by bob
lib/

.env
.env
.yarn
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.1.cjs

This file was deleted.

18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ npm install react-native-tencent-asr
| appId | string | true | 腾讯云 appId |
| secretId | string | true | 腾讯云 secretId |
| secretKey | string | true | 腾讯云 secretKey |
| token | string | false |
| token | string | false | 临时token |
| projectId | number | false | 不设置默认使用0, 用于按项目管理云资源,可以对云资源进行分项目管理,详情见 https://console.cloud.tencent.com/project |
| engineModelType | string | false | 引擎模型类型, 默认16k_zh |
| voiceFormat | string | false | 音频格式, 默认为aac |
Expand All @@ -65,9 +65,9 @@ npm install react-native-tencent-asr

#### 配置参数

| 参数名称 | 类型 | 是否必填 | 参数描述 |
| -------- | :----: | :------: | ------------ |
| customizationId | string | false | 自学习模型id |
| 参数名称 | 类型 | 是否必填 | 参数描述 |
| --------------- | :----: | :------: | ------------ |
| customizationId | string | false | 自学习模型id |

```javascript
import { FlashFileRecognizerModule } from 'react-native-tencent-asr';
Expand All @@ -81,9 +81,9 @@ FlashFileRecognizerModule.configure({

#### 开始识别

| 参数名称 | 类型 | 是否必填 | 参数描述 |
| 参数名称 | 类型 | 是否必填 | 参数描述 |
| -------- | :----: | :------: | ------------ |
| filePath | string | true | 音频文件路径 |
| filePath | string | true | 音频文件路径 |

```javascript
try {
Expand Down Expand Up @@ -126,9 +126,9 @@ OneSentenceRecognizerModule.configure({

#### 一句话识别(网络URL)

| 参数名称 | 类型 | 是否必填 | 参数描述 |
| -------- | :----: | :------: | ------------ |
| url | string | true | 音频URL |
| 参数名称 | 类型 | 是否必填 | 参数描述 |
| -------- | :----: | :------: | -------- |
| url | string | true | 音频URL |

```javascript
OneSentenceRecognizerModule.recognizeWithUrl({
Expand Down

0 comments on commit 9b00e6c

Please sign in to comment.