Python Binding |
您所在的位置:网站首页 › wenet官网 › Python Binding |
lang (str): The language you used, chs for Chinese, and en for English. model_dir (str): is the Runtime Model directory, it contains the following files. If not provided, official model for specific lang will be downloaded automatically. final.zip: runtime TorchScript ASR model. units.txt: modeling units file TLG.fst: optional, it means decoding with LM when TLG.fst is given. words.txt: optional, word level symbol table for decoding with TLG.fst Please refer https://github.com/wenet-e2e/wenet/blob/main/docs/pretrained_models.md for the details of Runtime Model. nbest (int): Output the top-n best result. enable_timestamp (bool): Whether to enable the word level timestamp. context (List[str]): a list of context biasing words. context_score (float): context bonus score. continuous_decoding (bool): Whether to enable continuous(long) decoding. |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |