UNPKG

phonemic-transcriber

Version:

A simple phonemic transcriber for the american english language.

79 lines 7.08 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="author" content="Armotus"> <meta name="robots" content="noindex, nofollow"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="icon" href="../fav/favicon.svg"> <title>Docs</title> <style> *{border:0;margin:0;padding:0;outline:0;font-size:16px;line-height:1.2;list-style:none;list-style-type:none;text-decoration:none;box-sizing:border-box;font-family:sans-serif} body{margin:3em 6em;background-color:#fff} h1{font-size:1.8rem;margin:1.2em 0} h2{font-size:1.5rem;margin:1.5em 0} h1,h2{color:#0f0f0f;font-weight:700} p{margin:1.2em 0} p.space{margin-bottom:-0.9em} p{max-width:854px;text-align:justify} pre{background-color:#f3f3f3;border:1px solid #ddd;padding:.9em 0} a{outline:none;color:#00f;text-decoration:none;background-color:#fff} code{max-width:854px;padding-left:1.8em;line-height:1.8;font-family:monospace} img{width:100%;height:auto;margin:auto;border:none;outline:none;display:block;max-width:854px;box-sizing:border-box} div{margin:0;width:100%;height:auto;line-height:0;display:block;max-width:854px} @media (max-width: 1200px) { body{margin:3em .9em 3em .6em} } </style> </head> <body> <h1>PHONEMIC TRANSCRIPTION</h1> <p>A simple phonemic transcriber for the american english language.</p> <h2>SCREENSHOTS</h2> <div><img width="854" height="512" src="light.png" alt="light-theme"></div><br> <div><img width="854" height="512" src="dark.png" alt="dark-theme"></div> <h2>PHONEMES</h2> <p>A0 &#8226; Carnegie Mellon University (&nbsp;<a href="https://en.wikipedia.org/wiki/CMU_Pronouncing_Dictionary">CMU</a>&nbsp;)</p> <p>|&nbsp; AH , EH , IH , UH , AE , AH0 , ER0 &nbsp;|&nbsp; AA , ER , IY , AO , UW &nbsp;|&nbsp; AY , EY , OY , AW , OW &nbsp;|&nbsp; Stress : 0 , 1 , 2 &nbsp;|</p> <p>|&nbsp; B , CH , D , F , G , HH , K , L , M , N , P , R , S , T , V , W , Y , Z &nbsp;|&nbsp; DH , JH , NG , SH , TH , ZH &nbsp;|</p> <p>A1 &#8226; American Phonetic Alphabet (&nbsp;<a href="https://github.com/armotus/phonemic-transcription">APA</a>&nbsp;)</p> <p>|&nbsp; ah , eh , ih , uh , ax , ox , xq &nbsp;|&nbsp; aq , eq , iq , oq , uq &nbsp;|&nbsp; ai , ei , oi , au , ou &nbsp;|&nbsp; Stress : a , á , ä &nbsp;|</p> <p>|&nbsp; b , c , d , f , g , j , k , l , m , n , p , r , s , t , v , w , y , z &nbsp;|&nbsp; dh , jh , nh , sh , th , zh &nbsp;|</p> <p>A2 &#8226; Modified American Phonetic Alphabet (&nbsp;<a href="https://github.com/armotus/phonemic-transcription">MAPA</a>&nbsp;)</p> <p>|&nbsp; a , e , i , u , ae , &#601; , &#601;&#601; &nbsp;|&nbsp; aa , ee , ii , oo , uu &nbsp;|&nbsp; ai , ei , oi , au , ou &nbsp;|&nbsp; Stress : a , á , ä &nbsp;|</p> <p>|&nbsp; b , ch , d , f , g , h , k , l , m , n , p , r , s , t , v , w , y , z &nbsp;|&nbsp; dh , j , ng , sh , th , zh &nbsp;|</p> <p>A3 &#8226; International Phonetic Alphabet (&nbsp;<a href="https://en.wikipedia.org/wiki/International_Phonetic_Alphabet">IPA</a>&nbsp;)</p> <p>|&nbsp; &#652; , &#603; , &#618; , &#650; , &#230; , &#601; , &#602; &nbsp;|&nbsp; &#593;&#720; , &#605;&#720; , &#105;&#720; , &#596;&#720; , &#117;&#720; &nbsp;|&nbsp; a&#618; , e&#618; , &#596;&#618; , a&#650; , o&#650; &nbsp;|&nbsp; Stress : . , &#712; , &#716; &nbsp;|</p> <p>|&nbsp; b , &#116;&#865;&#643; , d , f , g , h , k , l , m , n , p , r , s , t , v , w , j , z &nbsp;|&nbsp; &#240; , &#100;&#865;&#658; , &#331; , &#643; , &#952; , &#658; &nbsp;|</p> <p>E1 &#8226; English Phonetic Alphabet (&nbsp;<a href="https://github.com/armotus/phonemic-transcription">EPA</a>&nbsp;)</p> <p>|&nbsp; ah , eh , ih , oh , uh , ax , ox &nbsp;|&nbsp; aq , eq , iq , oq , uq &nbsp;|&nbsp; ex , ix , ux , ai , ei , oi , au , ou &nbsp;|&nbsp; Stress : a , á , ä &nbsp;|</p> <p>|&nbsp; b , c , d , f , g , j , k , l , m , n , p , r , s , t , v , w , y , z &nbsp;|&nbsp; dh , jh , nh , sh , th , zh &nbsp;|</p> <p>E2 &#8226; Modified English Phonetic Alphabet (&nbsp;<a href="https://github.com/armotus/phonemic-transcription">MEPA</a>&nbsp;)</p> <p>|&nbsp; a , e , i , o , u , ae , &#601; &nbsp;|&nbsp; aa , ee , ii , oo , uu &nbsp;|&nbsp; e&#601; , i&#601; , u&#601; , ai , ei , oi , au , ou &nbsp;|&nbsp; Stress : a , á , ä &nbsp;|</p> <p>|&nbsp; b , ch , d , f , g , h , k , l , m , n , p , r , s , t , v , w , y , z &nbsp;|&nbsp; dh , j , ng , sh , th , zh &nbsp;|</p> <p>E3 &#8226; International Phonetic Alphabet (&nbsp;<a href="https://en.wikipedia.org/wiki/International_Phonetic_Alphabet">IPA</a>&nbsp;)</p> <p>|&nbsp; &#652; , e , &#618; , &#594; , &#650; , &#230; , &#601; &nbsp;|&nbsp; &#593;&#720; , &#604;&#720; , &#105;&#720; , &#596;&#720; , &#117;&#720; &nbsp;|&nbsp; e&#601; , &#618;&#601; , &#650;&#601; , a&#618; , e&#618; , &#596;&#618; , a&#650; , &#601;&#650; &nbsp;|&nbsp; Stress : . , &#712; , &#716; &nbsp;|</p> <p>|&nbsp; b , &#116;&#865;&#643; , d , f , g , h , k , l , m , n , p , r , s , t , v , w , j , z &nbsp;|&nbsp; &#240; , &#100;&#865;&#658; , &#331; , &#643; , &#952; , &#658; &nbsp;|</p> <h2>PHILOSOPHY</h2> <p>&#8226; Traditional Transcription (&nbsp;Characters&nbsp;) &nbsp;&rArr;&nbsp; Traditional Orthography &nbsp;&rArr;&nbsp; Traditional Writing (&nbsp;1st&nbsp;)</p> <p>&#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 (&nbsp;3rd&nbsp;)</p> <h2>BIBLIOGRAPHY</h2> <p>&#8226; ARPABET : Advanced Research Projects Agency (&nbsp;<a href="https://en.wikipedia.org/wiki/ARPABET">Link</a>&nbsp;)</p> <p>&#8226; CMU : The CMU Pronouncing Dictionary (&nbsp;<a href="https://en.wikipedia.org/wiki/CMU_Pronouncing_Dictionary">Link</a>&nbsp;)</p> <p>&#8226; IPA : International Phonetic Alphabet (&nbsp;<a href="https://en.wikipedia.org/wiki/International_Phonetic_Alphabet">Link</a>&nbsp;)</p> <p>&#8226; GEMINI : Google's AI Assistant (&nbsp;<a href="https://en.wikipedia.org/wiki/Gemini_(chatbot)">Link</a>&nbsp;)</p> <p>&#8226; URL : Phonemic Orthography (&nbsp;<a href="https://en.wikipedia.org/wiki/Phonemic_orthography">Link</a>&nbsp;)</p> <p>&#8226; URL : Alphabetic Principle (&nbsp;<a href="https://en.wikipedia.org/wiki/Alphabetic_principle">Link</a>&nbsp;)</p> <h2>INSTALLATION</h2> <pre><code>npm i phonemic-transcriber</code></pre> <h2>USAGE</h2> <pre><code>let text = 'What we know is a drop, what we do not know is an ocean';</code><br><code>let transcriber = require('phonemic-transcriber');</code><br><code>let phonemetext = transcriber.Transcribe(text,1,0,0,0,0);</code><br><br><code>console.log(phonemetext);</code><br><br><code>// wat wii nou iz ə draap , wat wii duu naat nou iz aen ou.shən</code></pre> <h2>TEST</h2> <pre><code>npm test</code></pre> <h2>DEMO</h2> <div><a href="https://armotus.github.io/phonemic-transcription">HOME</a></div> <h2>LICENSE</h2> <div><a href="../abc/abc.html">ABC</a></div> </body> </html>