phonemic-transcriber
Version:
A simple phonemic transcriber for the american english language.
94 lines (93 loc) • 11.7 kB
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="518" src="light.png" alt="light-theme"></div><br>
<div><img width="854" height="518" src="dark.png" alt="dark-theme"></div>
<h2>PHONEMES "A" ( <a href="https://en.wikipedia.org/wiki/General_American_English">GA</a> )</h2>
<p>A0 • Carnegie Mellon University ( <a href="https://en.wikipedia.org/wiki/CMU_Pronouncing_Dictionary">CMU</a> )</p>
<p>| AH , EH , IH , UH , AE , AH0 , ER0 | AA , ER , IY , AO , UW | AY , EY , OY , AW , OW | Stress : 0 , 1 , 2 |</p>
<p>| B , CH , D , F , G , HH , K , L , M , N , P , R , S , T , V , W , Y , Z | DH , JH , NG , SH , TH , ZH |</p>
<p>A1 • American Phonetic Alphabet ( <a href="https://github.com/armotus/phonemic-transcription">APA</a> )</p>
<p>| ah , eh , ih , uh , ax , ox , ox~ | aq , eq~ , iq , oq , uq | ai , ei , oi , au , ou | Stress : a ¹, á ³, ä ² |</p>
<p>| b , c , d , f , g , j , k , l , m , n , p , r , s , t , v , w , y , z | dh , jh , nh , sh , th , zh |</p>
<p>A2 • Modified American Phonetic Alphabet ( <a href="https://github.com/armotus/phonemic-transcription">MAPA</a> )</p>
<p>| a , e , i , u , ae , ə , ər | aa , eer , ii , oo , uu | ai , ei , oi , au , ou | Stress : a , á , ä |</p>
<p>| b , ch , d , f , g , h , k , l , m , n , p , r , s , t , v , w , y , z | dh , j , ng , sh , th , zh |</p>
<p>A3 • Simplified American Phonetic Alphabet ( <a href="https://github.com/armotus/phonemic-transcription">SAPA</a> )</p>
<p>| a , e , i , u , æ , ə , ər | ā , ēr , ī , ō , ū | ai , ei , oi , au , ou | Stress : ¹ , ³ , ² |</p>
<p>| b , ch , d , f , g , h , k , l , m , n , p , r , s , t , v , w , y , z | dh , j , ŋ , sh , th , ş |</p>
<p>A4 • International Phonetic Alphabet ( <a href="https://en.wikipedia.org/wiki/International_Phonetic_Alphabet">IPA</a> )</p>
<p>| ʌ , ɛ , ɪ , ʊ , æ , ə , ɚ | ɑː , ɝː , iː , ɔː , uː | aɪ , eɪ , ɔɪ , aʊ , oʊ | Stress : . , ˈ , ˌ |</p>
<p>| b , t͡ʃ , d , f , g , h , k , l , m , n , p , r , s , t , v , w , j , z | ð , d͡ʒ , ŋ , ʃ , θ , ʒ |</p>
<h2>PHONEMES "B" ( <a href="https://en.wikipedia.org/wiki/Received_Pronunciation">RP</a> )</h2>
<p>B1 • English Phonetic Alphabet ( <a href="https://github.com/armotus/phonemic-transcription">EPA</a> )</p>
<p>| ah , eh , ih , oh , uh , ax , ox | aq , eq , iq , oq , uq | ex , ix , ux , ai , ei , oi , au , ou |</p>
<p>| a:i:x , a:u:x | e:i:x , o:i:x , o:u:x | Stress : a ¹, á ³, ä ² |</p>
<p>| b , c , d , f , g , j , k , l , m , n , p , r , s , t , v , w , y , z | dh , jh , nh , sh , th , zh |</p>
<p>B2 • Modified English Phonetic Alphabet ( <a href="https://github.com/armotus/phonemic-transcription">MEPA</a> )</p>
<p>| a , e , i , o , u , ae , ə | aa , ee , ii , oo , uu | eə , iə , uə , ai , ei , oi , au , əu |</p>
<p>| aiə , auə | ei.ə , oi.ə , əu.ə | Stress : a , á , ä | əú , əü → stressed schwa ə |</p>
<p>| b , ch , d , f , g , h , k , l , m , n , p , r , s , t , v , w , y , z | dh , j , ng , sh , th , zh |</p>
<p>B3 • Simplified English Phonetic Alphabet ( <a href="https://github.com/armotus/phonemic-transcription">SEPA</a> )</p>
<p>| a , e , i , o , u , æ , ə | ā , ē , ī , ō , ū | eə , iə , uə , ai , ei , oi , au , əu |</p>
<p>| aiə , auə | ei.ə , oi.ə , əu.ə | Stress : ¹ , ³ , ² |</p>
<p>| b , ch , d , f , g , h , k , l , m , n , p , r , s , t , v , w , y , z | dh , j , ŋ , sh , th , ş |</p>
<p>B4 • International Phonetic Alphabet ( <a href="https://en.wikipedia.org/wiki/International_Phonetic_Alphabet">IPA</a> )</p>
<p>| ʌ , e , ɪ , ɒ , ʊ , æ , ə | ɑː , ɜː , iː , ɔː , uː | eə , ɪə , ʊə , aɪ , eɪ , ɔɪ , aʊ , əʊ |</p>
<p>| aɪə , aʊə | eɪ.ə , ɔɪ.ə , əʊ.ə | Stress : . , ˈ , ˌ |</p>
<p>| b , t͡ʃ , d , f , g , h , k , l , m , n , p , r , s , t , v , w , j , z | ð , d͡ʒ , ŋ , ʃ , θ , ʒ |</p>
<h2>PHILOSOPHY</h2>
<p>• Traditional Transcription ( Characters ) ⇒ Traditional Orthography ⇒ Traditional Writing ( 1st )</p>
<p>• Phonetic Transcription ( Allophones ) ⇒ Phonetic Orthography ⇒ Phonetic Writing ( 2nd )</p>
<p>• Phonemic Transcription ( Phonemes ) ⇒ Phonemic Orthography ⇒ Phonemic Writing ( 3rd )</p>
<h2>BIBLIOGRAPHY</h2>
<p>• ARPABET : Advanced Research Projects Agency ( <a href="https://en.wikipedia.org/wiki/ARPABET">Link</a> )</p>
<p>• CMU : The CMU Pronouncing Dictionary ( <a href="https://en.wikipedia.org/wiki/CMU_Pronouncing_Dictionary">Link</a> )</p>
<p>• IPA : International Phonetic Alphabet ( <a href="https://en.wikipedia.org/wiki/International_Phonetic_Alphabet">Link</a> )</p>
<p>• GEMINI : Google's AI Assistant ( <a href="https://en.wikipedia.org/wiki/Gemini_(chatbot)">Link</a> )</p>
<p>• MOP : Maximal Onset Principle ( <a href="https://en.wikipedia.org/wiki/English_phonology">Link</a> )</p>
<p>• WSP : Weak Syllable Principle ( <a href="https://en.wikipedia.org/wiki/Syllable">Link</a> )</p>
<p>• URL : Phonemic Orthography ( <a href="https://en.wikipedia.org/wiki/Phonemic_orthography">Link</a> )</p>
<p>• URL : Cambridge Dictionary ( <a href="https://dictionary.cambridge.org/us/dictionary/english/american">Link</a> )</p>
<p>• URL : Alphabetic Principle ( <a href="https://en.wikipedia.org/wiki/Alphabetic_principle">Link</a> )</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 MAPAphonemetext = transcriber.Transcribe(text,1,1,0,0,0,0,0);</code><br><code>let SAPAphonemetext = transcriber.Transcribe(text,2,1,0,0,0,0,0);</code><br><br><code>console.log(MAPAphonemetext);</code><br><code>console.log(SAPAphonemetext);</code><br><br><code>// wat wii nou iz ə draap , wat wii duu naat nou iz aen ou.shən</code><br><code>// wat wī nou iz ə drāp , wat wī dū nāt nou iz æn 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>