{"id":9505,"date":"2023-04-26T12:26:28","date_gmt":"2023-04-26T09:26:28","guid":{"rendered":"https:\/\/ssrlab.by\/?p=9505"},"modified":"2023-05-04T11:29:35","modified_gmt":"2023-05-04T08:29:35","slug":"raspaznavanne-koda-morze","status":"publish","type":"post","link":"https:\/\/ssrlab.by\/en\/9505","title":{"rendered":"Morse Code Recognition"},"content":{"rendered":"<p>Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9506\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/1-e1682496211228.png\" alt=\"\" width=\"1062\" height=\"409\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/1-e1682496211228.png 1062w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/1-e1682496211228-300x116.png 300w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/1-e1682496211228-1024x394.png 1024w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/1-e1682496211228-768x296.png 768w\" sizes=\"(max-width: 1062px) 100vw, 1062px\" \/><\/a><\/p>\n<p><em>\u041c\u0430\u043b\u044e\u043d\u0430\u043a 1. \u0417\u043d\u0435\u0448\u043d\u0456 \u0456\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u00ab\u0420\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0432\u0430\u043d\u043d\u0435 \u043a\u043e\u0434\u0430 \u041c\u043e\u0440\u0437\u044d\u00bb<\/em><\/p>\n<p>\u0406\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441 \u0437\u043c\u044f\u0448\u0447\u0430\u0435 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u044b\u044f \u0432\u043e\u0431\u043b\u0430\u0441\u0446\u0456:<\/p>\n<ul>\n<li>\u00ab\u041f\u0440\u044b\u043a\u043b\u0430\u0434\u044b\u00bb &#8211; \u043f\u043e\u043b\u0435, \u044f\u043a\u043e\u0435 \u0434\u0430\u0437\u0432\u0430\u043b\u044f\u0435 \u045e\u0431\u0430\u0447\u044b\u0446\u044c \u043f\u0440\u0430\u0446\u0443 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u043d\u0430 \u0437\u0430\u0433\u0430\u0434\u0437\u044f \u0437\u0430\u043f\u0456\u0441\u0430\u043d\u044b\u0445 \u0433\u0443\u043a\u0430\u0432\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0456 \u0430\u0437\u0431\u0443\u043a\u0456 \u041c\u043e\u0440\u0437\u044d (\u041c\u0430\u043b\u044e\u043d\u0430\u043a 2).<\/li>\n<li>\u00ab\u0417\u0430\u043f\u0456\u0441\u0430\u0446\u044c\u00bb &#8211; \u043f\u043e\u043b\u0435, \u044f\u043a\u043e\u0435 \u0434\u0430\u0437\u0432\u0430\u043b\u044f\u0435 \u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u043a\u0443 \u0437\u0430\u043f\u0456\u0441\u0430\u0446\u044c \u0437 \u043f\u0440\u044b\u043b\u0430\u0434\u044b \u0444\u0430\u0439\u043b \u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0456 \u0430\u0437\u0431\u0443\u043a\u0456 \u041c\u043e\u0440\u0437\u044d \u0456 \u0437\u0430\u0442\u044b\u043c \u0440\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0446\u044c \u044f\u0433\u043e \u045e \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u0443\u044e \u043a\u0430\u0434\u0437\u0456\u0440\u043e\u045e\u043a\u0443 (\u041c\u0430\u043b\u044e\u043d\u0430\u043a 3).<\/li>\n<li>\u00ab\u0417\u0430\u0433\u0440\u0443\u0437\u0456\u0446\u044c \u0444\u0430\u0439\u043b\u00bb &#8211; \u043f\u043e\u043b\u0435 \u0437 \u043c\u0430\u0433\u0447\u044b\u043c\u0430\u0441\u0446\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0456 \u0440\u0430\u043d\u0435\u0439 \u0437\u0430\u043f\u0456\u0441\u0430\u043d\u0430\u0433\u0430 \u0433\u0443\u043a\u0430\u0432\u043e\u0433\u0430 \u0444\u0430\u0439\u043b\u0430 \u0437 \u044f\u0433\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u0440\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u043d\u043d\u0435\u043c (\u041c\u0430\u043b\u044e\u043d\u0430\u043a 4).<\/li>\n<li>\u00ab\u0412\u044b\u043d\u0456\u043a\u00bb &#8211; \u043f\u043e\u043b\u0435, \u0443 \u044f\u043a\u0456\u043c \u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u043a\u0443 \u0430\u0434\u043b\u044e\u0441\u0442\u0440\u043e\u045e\u0432\u0430\u0435\u0446\u0446\u0430 \u0432\u044b\u043d\u0456\u043a \u043f\u0440\u0430\u0446\u044b \u0441\u044d\u0440\u0432\u0456\u0441\u0443 (\u041c\u0430\u043b\u044e\u043d\u0430\u043a 5).<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/2-e1682496250370.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group9505\" title=\"Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9507\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/2-e1682496250370.png\" alt=\"\" width=\"481\" height=\"259\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/2-e1682496250370.png 481w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/2-e1682496250370-300x162.png 300w\" sizes=\"(max-width: 481px) 100vw, 481px\" \/><\/a><\/p>\n<p><em>\u041c\u0430\u043b\u044e\u043d\u0430\u043a 2. \u041f\u043e\u043b\u0435 \u00ab\u041f\u0440\u044b\u043a\u043b\u0430\u0434\u044b\u00bb \u045e \u0456\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441\u0435 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u00ab\u0420\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0432\u0430\u043d\u043d\u0435 \u043a\u043e\u0434\u0430 \u041c\u043e\u0440\u0437\u044d\u00bb<\/em><\/p>\n<p><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/31-e1682496284511.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group9505\" title=\"Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9508\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/31-e1682496284511.png\" alt=\"\" width=\"474\" height=\"242\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/31-e1682496284511.png 474w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/31-e1682496284511-300x153.png 300w\" sizes=\"(max-width: 474px) 100vw, 474px\" \/><\/a><\/p>\n<p><em>\u041c\u0430\u043b\u044e\u043d\u0430\u043a 3. \u041f\u043e\u043b\u0435 \u00ab\u0417\u0430\u043f\u0456\u0441\u0430\u0446\u044c\u00bb \u0443 \u0456\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441\u0435 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u00ab\u0420\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0432\u0430\u043d\u043d\u0435 \u043a\u043e\u0434\u0430 \u041c\u043e\u0440\u0437\u044d\u00bb<\/em><\/p>\n<p><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/3-e1682496309335.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group9505\" title=\"Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9509\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/3-e1682496309335.png\" alt=\"\" width=\"491\" height=\"198\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/3-e1682496309335.png 491w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/3-e1682496309335-300x121.png 300w\" sizes=\"(max-width: 491px) 100vw, 491px\" \/><\/a><\/p>\n<p><em>\u041c\u0430\u043b\u044e\u043d\u0430\u043a 4. \u041f\u043e\u043b\u0435 \u00ab\u0417\u0430\u0433\u0440\u0443\u0437\u0456\u0446\u044c \u0444\u0430\u0439\u043b\u00bb \u0443 \u0456\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441\u0435 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u00ab\u0420\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0432\u0430\u043d\u043d\u0435 \u043a\u043e\u0434\u0430 \u041c\u043e\u0440\u0437\u044d\u00bb<\/em><\/p>\n<p><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/5-e1682496334811.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group9505\" title=\"Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9510\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/5-e1682496334811.png\" alt=\"\" width=\"471\" height=\"307\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/5-e1682496334811.png 471w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/5-e1682496334811-300x196.png 300w\" sizes=\"(max-width: 471px) 100vw, 471px\" \/><\/a><\/p>\n<p><em>\u041c\u0430\u043b\u044e\u043d\u0430\u043a 5. \u041f\u043e\u043b\u0435 \u00ab\u0412\u044b\u043d\u0456\u043a\u00bb \u0443 \u0456\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441\u0435 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u00ab\u0420\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0432\u0430\u043d\u043d\u0435 \u043a\u043e\u0434\u0430 \u041c\u043e\u0440\u0437\u044d\u00bb<\/em><\/p>\n<p><strong>\u041a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u0446\u043a\u0456 \u0441\u0446\u044d\u043d\u0430\u0440\u044b\u0439 \u043f\u0440\u0430\u0446\u044b \u0437 \u0441\u044d\u0440\u0432\u0456\u0441\u0430\u043c<\/strong><\/p>\n<p><em>\u0421\u0446\u044d\u043d\u0430\u0440\u044b\u0439 1. \u041f\u0435\u0440\u0430\u045e\u0442\u0432\u0430\u0440\u044d\u043d\u043d\u0435 \u0437\u0430\u043f\u0456\u0441\u0430\u043d\u0430\u0433\u0430 \u0433\u0443\u043a\u0430\u0432\u043e\u0433\u0430 \u0444\u0430\u0439\u043b\u0430 \u045e \u043a\u043e\u0434 \u0430\u0437\u0431\u0443\u043a\u0456 \u041c\u043e\u0440\u0437\u044d<\/em><\/p>\n<ol>\n<li>\u0417\u0430\u043f\u0456\u0441\u0430\u0446\u044c \u0433\u0443\u043a\u0430\u0432\u044b \u0444\u0430\u0439\u043b \u0434\u043b\u044f \u0440\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0432\u0430\u043d\u043d\u044f \u0437 \u0434\u0430\u043f\u0430\u043c\u043e\u0433\u0430\u0439 \u043a\u043d\u043e\u043f\u043a\u0456 \u00ab\u0417\u0430\u043f\u0456\u0441\u0430\u0446\u044c\u00bb.<\/li>\n<li>\u041d\u0430\u0446\u0456\u0441\u043d\u0443\u0446\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0417\u0430\u043f\u0443\u0441\u0446\u0456\u0446\u044c\u00bb, \u043a\u0430\u0431 \u0430\u0442\u0440\u044b\u043c\u0430\u0446\u044c \u0432\u044b\u043d\u0456\u043a.<\/li>\n<\/ol>\n<p><em>\u0421\u0446\u044d\u043d\u0430\u0440\u044b\u0439 2. \u041f\u0435\u0440\u0430\u045e\u0442\u0432\u0430\u0440\u044d\u043d\u043d\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043d\u0430\u0433\u0430 \u0433\u0443\u043a\u0430\u0432\u043e\u0433\u0430 \u0444\u0430\u0439\u043b\u0430 \u045e \u043a\u043e\u0434 \u0430\u0437\u0431\u0443\u043a\u0456 \u041c\u043e\u0440\u0437\u044d<\/em><\/p>\n<ol>\n<li>\u0412\u044b\u0431\u0440\u0430\u0446\u044c \u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u0446\u043a\u0456 \u0433\u0443\u043a\u0430\u0432\u044b \u0444\u0430\u0439\u043b \u043f\u0440\u044b \u0434\u0430\u043f\u0430\u043c\u043e\u0437\u0435 \u043a\u043d\u043e\u043f\u043a\u0456 \u00ab\u0412\u044b\u0431\u0440\u0430\u0446\u044c\u00bb \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0456 \u045e \u0441\u044d\u0440\u0432\u0456\u0441.<\/li>\n<li>\u041d\u0430\u0446\u0456\u0441\u043d\u0443\u0446\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0417\u0430\u0433\u0440\u0443\u0437\u0456\u0446\u044c\u00bb \u0456 \u0430\u0442\u0440\u044b\u043c\u0430\u0446\u044c \u0432\u044b\u043d\u0456\u043a \u0440\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0432\u0430\u043d\u043d\u044f \u045e \u0432\u044b\u0433\u043b\u044f\u0434\u0437\u0435 \u043a\u043e\u0434\u0430 \u041c\u043e\u0440\u0437\u044d.<\/li>\n<\/ol>\n<p><strong>\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u0430 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u043f\u0440\u0430\u0437 API<\/strong><\/p>\n<p>\u041a\u0430\u0431 \u0430\u0442\u0440\u044b\u043c\u0430\u0446\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u0430 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u043f\u0440\u0430\u0437 API, \u0442\u0440\u044d\u0431\u0430 \u0434\u0430\u0441\u043b\u0430\u0446\u044c \u0437\u0430\u043f\u044b\u0442 \u043a\u0448\u0442\u0430\u043b\u0442\u0443 \u201cPOST\u201d \u043d\u0430 \u0430\u0434\u0440\u0430\u0441 <a href=\"https:\/\/www.corpus.by\/MorseDecoderPy\/api\">https:\/\/www.corpus.by\/MorseDecoderPy\/api<\/a>, \u0443 \u044f\u043a\u0456\u043c \u043f\u0430\u0442\u0440\u0430\u0431\u0443\u0435\u0446\u0446\u0430 \u043f\u0430\u0437\u043d\u0430\u0447\u044b\u0446\u044c \u0448\u043b\u044f\u0445 \u0434\u0430 \u0430\u045e\u0434\u044b\u0451\u0444\u0430\u0439\u043b\u0430 \u0444\u0430\u0440\u043c\u0430\u0442\u0443 WAV, \u044f\u043a\u0456 \u0437\u043c\u044f\u0448\u0447\u0430\u0435 \u0433\u0443\u043a\u0430\u0432\u0443\u044e \u0456\u043d\u0442\u044d\u0440\u043f\u0440\u044d\u0442\u0430\u0446\u044b\u044e \u043a\u043e\u0434\u0430 \u041c\u043e\u0440\u0437\u044d \u0434\u043b\u044f \u0440\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0432\u0430\u043d\u043d\u044f \u045e \u0444\u0430\u0440\u043c\u0430\u0446\u0435 {&#8220;audio&#8221;: open(&#8220;path\/to\/the\/file&#8221;, &#8216;rb&#8217;)}<\/p>\n<p><em>\u041f\u0440\u044b\u043a\u043b\u0430\u0434<\/em> <em>\u0437\u0430\u043f\u044b\u0442\u0443<\/em><em>:<\/em><\/p>\n<p>response = requests.post(&#8220;https:\/\/www.corpus.by\/MorseDecoderPy\/api&#8221;, files={&#8220;audio&#8221;: open &#8220;D:\\Work_Projects\\zvuk6.wav&#8221;, &#8216;rb&#8217;)} &#8220;, &#8220;rb&#8221;)})<\/p>\n<p>\u0414\u043b\u044f \u0430\u0442\u0440\u044b\u043c\u0430\u043d\u043d\u044f \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u0430\u0439 \u0456\u043d\u0444\u0430\u0440\u043c\u0430\u0446\u044b\u0456 \u045e \u043a\u043e\u0434\u0437\u0435 \u041c\u043e\u0440\u0437\u044d \u043d\u0435\u0430\u0431\u0445\u043e\u0434\u043d\u0430 \u043f\u0440\u044b\u043c\u044f\u043d\u0456\u0446\u044c \u043a\u0430\u043c\u0430\u043d\u0434\u0443:<\/p>\n<p>response.text<\/p>\n<p>&nbsp;<\/p>\n<p>\u0421\u0435\u0440\u0432\u0435\u0440 \u0432\u0435\u0440\u043d\u0435 \u0432\u0430\u043c:<\/p>\n<p>\u0442\u044d\u043a\u0441\u0442 \u0443 \u0432\u044b\u0433\u043b\u044f\u0434\u0437\u0435 \u043a\u043e\u0434\u0430 \u041c\u043e\u0440\u0437\u044d (\u041c\u0430\u043b\u044e\u043d\u0430\u043a 6)<\/p>\n<p><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group9505\" title=\"Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9511\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857.png\" alt=\"\" width=\"1366\" height=\"734\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857.png 1366w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857-300x161.png 300w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857-1024x550.png 1024w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857-768x413.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p><em>\u041c\u0430\u043b\u044e\u043d\u0430\u043a 6. \u041f\u0440\u044b\u043a\u043b\u0430\u0434 \u0432\u044b\u043a\u0430\u043d\u0430\u043d\u043d\u044f \u0437\u0430\u043f\u044b\u0442\u0443 \u043d\u0430 API \u0441\u044d\u0440\u0432\u0456\u0441\u0443<\/em><\/p>\n<p><strong>\u0421\u043f\u0430\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043a\u0440\u044b\u043d\u0456\u0446\u044b<\/strong><\/p>\n<p>\u0421\u0442\u0430\u0440\u043e\u043d\u043a\u0430 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u00ab\u0420\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0432\u0430\u043d\u043d\u0435 \u043a\u043e\u0434\u0430 \u041c\u043e\u0440\u0437\u044d\u00bb: https:\/\/www.corpus.by\/MorseDecoderPy\/?lang=beThe \u00ab<a href=\"https:\/\/corpus.by\/MorseCodeRecogniserPy\/?lang=en\">Morse Code Recognizer<\/a>\u00bb service is designed to recognize an audio file and return the result in Morse code. The recorded or uploaded audio file containing the sounds of Morse code is fed to the input of the service. The file is processed by the service algorithms and gives the user Morse code in the result field in the \u00ab-*** * *-** *- *-* **- *** -**-\u00bb form where the \u00ab-\u00bb symbol denotes the usual long element of the alphabet \u2013 \u00abdash\u00bb, and the \u00ab*\u00bb symbol denotes the short element \u2013 \u00abdot\u00bb.<\/p>\n<p><strong>Key terms and concepts<\/strong><\/p>\n<p>Morse code is an encoding method where letters of the alphabet, numbers, punctuation marks, and other symbols are represented as sequences of short and long signals called <em>dots<\/em> and<em> dashes<\/em>.<\/p>\n<p><strong>Practical value<\/strong><\/p>\n<p>The service can be used to simplify the work with the recognition of audio files containing Morse code elements. It may allow recording of raw data and checking the quality of transferred elements.<\/p>\n<p><strong>External interface<\/strong><\/p>\n<p>The external service interface is shown in Figure 1.<\/p>\n<p><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/11-1-e1682500600367.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group9505\" title=\"Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9519\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/11-1-e1682500600367.png\" alt=\"\" width=\"980\" height=\"361\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/11-1-e1682500600367.png 980w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/11-1-e1682500600367-300x111.png 300w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/11-1-e1682500600367-768x283.png 768w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/a><\/p>\n<p><em>Figure<\/em><em> 1. External interface of the \u00ab<\/em><em>Morse Code Recognition\u00bb<\/em><em> service<\/em><\/p>\n<p>The interface contains the following areas:<\/p>\n<ul>\n<li>\u00abExamples\u00bb &#8211; a field that allows the user to see the work of the service on pre-recorded audio files with Morse code elements (Figure 2).<\/li>\n<li>\u00abRecord\u00bb &#8211; a field that allows the user to write a file with Morse code elements from the device and then recognize it in text encoding (Figure 3).<\/li>\n<li>\u00abUpload file\u00bb &#8211; a field where you can upload a previously recorded audio file with its subsequent recognition (Figure 4).<\/li>\n<li>\u00abResult\u00bb &#8211; a field where the result of the service is displayed to the user (Figure 5).<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/22-e1682500815395.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group9505\" title=\"Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9515\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/22-e1682500815395.png\" alt=\"\" width=\"481\" height=\"245\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/22-e1682500815395.png 481w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/22-e1682500815395-300x153.png 300w\" sizes=\"(max-width: 481px) 100vw, 481px\" \/><\/a><\/p>\n<p><em>Figure 2. The \u00abExamples\u00bb field in the \u00abMorse code recognition\u00bb service interface<\/em><\/p>\n<p><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/33-e1682500725430.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group9505\" title=\"Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9516\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/33-e1682500725430.png\" alt=\"\" width=\"457\" height=\"235\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/33-e1682500725430.png 457w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/33-e1682500725430-300x154.png 300w\" sizes=\"(max-width: 457px) 100vw, 457px\" \/><\/a><\/p>\n<p><em>Figure 3. The \u00abRecord\u00bb field in the \u00abMorse code recognition\u00bb service interface<\/em><\/p>\n<p><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/44-e1682500705174.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group9505\" title=\"Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9517\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/44-e1682500705174.png\" alt=\"\" width=\"488\" height=\"187\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/44-e1682500705174.png 488w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/44-e1682500705174-300x115.png 300w\" sizes=\"(max-width: 488px) 100vw, 488px\" \/><\/a><\/p>\n<p><em>Figure 4. The \u00abUpload file\u00bb field in the \u00abMorse code recognition\u00bb service interface<\/em><\/p>\n<p><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/res-e1682501173739.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group9505\" title=\"Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9521\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/res-e1682501173739.png\" alt=\"\" width=\"478\" height=\"317\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/res-e1682501173739.png 478w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/res-e1682501173739-300x199.png 300w\" sizes=\"(max-width: 478px) 100vw, 478px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><em>Figure 5. The <\/em>\u00ab<em>Result<\/em>\u00bb<em> field in <\/em>\u00ab<em>Morse Code Recognition<\/em>\u00bb<em> service interface<\/em><\/p>\n<p><strong>Service user script<\/strong><\/p>\n<p><em>Script 1: Convert recorded audio file to Morse code<\/em><\/p>\n<ol>\n<li>Record an audio file for recognition using the \u00abRecord\u00bb button.<\/li>\n<li>Press the \u00abRun\u00bb button to get the result.<\/li>\n<\/ol>\n<p><em>Script 2: Convert uploaded audio file to Morse code<\/em><\/p>\n<ol>\n<li>Select a custom audio file using the \u00abSelect\u00bb button to upload to the service.<\/li>\n<li>Press the \u00abUpload\u00bb button and get the recognition result in the form of Morse code.<\/li>\n<\/ol>\n<p><strong>Service access via API<\/strong><\/p>\n<p>To access the service via API, you need to send a \u201cPOST\u201d request to the address <a href=\"https:\/\/www.corpus.by\/MorseDecoderPy\/api\">https:\/\/www.corpus.by\/MorseDecoderPy\/api<\/a>, in which you need to specify the path to the WAV audio file containing the audio interpretation of the Morse code for recognition in the format {&#8220;audio&#8221;: open(&#8220;path\/to\/the\/file&#8221;, &#8216;rb&#8217;)}<\/p>\n<p><em>Request example:<\/em><\/p>\n<p>response = requests.post(&#8220;https:\/\/www.corpus.by\/MorseDecoderPy\/api&#8221;, files={&#8220;audio&#8221;: open &#8220;D:\\Work_Projects\\zvuk6.wav&#8221;, &#8216;rb&#8217;)} &#8220;, &#8220;rb&#8221;)})<\/p>\n<p>&nbsp;<\/p>\n<p>To get text information in Morse code, you need to use the command:<\/p>\n<p>response.text<\/p>\n<p>&nbsp;<\/p>\n<p>The server will give you back:<\/p>\n<p>Morse code text (Figure 6)<\/p>\n<p><a href=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857.png\" class=\"grouped_elements\" rel=\"tc-fancybox-group9505\" title=\"Morse Code Recognition\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-9511\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857.png\" alt=\"\" width=\"1366\" height=\"734\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857.png 1366w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857-300x161.png 300w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857-1024x550.png 1024w, https:\/\/ssrlab.by\/wp-content\/uploads\/2023\/04\/6-e1682496151857-768x413.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p><em>Figure 6. An example of making a request to the service API<\/em><\/p>\n<p><strong>References<\/strong><\/p>\n<p>The \u00abMorse Code Recognition\u00bb service page: <a href=\"https:\/\/www.corpus.by\/MorseDecoderPy\/?lang=be\">https:\/\/www.corpus.by\/MorseDecoderPy\/?lang=en<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Morse Code Recognition&#8221;> \u041c\u0430\u043b\u044e\u043d\u0430\u043a 1. \u0417\u043d\u0435\u0448\u043d\u0456 \u0456\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u00ab\u0420\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0432\u0430\u043d\u043d\u0435 \u043a\u043e\u0434\u0430 \u041c\u043e\u0440\u0437\u044d\u00bb \u0406\u043d\u0442\u044d\u0440\u0444\u0435\u0439\u0441 \u0437\u043c\u044f\u0448\u0447\u0430\u0435 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u044b\u044f \u0432\u043e\u0431\u043b\u0430\u0441\u0446\u0456: \u00ab\u041f\u0440\u044b\u043a\u043b\u0430\u0434\u044b\u00bb &#8211; \u043f\u043e\u043b\u0435, \u044f\u043a\u043e\u0435 \u0434\u0430\u0437\u0432\u0430\u043b\u044f\u0435 \u045e\u0431\u0430\u0447\u044b\u0446\u044c \u043f\u0440\u0430\u0446\u0443 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u043d\u0430 \u0437\u0430\u0433\u0430\u0434\u0437\u044f \u0437\u0430\u043f\u0456\u0441\u0430\u043d\u044b\u0445 \u0433\u0443\u043a\u0430\u0432\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0456 \u0430\u0437\u0431\u0443\u043a\u0456 \u041c\u043e\u0440\u0437\u044d (\u041c\u0430\u043b\u044e\u043d\u0430\u043a 2). \u00ab\u0417\u0430\u043f\u0456\u0441\u0430\u0446\u044c\u00bb &#8211; \u043f\u043e\u043b\u0435, \u044f\u043a\u043e\u0435 \u0434\u0430\u0437\u0432\u0430\u043b\u044f\u0435 \u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u043a\u0443 \u0437\u0430\u043f\u0456\u0441\u0430\u0446\u044c \u0437 \u043f\u0440\u044b\u043b\u0430\u0434\u044b \u0444\u0430\u0439\u043b \u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0456 \u0430\u0437\u0431\u0443\u043a\u0456 \u041c\u043e\u0440\u0437\u044d \u0456 \u0437\u0430\u0442\u044b\u043c \u0440\u0430\u0441\u043f\u0430\u0437\u043d\u0430\u0446\u044c \u044f\u0433\u043e \u045e \u0442\u044d\u043a\u0441\u0442\u0430\u0432\u0443\u044e \u043a\u0430\u0434\u0437\u0456\u0440\u043e\u045e\u043a\u0443 [&hellip;]<\/p>\n<a class = \"excerpt\" href=\"https:\/\/ssrlab.by\/en\/9505\">Read more...<\/a>","protected":false},"author":2,"featured_media":9521,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,290,329],"tags":[],"_links":{"self":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts\/9505"}],"collection":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/comments?post=9505"}],"version-history":[{"count":5,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts\/9505\/revisions"}],"predecessor-version":[{"id":9550,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts\/9505\/revisions\/9550"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/media\/9521"}],"wp:attachment":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/media?parent=9505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/categories?post=9505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/tags?post=9505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}