{"id":293,"date":"2024-09-22T00:09:42","date_gmt":"2024-09-21T21:09:42","guid":{"rendered":"http:\/\/localhost\/eeeekargolidas\/?p=293"},"modified":"2024-10-02T18:54:04","modified_gmt":"2024-10-02T18:54:04","slug":"%cf%85%cf%80%ce%bf%cf%84%ce%b9%cf%84%ce%bb%ce%bf%cf%85%cf%83","status":"publish","type":"post","link":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/?p=293","title":{"rendered":"\u03c0\u03c1\u03bf\u03b3\u03c1\u03ac\u03bc\u03bc\u03b1\u03c4\u03b1 \u03bc\u03b5 \u03c5\u03c0\u03cc\u03c4\u03b9\u03c4\u03bb\u03bf\u03c5\u03c2 \u03b3\u03b9\u03b1 \u03ba\u03c9\u03c6\u03bf\u03cd\u03c2 \u03ba\u03b1\u03b9 \u03b2\u03b1\u03c1\u03ae\u03ba\u03bf\u03bf\u03c5\u03c2."},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"el\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Speech to Text Example<\/title>\n    <style>\n        body {\n            font-family: Arial, sans-serif;\n            margin: 20px;\n            padding: 0;\n        }\n        #output {\n            width: 100%;\n            height: 150px;\n            border: 1px solid #ccc;\n            padding: 10px;\n            font-size: 16px;\n        }\n        button {\n            padding: 10px 20px;\n            font-size: 16px;\n            margin-top: 10px;\n        }\n    <\/style>\n<\/head>\n<body>\n\n    <h1>\u03bf\u03bc\u03b9\u03bb\u03af\u03b1\u03c2 \u03c3\u03b5 \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf<\/h1>\n    <p>\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03c3\u03c4\u03bf \u03ba\u03bf\u03c5\u03bc\u03c0\u03af \u03ba\u03b1\u03b9 \u03be\u03b5\u03ba\u03b9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03bd\u03b1 \u03bc\u03b9\u03bb\u03ac\u03c4\u03b5. \u0397 \u03bf\u03bc\u03b9\u03bb\u03af\u03b1 \u03c3\u03b1\u03c2 \u03b8\u03b1 \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03b1\u03c0\u03b5\u03af \u03c3\u03b5 \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf<\/p>\n    <div id=\"output\" contenteditable=\"true\"><\/div>\n    <button id=\"start\">\u039e\u03b5\u03ba\u03b9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u0391\u03bd\u03b1\u03b3\u03bd\u03ce\u03c1\u03b9\u03c3\u03b7 \u03bf\u03bc\u03b9\u03bb\u03af\u03b1\u03c2<\/button>\n\n    <script>\n        const startButton = document.getElementById('start');\n        const outputDiv = document.getElementById('output');\n\n        \/\/ Check if browser supports the Web Speech API\n        const SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;\n        if (SpeechRecognition) {\n            const recognition = new SpeechRecognition();\n            recognition.continuous = true;\n            recognition.interimResults = true;\n            recognition.lang = 'el-GR'; \/\/ Adjust language if needed\n\n            recognition.onstart = () => {\n                console.log('Speech recognition started.');\n            };\n\n            recognition.onresult = (event) => {\n                let transcript = '';\n                for (let i = event.resultIndex; i < event.results.length; i++) {\n                    transcript += event.results[i][0].transcript;\n                }\n                outputDiv.textContent = transcript;\n            };\n\n            recognition.onerror = (event) => {\n                console.error('Speech recognition error:', event.error);\n            };\n\n            recognition.onend = () => {\n                console.log('Speech recognition ended.');\n            };\n\n            startButton.addEventListener('click', () => {\n                recognition.start();\n            });\n        } else {\n            outputDiv.textContent = 'Speech Recognition is not supported in your browser.';\n        }\n    <\/script>\n\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Speech to Text Example \u03bf\u03bc\u03b9\u03bb\u03af\u03b1\u03c2 \u03c3\u03b5 \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03c3\u03c4\u03bf \u03ba\u03bf\u03c5\u03bc\u03c0\u03af \u03ba\u03b1\u03b9 \u03be\u03b5\u03ba\u03b9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03bd\u03b1 \u03bc\u03b9\u03bb\u03ac\u03c4\u03b5. \u0397 \u03bf\u03bc\u03b9\u03bb\u03af\u03b1 \u03c3\u03b1\u03c2 \u03b8\u03b1 \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03b1\u03c0\u03b5\u03af \u03c3\u03b5 \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u039e\u03b5\u03ba\u03b9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u0391\u03bd\u03b1\u03b3\u03bd\u03ce\u03c1\u03b9\u03c3\u03b7 \u03bf\u03bc\u03b9\u03bb\u03af\u03b1\u03c2<\/p>\n","protected":false},"author":1,"featured_media":771,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-293","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/index.php?rest_route=\/wp\/v2\/posts\/293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=293"}],"version-history":[{"count":1,"href":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/index.php?rest_route=\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":821,"href":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/index.php?rest_route=\/wp\/v2\/posts\/293\/revisions\/821"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/index.php?rest_route=\/wp\/v2\/media\/771"}],"wp:attachment":[{"href":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eeeek.arg.sch.gr\/eeeekargolidas\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}