UNPKG

phonemic-transcriber

Version:

A simple phonemic transcriber for the american english language.

92 lines (91 loc) 15.2 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="author" content="Armotus"> <meta name="robots" content="index, follow"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="css/style.css"> <link rel="icon" href="fav/favicon.svg"> <title>Phonemic Transcription</title> <!-- Fonts --> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Spectral:wght@400;700&display=swap" rel="stylesheet"> </head> <body> <div id="main"> <div id="top"></div> <h1 style="cursor:pointer" id="Title" onclick="myTheme();">PHONEMIC TRANSCRIPTION</h1> <p>A simple phonemic transcriber for the american english language.</p> <div class="inblo"><input type="checkbox" id="myMAPA" onclick="myfunMAPA();" checked><span>MAPA</span>&nbsp;</div> <div class="inblo"><input type="checkbox" id="mySAPA" onclick="myfunSAPA();"><span>SAPA</span>&nbsp;</div> ||&nbsp; <div class="inblo"><input type="checkbox" id="mySyll" onclick="myFunction();" checked><span style="display:inline">syllable</span>&nbsp;</div> <div class="inblo"><input type="checkbox" id="myStr1" onclick="myFunction();"><span style="display:inline"><span style="display:inline" id="myST1a">a:á</span><span style="display:none" id="myST1b">a:&sup3;</span></span>&nbsp;</div> <div class="inblo"><input type="checkbox" id="myStr2" onclick="myFunction();"><span style="display:inline"><span style="display:inline" id="myST2a">a:ä</span><span style="display:none" id="myST2b">a:&sup2;</span></span>&nbsp;</div> <div class="inblo"><input type="checkbox" id="myCase" onclick="myFunction();"><span style="display:inline">z:Z</span>&nbsp;</div> <div class="inblo"><input type="checkbox" id="myFusi" onclick="myFunction();"><span style="display:inline">az {&nbsp;az&nbsp;}</span>&nbsp;</div> ||&nbsp; <div class="inblo"><input type="checkbox" id="myMaxi" onclick="myFunMaxi();"><span style="display:inline">mop</span>&nbsp;</div> <div class="inblo"><input type="checkbox" id="myWeak" onclick="myFunWeak();"><span style="display:inline">wsp</span>&nbsp;</div> <p></p> <form><textarea id="myInput" rows="12" cols="90" spellcheck="false" placeholder="Enter some text here and click the 'Run' button" onmouseup="mySize();"></textarea></form> <br> <button onclick="myChange();">Run</button><span class="spanBreak1">&nbsp;</span><button onclick="myClear();">Clear</button><span class="spanBreak2">&nbsp;</span><button onclick="myAaTex();">AZ:az</button> <br><br> <form><textarea id="myResult" rows="12" cols="90" spellcheck="false" placeholder="Display in dark or light mode : click on the 'Title'" onmouseup="mySize();"></textarea></form> <br> <button onclick="mySave();">Save</button><span class="spanBreak1">&nbsp;</span><button id="myCopy" onclick="myCopy();">Copy</button><span class="spanBreak2">&nbsp;</span><button onclick="myModeT();">Areas</button> <br class="dobleBr"> <p><a id="phonemes-a"></a></p> <h2><span style="cursor:pointer" onclick="myPho();">PHONEMES</span><span class="phos" style="display:none">&nbsp; "A"&nbsp; (&nbsp;<a href="https://en.wikipedia.org/wiki/General_American_English">GA</a>&nbsp;)</span></h2> <p class="phop" style="display:none">A0 &#8226; Carnegie Mellon University (&nbsp;<a href="https://en.wikipedia.org/wiki/CMU_Pronouncing_Dictionary">CMU</a>&nbsp;)</p> <p class="phop" style="display:none">|&nbsp; AH&nbsp;, EH&nbsp;, IH&nbsp;, UH&nbsp;, AE&nbsp;, AH0&nbsp;, ER0&nbsp;&nbsp;|&nbsp; AA&nbsp;, ER&nbsp;, IY&nbsp;, AO&nbsp;, UW&nbsp;&nbsp;|&nbsp; AY&nbsp;, EY&nbsp;, OY&nbsp;, AW&nbsp;, OW&nbsp;&nbsp;|&nbsp; Stress&nbsp;: 0&nbsp;, 1&nbsp;, 2&nbsp;&nbsp;|</p> <p class="phop" style="display:none">|&nbsp; B&nbsp;, CH&nbsp;, D&nbsp;, F&nbsp;, G&nbsp;, HH&nbsp;, K&nbsp;, L&nbsp;, M&nbsp;, N&nbsp;, P&nbsp;, R&nbsp;, S&nbsp;, T&nbsp;, V&nbsp;, W&nbsp;, Y&nbsp;, Z&nbsp;&nbsp;|&nbsp; DH&nbsp;, JH&nbsp;, NG&nbsp;, SH&nbsp;, TH&nbsp;, ZH&nbsp;&nbsp;|</p> <p class="phop" style="display:none">A1 &#8226; American Phonetic Alphabet (&nbsp;<a href="https://github.com/armotus/phonemic-transcription">APA</a>&nbsp;)</p> <p class="phop" style="display:none">|&nbsp; ah&nbsp;, eh&nbsp;, ih&nbsp;, uh&nbsp;, ax&nbsp;, ox&nbsp;, ox~&nbsp;&nbsp;|&nbsp; aq&nbsp;, eq~&nbsp;, iq&nbsp;, oq&nbsp;, uq&nbsp;&nbsp;|&nbsp; ai&nbsp;, ei&nbsp;, oi&nbsp;, au&nbsp;, ou&nbsp;&nbsp;|&nbsp; Stress&nbsp;: a&nbsp;&sup1;, á&nbsp;&sup3;, ä&nbsp;&sup2;&nbsp;&nbsp;|</p> <p class="phop" style="display:none">|&nbsp; b&nbsp;, c&nbsp;, d&nbsp;, f&nbsp;, g&nbsp;, j&nbsp;, k&nbsp;, l&nbsp;, m&nbsp;, n&nbsp;, p&nbsp;, r&nbsp;, s&nbsp;, t&nbsp;, v&nbsp;, w&nbsp;, y&nbsp;, z&nbsp;&nbsp;|&nbsp; dh&nbsp;, jh&nbsp;, nh&nbsp;, sh&nbsp;, th&nbsp;, zh&nbsp;&nbsp;|</p> <p class="pham" style="display:block"><span class="phos" style="display:none">A2 </span>&#8226; Modified American Phonetic Alphabet (&nbsp;<a href="https://github.com/armotus/phonemic-transcription">MAPA</a>&nbsp;)</p> <p class="pham" style="display:block">|&nbsp; a&nbsp;, e&nbsp;, i&nbsp;, u&nbsp;, ae&nbsp;, &#601;&nbsp;, &#601;r&nbsp;&nbsp;|&nbsp; aa&nbsp;, eer&nbsp;, ii&nbsp;, oo&nbsp;, uu&nbsp;&nbsp;|&nbsp; ai&nbsp;, ei&nbsp;, oi&nbsp;, au&nbsp;, ou&nbsp;&nbsp;|&nbsp; Stress&nbsp;: a&nbsp;, á&nbsp;, ä&nbsp;&nbsp;|</p> <p class="pham" style="display:block">|&nbsp; b&nbsp;, <span class="phos" style="display:none">ch&nbsp;, </span>d&nbsp;, f&nbsp;, g&nbsp;, h&nbsp;, <span class="phoz" style="display:inline">j&nbsp;, </span>k&nbsp;, l&nbsp;, m&nbsp;, n&nbsp;, p&nbsp;, r&nbsp;, s&nbsp;, t&nbsp;, v&nbsp;, w&nbsp;, y&nbsp;, z&nbsp;&nbsp;|&nbsp; <span class="phoz" style="display:inline">ch&nbsp;, </span>dh&nbsp;, <span class="phos" style="display:none">j&nbsp;, </span>ng&nbsp;, sh&nbsp;, th&nbsp;, zh&nbsp;&nbsp;|</p> <p class="phas" style="display:none"><span class="phos" style="display:none">A3 </span>&#8226; Simplified American Phonetic Alphabet (&nbsp;<a href="https://github.com/armotus/phonemic-transcription">SAPA</a>&nbsp;)</p> <p class="phas" style="display:none">|&nbsp; a&nbsp;, e&nbsp;, i&nbsp;, u&nbsp;, &#230;&nbsp;, &#601;&nbsp;, &#601;r&nbsp;&nbsp;|&nbsp; &#257;&nbsp;, &#275;r&nbsp;, &#299;&nbsp;, &#333;&nbsp;, &#363;&nbsp;&nbsp;|&nbsp; ai&nbsp;, ei&nbsp;, oi&nbsp;, au&nbsp;, ou&nbsp;&nbsp;|&nbsp; Stress&nbsp;: &sup1;&nbsp;, &sup3;&nbsp;, &sup2;&nbsp;&nbsp;|</p> <p class="phas" style="display:none">|&nbsp; b&nbsp;, <span class="phos" style="display:none">ch&nbsp;, </span>d&nbsp;, f&nbsp;, g&nbsp;, h&nbsp;, <span class="phoz" style="display:inline">j&nbsp;, </span>k&nbsp;, l&nbsp;, m&nbsp;, n&nbsp;, p&nbsp;, r&nbsp;, s&nbsp;, t&nbsp;, v&nbsp;, w&nbsp;, y&nbsp;, z&nbsp;&nbsp;|&nbsp; <span class="phoz" style="display:inline">ch&nbsp;, </span>dh&nbsp;, <span class="phos" style="display:none">j&nbsp;, </span>&#331;&nbsp;, sh&nbsp;, th&nbsp;, &#351;&nbsp;&nbsp;|</p> <p><span class="phos" style="display:none">A4 </span>&#8226; International Phonetic Alphabet (&nbsp;<a href="https://en.wikipedia.org/wiki/International_Phonetic_Alphabet">IPA</a>&nbsp;)</p> <p>|&nbsp; &#652;&nbsp;, &#603;&nbsp;, &#618;&nbsp;, &#650;&nbsp;, &#230;&nbsp;, &#601;&nbsp;, &#602;&nbsp;&nbsp;|&nbsp; &#593;&#720;&nbsp;, &#605;&#720;&nbsp;, &#105;&#720;&nbsp;, &#596;&#720;&nbsp;, &#117;&#720;&nbsp;&nbsp;|&nbsp; a&#618;&nbsp;, e&#618;&nbsp;, &#596;&#618;&nbsp;, a&#650;&nbsp;, o&#650;&nbsp;&nbsp;|&nbsp; Stress&nbsp;: .&nbsp;, &#712;&nbsp;, &#716;&nbsp;&nbsp;|</p> <p>|&nbsp; b&nbsp;, <span class="phos" style="display:none">&#116;&#865;&#643;&nbsp;, </span>d&nbsp;, f&nbsp;, g&nbsp;, h&nbsp;, <span class="phoz" style="display:inline">&#100;&#865;&#658;&nbsp;, </span>k&nbsp;, l&nbsp;, m&nbsp;, n&nbsp;, p&nbsp;, r&nbsp;, s&nbsp;, t&nbsp;, v&nbsp;, w&nbsp;, j&nbsp;, z&nbsp;&nbsp;|&nbsp; <span class="phoz" style="display:inline">&#116;&#865;&#643;&nbsp;, </span>&#240;&nbsp;, <span class="phos" style="display:none">&#100;&#865;&#658;&nbsp;, </span>&#331;&nbsp;, &#643;&nbsp;, &#952;&nbsp;, &#658;&nbsp;&nbsp;|</p> <p><a id="phonemes-b"></a></p> <h2 class="phop" style="display:none"><span style="cursor:pointer" onclick="myPho();">PHONEMES</span>&nbsp; "B"&nbsp; (&nbsp;<a href="https://en.wikipedia.org/wiki/Received_Pronunciation">RP</a>&nbsp;)</h2> <p class="phop" style="display:none">B1 &#8226; English Phonetic Alphabet (&nbsp;<a href="https://github.com/armotus/phonemic-transcription">EPA</a>&nbsp;)</p> <p class="phop" style="display:none">|&nbsp; ah&nbsp;, eh&nbsp;, ih&nbsp;, oh&nbsp;, uh&nbsp;, ax&nbsp;, ox&nbsp;&nbsp;|&nbsp; aq&nbsp;, eq&nbsp;, iq&nbsp;, oq&nbsp;, uq&nbsp;&nbsp;|&nbsp; ex&nbsp;, ix&nbsp;, ux&nbsp;, ai&nbsp;, ei&nbsp;, oi&nbsp;, au&nbsp;, ou&nbsp;&nbsp;|</p> <p class="phop" style="display:none">|&nbsp; a:i:x&nbsp;, a:u:x&nbsp;&nbsp;|&nbsp; e:i:x&nbsp;, o:i:x&nbsp;, o:u:x&nbsp;&nbsp;|&nbsp; Stress&nbsp;: a&nbsp;&sup1;, á&nbsp;&sup3;, ä&nbsp;&sup2;&nbsp;&nbsp;|</p> <p class="phop" style="display:none">|&nbsp; b&nbsp;, c&nbsp;, d&nbsp;, f&nbsp;, g&nbsp;, j&nbsp;, k&nbsp;, l&nbsp;, m&nbsp;, n&nbsp;, p&nbsp;, r&nbsp;, s&nbsp;, t&nbsp;, v&nbsp;, w&nbsp;, y&nbsp;, z&nbsp;&nbsp;|&nbsp; dh&nbsp;, jh&nbsp;, nh&nbsp;, sh&nbsp;, th&nbsp;, zh&nbsp;&nbsp;|</p> <p class="phop" style="display:none">B2 &#8226; Modified English Phonetic Alphabet (&nbsp;<a href="https://github.com/armotus/phonemic-transcription">MEPA</a>&nbsp;)</p> <p class="phop" style="display:none">|&nbsp; a&nbsp;, e&nbsp;, i&nbsp;, o&nbsp;, u&nbsp;, ae&nbsp;, &#601;&nbsp;&nbsp;|&nbsp; aa&nbsp;, ee&nbsp;, ii&nbsp;, oo&nbsp;, uu&nbsp;&nbsp;|&nbsp; e&#601;&nbsp;, i&#601;&nbsp;, u&#601;&nbsp;, ai&nbsp;, ei&nbsp;, oi&nbsp;, au&nbsp;, &#601;u&nbsp;&nbsp;|</p> <p class="phop" style="display:none">|&nbsp; ai&#601;&nbsp;, au&#601;&nbsp;&nbsp;|&nbsp; ei.&#601;&nbsp;, oi.&#601;&nbsp;, &#601;u.&#601;&nbsp;&nbsp;|&nbsp; Stress&nbsp;: a&nbsp;, á&nbsp;, ä&nbsp;&nbsp;|&nbsp; &#601;ú&nbsp;, &#601;ü&nbsp; &rarr;&nbsp; stressed schwa &#601;&nbsp;&nbsp;|</p> <p class="phop" style="display:none">|&nbsp; b&nbsp;, ch&nbsp;, d&nbsp;, f&nbsp;, g&nbsp;, h&nbsp;, k&nbsp;, l&nbsp;, m&nbsp;, n&nbsp;, p&nbsp;, r&nbsp;, s&nbsp;, t&nbsp;, v&nbsp;, w&nbsp;, y&nbsp;, z&nbsp;&nbsp;|&nbsp; dh&nbsp;, j&nbsp;, ng&nbsp;, sh&nbsp;, th&nbsp;, zh&nbsp;&nbsp;|</p> <p class="phop" style="display:none">B3 &#8226; Simplified English Phonetic Alphabet (&nbsp;<a href="https://github.com/armotus/phonemic-transcription">SEPA</a>&nbsp;)</p> <p class="phop" style="display:none">|&nbsp; a&nbsp;, e&nbsp;, i&nbsp;, o&nbsp;, u&nbsp;, &#230;&nbsp;, &#601;&nbsp;&nbsp;|&nbsp; &#257;&nbsp;, &#275;&nbsp;, &#299;&nbsp;, &#333;&nbsp;, &#363;&nbsp;&nbsp;|&nbsp; e&#601;&nbsp;, i&#601;&nbsp;, u&#601;&nbsp;, ai&nbsp;, ei&nbsp;, oi&nbsp;, au&nbsp;, &#601;u&nbsp;&nbsp;|</p> <p class="phop" style="display:none">|&nbsp; ai&#601;&nbsp;, au&#601;&nbsp;&nbsp;|&nbsp; ei.&#601;&nbsp;, oi.&#601;&nbsp;, &#601;u.&#601;&nbsp;&nbsp;|&nbsp; Stress&nbsp;: &sup1;&nbsp;, &sup3;&nbsp;, &sup2;&nbsp;&nbsp;|</p> <p class="phop" style="display:none">|&nbsp; b&nbsp;, ch&nbsp;, d&nbsp;, f&nbsp;, g&nbsp;, h&nbsp;, k&nbsp;, l&nbsp;, m&nbsp;, n&nbsp;, p&nbsp;, r&nbsp;, s&nbsp;, t&nbsp;, v&nbsp;, w&nbsp;, y&nbsp;, z&nbsp;&nbsp;|&nbsp; dh&nbsp;, j&nbsp;, &#331;&nbsp;, sh&nbsp;, th&nbsp;, &#351;&nbsp;&nbsp;|</p> <p class="phop" style="display:none">B4 &#8226; International Phonetic Alphabet (&nbsp;<a href="https://en.wikipedia.org/wiki/International_Phonetic_Alphabet">IPA</a>&nbsp;)</p> <p class="phop" style="display:none">|&nbsp; &#652;&nbsp;, e&nbsp;, &#618;&nbsp;, &#594;&nbsp;, &#650;&nbsp;, &#230;&nbsp;, &#601;&nbsp;&nbsp;|&nbsp; &#593;&#720;&nbsp;, &#604;&#720;&nbsp;, &#105;&#720;&nbsp;, &#596;&#720;&nbsp;, &#117;&#720;&nbsp;&nbsp;|&nbsp; e&#601;&nbsp;, &#618;&#601;&nbsp;, &#650;&#601;&nbsp;, a&#618;&nbsp;, e&#618;&nbsp;, &#596;&#618;&nbsp;, a&#650;&nbsp;, &#601;&#650;&nbsp;&nbsp;|</p> <p class="phop" style="display:none">|&nbsp; a&#618;&#601;&nbsp;, a&#650;&#601;&nbsp;&nbsp;|&nbsp; e&#618;.&#601;&nbsp;, &#596;&#618;.&#601;&nbsp;, &#601;&#650;.&#601;&nbsp;&nbsp;|&nbsp; Stress&nbsp;: .&nbsp;, &#712;&nbsp;, &#716;&nbsp;&nbsp;|</p> <p class="phop" style="display:none">|&nbsp; b&nbsp;, &#116;&#865;&#643;&nbsp;, d&nbsp;, f&nbsp;, g&nbsp;, h&nbsp;, k&nbsp;, l&nbsp;, m&nbsp;, n&nbsp;, p&nbsp;, r&nbsp;, s&nbsp;, t&nbsp;, v&nbsp;, w&nbsp;, j&nbsp;, z&nbsp;&nbsp;|&nbsp; &#240;&nbsp;, &#100;&#865;&#658;&nbsp;, &#331;&nbsp;, &#643;&nbsp;, &#952;&nbsp;, &#658;&nbsp;&nbsp;|</p> <p><a id="philosophy"></a></p> <h2 style="cursor:pointer" onclick="myPhi();">PHILOSOPHY</h2> <p>&#8226; Traditional Transcription (&nbsp;Characters&nbsp;)&nbsp; &rArr;&nbsp; Traditional Orthography&nbsp; &rArr;&nbsp; Traditional Writing<span class="phis" style="display:none"> (&nbsp;1st&nbsp;)</span></p> <p class="phip" style="display:none">&#8226; Phonetic Transcription (&nbsp;Allophones&nbsp;)&nbsp; &rArr;&nbsp; Phonetic Orthography&nbsp; &rArr;&nbsp; Phonetic Writing (&nbsp;2nd&nbsp;)</p> <p>&#8226; Phonemic Transcription (&nbsp;Phonemes&nbsp;)&nbsp; &rArr;&nbsp; Phonemic Orthography&nbsp; &rArr;&nbsp; Phonemic Writing<span class="phis" style="display:none"> (&nbsp;3rd&nbsp;)</span></p> <a id="bibliography"></a> <h2 style="cursor:pointer" onclick="myBib();">BIBLIOGRAPHY</h2> <p class="bibp" style="display:none">&#8226; ARPABET : Advanced Research Projects Agency (&nbsp;<a href="https://en.wikipedia.org/wiki/ARPABET">Link</a>&nbsp;)</p> <p class="bibp" style="display:none">&#8226; CMU : The CMU Pronouncing Dictionary (&nbsp;<a href="https://en.wikipedia.org/wiki/CMU_Pronouncing_Dictionary">Link</a>&nbsp;)</p> <p class="bibp" style="display:none">&#8226; IPA : International Phonetic Alphabet (&nbsp;<a href="https://en.wikipedia.org/wiki/International_Phonetic_Alphabet">Link</a>&nbsp;)</p> <p class="bibp" style="display:none">&#8226; GEMINI : Google's AI Assistant (&nbsp;<a href="https://en.wikipedia.org/wiki/Gemini_(chatbot)">Link</a>&nbsp;)</p> <p class="bibp" style="display:none">&#8226; MOP : Maximal Onset Principle (&nbsp;<a href="https://en.wikipedia.org/wiki/English_phonology">Link</a>&nbsp;)</p> <p class="bibp" style="display:none">&#8226; WSP : Weak Syllable Principle (&nbsp;<a href="https://en.wikipedia.org/wiki/Syllable">Link</a>&nbsp;)</p> <p>&#8226; <span class="bibs" style="display:none">URL : </span>Phonemic Orthography (&nbsp;<a href="https://en.wikipedia.org/wiki/Phonemic_orthography">Link</a>&nbsp;)</p> <p>&#8226; <span class="bibs" style="display:none">URL : </span>Cambridge Dictionary (&nbsp;<a href="https://dictionary.cambridge.org/us/dictionary/english/american">Link</a>&nbsp;)</p> <p class="bibp" style="display:none">&#8226; URL : Alphabetic Principle (&nbsp;<a href="https://en.wikipedia.org/wiki/Alphabetic_principle">Link</a>&nbsp;)</p> <h2 style="cursor:pointer" onclick="myPro();">PROJECT</h2> <p>&#8226; <a href="https://github.com/armotus/phonemic-transcription">HOME</a></p> <h2>LICENSE</h2> <p>&#8226; <a href="abc/abc.html">ABC</a></p> </div> <script src="js/panels.js"></script> <script src="js/dictionary.js"></script> <script src="js/transcriber.js"></script> </body> </html>