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 はまだ評価されていません。