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
for h5 timestamp parse bug (#1084)
zhaomingwork1966047a0b4f
diff --git a/runtime/html5/static/main.js b/runtime/html5/static/main.jsindex e8408e9a5..20aa220ae 100644--- a/runtime/html5/static/main.js+++ b/runtime/html5/static/main.js@@ -315,7 +315,7 @@ function handleWithTimestamp(tmptext,tmptime){return tmptext;}- tmptext=tmptext.replace(/。/g, ","); // in case there are a lot of "。"+ tmptext=tmptext.replace(/。|?|,|、|\?|\./g, ","); // replace all punc for parsevar words=tmptext.split(",");var jsontime=JSON.parse(tmptime); //JSON.parse(tmptime.replace(/\]\]\[\[/g, "],[")); // in case there are a lot segments by VADvar char_index=0;