diff --git a/README.txt b/README.txt
index 79e1b36..19b9fc0 100644
--- a/README.txt
+++ b/README.txt
@@ -2,11 +2,20 @@ Helloooo
This is a little file to explain what's going on in these folders.
+the folder 'speech' contains >
+
+ the 'index.html' > in order to visualize which words are recognized by
+ the Speech-to-text
+
+ the 'style.css' > where is written the layout of the html page
+
+ the index.js > where is written the code to use the Speech-to-text app
+
the folder 'layout' contains >
- the folder 'paged.js_files' > the library Paged.js
+ the folder 'paged.js_files' > contains the library Paged.js
Paged.js is a free and open source JavaScript library that paginates
- content in the browser to create PDF output from any HTML content.)
+ content in the browser to create PDF output from any HTML content.
https://www.pagedjs.org/about/
the folder 'styles' > there are three different .css files that change
@@ -17,17 +26,4 @@ the folder 'layout' contains >
server in your computer: how?
you can use python, opening the terminal/cmd and digit >
python3 -m http.server
- you can use Visual Studio Code with the extension "Live Server"
-
-
-the folder 'speech' contains >
-
- the 'index.html' > in order to visualize which words are recognized by
- the Speech-to-text
-
- the 'style.css' > where is written the layout of the html page
-
- the index.js > where is written the code to use the Speech-to-text app
-
-
-
+ you can use Visual Studio Code with the extension "Live Server"
\ No newline at end of file
diff --git a/speech/index.js b/speech/index.js
index 6dd72b5..fd407a1 100644
--- a/speech/index.js
+++ b/speech/index.js
@@ -98,7 +98,7 @@ function startConverting() {
for (let i = event.resultIndex; i < event.results.length; i++) {
let transcript = event.results[i][0].transcript;
// console.log(event.results[i][0]);
- transcript.replace("\n", "
");
+ transcript.replace("\n", "
");
if (event.results[i].isFinal) {
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
@@ -124,4 +124,4 @@ function startConverting() {
}
-// 2021, copyleft Kamo and Funix
\ No newline at end of file
+// 2021, copyleft Kamome and Funix
\ No newline at end of file