Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
<funasr>: <punc online> (#1552)
Carl87b62d68957a
diff --git a/runtime/onnxruntime/src/ct-transformer-online.cpp b/runtime/onnxruntime/src/ct-transformer-online.cppindex 21986678d..a044901b7 100644--- a/runtime/onnxruntime/src/ct-transformer-online.cpp+++ b/runtime/onnxruntime/src/ct-transformer-online.cpp@@ -122,7 +122,7 @@ string CTTransformerOnline::AddPunc(const char* sz_input, vector<string> &arr_ca{if (i > 0 && !(sentence_words_list[i][0] & 0x80) && (i + 1) < sentence_words_list.size() && !(sentence_words_list[i + 1][0] & 0x80)){- sentence_words_list[i] = sentence_words_list[i] + " ";+ sentence_words_list[i] = " " + sentence_words_list[i];}if (nSkipNum < arr_cache.size()) // if skip_num < len(cache):nSkipNum++;