13 Commits
Author SHA1 Message Date
dio 724a085855 fix(runtime): close online 2pass sentence state
Keep online mode from returning 2pass-offline text while still closing final sentence state so the next utterance starts cleanly.
2026-07-22 18:07:37 +08:00
a3fb72e9cb feat(runtime): add sentence-level timestamps to WebSocket 2pass server (#2969)
* 修改FunASR实时识别框架,实时识别时2pass模式下支持框架层面返回句子级别的时间戳,单位毫秒

* 修改FunASR实时识别框架,实时识别时2pass模式下支持框架层面返回句子级别的时间戳,单位毫秒

* 新增识别相关标识字段

* 2pass模式返回字段新增对话开始时间戳

* 生产适配

* Update runtime/websocket/bin/websocket-server-2pass.cpp

svs_lang=auto

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: pengkun <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-06-10 01:58:31 -07:00
雾聪 1819303f5e support SenseVoiceSmall in 2pass mode 2024-10-29 11:40:18 +08:00
雾聪 652627e6df update ERROR msg 2024-01-23 15:50:20 +08:00
雾聪 ff36c82adc replace NULL for websocket/bin/ 2024-01-15 16:37:11 +08:00
雾聪 6be2975020 json stamp_sents 2024-01-08 16:51:27 +08:00
Yabin Li b8825902d9 support ngram and fst hotword for 2pass-offline (#1205) 2023-12-26 10:51:00 +08:00
雾聪 f72914003a add sentence timestamp 2023-12-18 17:33:24 +08:00
雾聪 de87e1d180 adapted pcm to 8k 2023-12-13 13:57:59 +08:00
雾聪 467186eec4 fix bug of websocket lock blocking 2023-11-30 19:08:38 +08:00
雾聪 74cf8b65b2 fix the issue of hotwords_embedding potentially being a null pointer 2023-11-16 11:12:20 +08:00
雾聪 3a45253eb5 fixing server crash caused by JSON parsing error 2023-11-10 13:43:27 +08:00
702ec03ad8 Dev new (#1065)
* add hotword for deploy_tools

* Support wfst decoder and contextual biasing (#1039)

* Support wfst decoder and contextual biasing

* Turn on fstbin compilation

---------

Co-authored-by: gongbo.gb <[email protected]>

* mv funasr/runtime runtime

* Fix crash caused by OOV in hotwords list

* funasr infer

* funasr infer

* funasr infer

* funasr infer

* funasr infer

* fix some bugs about fst hotword; support wfst for websocket server and clients; mv runtime out of funasr; modify relative docs

* del onnxruntime/include/gflags

* update tensor.h

* update run_server.sh

* update deploy tools

* update deploy tools

* update websocket-server

* update funasr-wss-server

* Remove self loop propagation

* Update websocket_protocol_zh.md

* Update websocket_protocol_zh.md

* update hotword protocol

* author zhaomingwork: change hotwords for h5 and java

* update hotword protocol

* catch exception for json_fst_hws

* update hotword on message

* update onnx benchmark for ngram&hotword

* update docs

* update funasr-wss-serve

* add NONE for LM_DIR

* update docs

* update run_server.sh

* add whats-new

* modify whats-new

* update whats-new

* update whats-new

* Support decoder option for beam searching

* update benchmark_onnx_cpp

* Support decoder option for websocket

* fix bug of CompileHotwordEmbedding

* update html client

* update docs

---------

Co-authored-by: gongbo.gb <[email protected]>
Co-authored-by: gongbo.gb <[email protected]>
Co-authored-by: 游雁 <[email protected]>
2023-11-07 18:34:29 +08:00