Pythonic API design
未关闭
- 主要语言
- Jupyter Notebook
- 星标
- 15.1k
- 派生
- 1.8k
- PR 合并指标
- 30 天内没有已合并 PR
描述
@nshmyrev this is my idea of "pythonic" api.
```
import vosk
# print available models
print(vosk.list_models())
# auto downloads the model if not found in local
asr = vosk.load("en-us")
# word_list is optional
# if stream=True, will return iterator for partial results
# if stream=False will return final result
# default stream = False
result = asr.recognize('wav_file_path', word_list, stream=True)
```
let me know if this is ok or any changes required.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。