mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
Update websocket_protocol_zh.md
This commit is contained in:
parent
cd4c6485ef
commit
5b53b8fb7b
@ -44,7 +44,7 @@ message为(采用json序列化)
|
||||
`mode`:`offline`,表示推理模式为离线文件转写
|
||||
`wav_name`:表示需要推理音频文件名
|
||||
`text`:表示语音识别输出文本
|
||||
`is_final`:表示识别结束
|
||||
`is_final`:表示识别结束,在 offline 模式下这个字段永远为 False,服务端 websocket 只会返回一次识别结果
|
||||
`timestamp`:如果AM为时间戳模型,会返回此字段,表示时间戳,格式为 "[[100,200], [200,500]]"(ms)
|
||||
`stamp_sents`:如果AM为时间戳模型,会返回此字段,表示句子级别时间戳,格式为 [{"text_seg":"正 是 因 为","punc":",","start":430,"end":1130,"ts_list":[[430,670],[670,810],[810,1030],[1030,1130]]}]
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user