diff --git a/speech/index.js b/speech/index.js index 6dd72b5..0b4be8d 100644 --- a/speech/index.js +++ b/speech/index.js @@ -1,3 +1,6 @@ +// ARRAY DI PAROLE NORMALE, POI PYTHON -> split, for loop, POS e "); if (event.results[i].isFinal) { - finalTranscripts += transcript; + finalTranscripts += ''+transcript+''; } else { // There are also shown the interim results and according to their "confidence" (the percentage of how much the word is correct) the color of each word could change interimTranscripts += transcript; allTheInterim += `