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
fix uppercase
雾聪4f47a6cf0bbe
diff --git a/funasr/runtime/onnxruntime/src/vocab.cpp b/funasr/runtime/onnxruntime/src/vocab.cppindex 65af8b6f5..70553df1a 100644--- a/funasr/runtime/onnxruntime/src/vocab.cpp+++ b/funasr/runtime/onnxruntime/src/vocab.cpp@@ -110,17 +110,16 @@ string Vocab::Vector2StringV2(vector<int> in)else {// pre word is chineseif (!is_pre_english) {- word[0] = word[0] - 32;+ // word[0] = word[0] - 32;words.push_back(word);pre_english_len = word.size();-}// pre word is english wordelse {// single letter turn to upper case- if (word.size() == 1) {- word[0] = word[0] - 32;- }+ // if (word.size() == 1) {+ // word[0] = word[0] - 32;+ // }if (pre_english_len > 1) {words.push_back(" ");