ବ୍ୟବହାରକାରୀ:Prateek Pattanaik/IPAConverter
- ଏହି କନଭର୍ଟରଟି ମୋବାଇଲ ଦେଖଣାରେ ହୁଏତ କାମ କରିନପାରେ । କାମ କରୁନଥିଲେ "ଡେସ୍କଟପ" ଦେଖଣା ସଚଳ କରନ୍ତୁ ।
<script> function check_input() {
if (document.getElementById('input_text').value == "") { alert("Oops...Nothing to convert! Paste your text in the left side box first."); return false; }
} </script> <script> function odia_to_ipa() {
check_input(); var convmap = new Array(
"କ୍","k","କା","kaː", "କି","ki", "କୀ","ki", "କୁ","ku", "କୂ","ku", "କେ","ke", "କୈ","kɵi", "କୋ","ko", "କୌ","kou",
"ଖ୍","kʰ","ଖା","kʰaː", "ଖି","kʰi", "ଖୀ","kʰi", "ଖୁ","kʰu", "ଖୂ","kʰu", "ଖେ","kʰe", "ଖୈ","kʰɵi", "ଖୋ","kʰo", "ଖୌ","kʰou",
"ଗ୍","g","ଗା","gaː", "ଗି","gi", "ଗୀ","gi", "ଗୁ","gu", "ଗୂ","gu", "ଗେ","ge", "ଗୈ","gɵi", "ଗୋ","go", "ଗୌ","gou",
"ଘ୍","gʰ","ଘା","gʰaː", "ଘି","gʰi", "ଘୀ","gʰi", "ଘୁ","gʰu", "ଘୂ","gʰu", "ଘେ","gʰe", "ଘୈ","gʰɵi", "ଘୋ","gʰo", "ଘୌ","gʰou",
"ଙ୍","ŋ","ଙା","ŋaː", "ଙି","ŋi", "ଙୀ","ŋi", "ଙୁ","ŋu", "ଙୂ","ŋu", "ଙେ","ŋe", "ଙୈ","ŋɵi", "ଙୋ","ŋo", "ଙୌ","ŋou",
"ଚ୍","t͡ʃ","ଚା","t͡ʃaː", "ଚି","t͡ʃi", "ଚୀ","t͡ʃi", "ଚୁ","t͡ʃu", "ଚୂ","t͡ʃu", "ଚେ","t͡ʃe", "ଚୈ","t͡ʃɵi", "ଚୋ","t͡ʃo", "ଚୌ","t͡ʃou",
"ଛ୍","t͡ʃʰ","ଛା","t͡ʃʰaː", "ଛି","t͡ʃʰi", "ଛୀ","t͡ʃʰi", "ଛୁ","t͡ʃʰu", "ଛୂ","t͡ʃʰu", "ଛେ","t͡ʃʰe", "ଛୈ","t͡ʃʰɵi", "ଛୋ","t͡ʃʰo", "ଛୌ","t͡ʃʰou",
"ଜ୍","d͡ʒ","ଜା","d͡ʒaː", "ଜି","d͡ʒi", "ଜୀ","d͡ʒi", "ଜୁ","d͡ʒu", "ଜୂ","d͡ʒu", "ଜେ","d͡ʒe", "ଜୈ","d͡ʒɵi", "ଜୋ","d͡ʒo", "ଜୌ","d͡ʒou",
"ଝ୍","d͡ʒʱ","ଝା","d͡ʒʱaː", "ଝି","d͡ʒʱi", "ଝୀ","d͡ʒʱi", "ଝୁ","d͡ʒʱu", "ଝୂ","d͡ʒʱu", "ଝେ","d͡ʒʱe", "ଝୈ","d͡ʒʱɵi", "ଝୋ","d͡ʒʱo", "ଝୌ","d͡ʒʱou",
"ଞ୍","ɲ","ଞା","ɲaː", "ଞି","ɲi", "ଞୀ","ɲi", "ଞୁ","ɲu", "ଞୂ","ɲu", "ଞେ","ɲe", "ଞୈ","ɲɵi", "ଞୋ","ɲo", "ଞୌ","ɲou",
"ଟ୍","ʈ","ଟା","ʈaː", "ଟି","ʈi", "ଟୀ","ʈi", "ଟୁ","ʈu", "ଟୂ","ʈu", "ଟେ","ʈe", "ଟୈ","ʈɵi", "ଟୋ","ʈo", "ଟୌ","ʈou",
"ଠ୍","ʈʰ","ଠା","ʈʰaː", "ଠି","ʈʰi", "ଠୀ","ʈʰi", "ଠୁ","ʈʰu", "ଠୂ","ʈʰu", "ଠେ","ʈʰe", "ଠୈ","ʈʰɵi", "ଠୋ","ʈʰo", "ଠୌ","ʈʰou",
"ଡ଼୍","ɽ","ଡ଼ା","ɽaː", "ଡ଼ି","ɽi", "ଡ଼ୀ","ɽi", "ଡ଼ୁ","ɽu", "ଡ଼ୂ","ɽu", "ଡ଼େ","ɽe", "ଡ଼ୈ","ɽɵi", "ଡ଼ୋ","ɽo", "ଡ଼ୌ","ɽou",
"ଢ଼୍","ɽʱ","ଢ଼ା","ɽʱaː", "ଢ଼ି","ɽʱi", "ଢ଼ୀ","ɽʱi", "ଢ଼ୁ","ɽʱu", "ଢ଼ୂ","ɽʱu", "ଢ଼େ","ɽʱe", "ଢ଼ୈ","ɽʱɵi", "ଢ଼ୋ","ɽʱo", "ଢ଼ୌ","ɽʱou",
"ଡ୍","ɖ","ଡା","ɖaː", "ଡି","ɖi", "ଡୀ","ɖi", "ଡୁ","ɖu", "ଡୂ","ɖu", "ଡେ","ɖe", "ଡୈ","ɖɵi", "ଡୋ","ɖo", "ଡୌ","ɖou",
"ଢ୍","ɖʱ","ଢା","ɖʱaː", "ଢି","ɖʱi", "ଢୀ","ɖʱi", "ଢୁ","ɖʱu", "ଢୂ","ɖʱu", "ଢେ","ɖʱe", "ଢୈ","ɖʱɵi", "ଢୋ","ɖʱo", "ଢୌ","ɖʱou",
"ଣ୍","ɳ","ଣା","ɳaː", "ଣି","ɳi", "ଣୀ","ɳi", "ଣୁ","ɳu", "ଣୂ","ɳu", "ଣେ","ɳe", "ଣୈ","ɳɵi", "ଣୋ","ɳo", "ଣୌ","ɳou",
"ତ୍","t̪","ତା","t̪aː", "ତି","t̪i", "ତୀ","t̪i", "ତୁ","t̪u", "ତୂ","t̪u", "ତେ","t̪e", "ତୈ","t̪ɵi", "ତୋ","t̪o", "ତୌ","t̪ou",
"ଥ୍","t̪ʰ","ଥା","t̪ʰaː", "ଥି","t̪ʰi", "ଥୀ","t̪ʰi", "ଥୁ","t̪ʰu", "ଥୂ","t̪ʰu", "ଥେ","t̪ʰe", "ଥୈ","t̪ʰɵi", "ଥୋ","t̪ʰo", "ଥୌ","t̪ʰou",
"ଦ୍,"d̪", "ଦା","d̪aː", "ଦି","d̪i", "ଦୀ","d̪i", "ଦୁ","d̪u", "ଦୂ","d̪u", "ଦେ","d̪e", "ଦୈ","d̪ɵi", "ଦୋ","d̪o", "ଦୌ", "d̪ou",
"ଧ୍","d̪ʱ","ଧା","d̪ʱaː", "ଧି","d̪ʱi", "ଧୀ","d̪ʱi", "ଧୁ","d̪ʱu", "ଧୂ","d̪ʱu", "ଧେ","d̪ʱe", "ଧୈ","d̪ʱɵi", "ଧୋ","d̪ʱo", "ଧୌ","d̪ʱou",
"ନ୍","n","ନା","naː", "ନି","ni", "ନୀ","ni", "ନୁ","nu", "ନୂ","nu", "ନେ","ne", "ନୈ","nɵi", "ନୋ","no", "ନୌ","nou",
"ପ","p","ପା","paː", "ପି","pi", "ପୀ","pi", "ପୁ","pu", "ପୂ","pu", "ପେ","pe", "ପୈ","pɵi", "ପୋ","po", "ପୌ","pou",
"ଫ","pʰ","ଫା","pʰaː", "ଫି","pʰi", "ଫୀ","pʰi", "ଫୁ","pʰu", "ଫୂ","pʰu", "ଫେ","pʰe", "ଫୈ","pʰɵi", "ଫୋ","pʰo", "ଫୌ","pʰou",
"ବ୍","b","ବା","baː", "ବି","bi", "ବୀ","bi", "ବୁ","bu", "ବୂ","bu", "ବେ","be", "ବୈ","bɵi", "ବୋ","bo", "ବୌ","bou",
"ଭ୍,"bʱ", "ଭା","bʱaː", "ଭି","bʱi", "ଭୀ","bʱi", "ଭୁ","bʱu", "ଭୂ","bʱu", "ଭେ","bʱe", "ଭୈ","bʱɵi", "ଭୋ","bʱo", "ଭୌ","bʱou",
"ମ","m","ମା","maː", "ମି","mi", "ମୀ","mi", "ମୁ","mu", "ମୂ","mu", "ମେ","me", "ମୈ","mɵi", "ମୋ","mo", "ମୌ","mou",
"ବ","bɵ")
var convmap_length = convmap.length ; var modified_substring = $("#input_text").val(); var text_size = modified_substring.length ; var processed_text = "" ; var position1 = 0 ; var position2 = 0 ; var process_queue = 1 ; var chunk_size = 6000; while ( process_queue == 1 ) { position1 = position2 ; if ( position2 < ( text_size - chunk_size ) ) { position2 += chunk_size ; while (document.getElementById("input_text").value.charAt ( position2 ) != ' ') {position2--;} } else { position2 = text_size ; process_queue = 0 } var modified_substring = document.getElementById("input_text").value.substring ( position1, position2 ) ; Replace_Symbols( ) ; var processed_text = processed_text + modified_substring ; $("#unicode_text").val("Conversion in progress.." + '\n\n' + 'Conversion of ' + position2 + ' charecters out of ' + text_size + ' completed.'); } $("#unicode_text").val(processed_text); function Replace_Symbols( ) { if ( modified_substring != "" ) { for ( input_symbol_idx = 0; input_symbol_idx < convmap_length-1; input_symbol_idx = input_symbol_idx + 2 ) { idx = 0 ; while (idx != -1 ) { modified_substring = modified_substring.replace( convmap[ input_symbol_idx ] , convmap[input_symbol_idx+1] ); idx = modified_substring.indexOf( convmap[input_symbol_idx] ); } } modified_substring = modified_substring.replace(/([ù])([କଖଗଘଙଚଛଜଝଞଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯୟରଲବୱଶଷସହକ୍ଷଡ଼ଳ])/g , "$2$1");
modified_substring = modified_substring.replace(/([ù])([୍])([କଖଗଘଚଛଜଝଟଠଡଡ଼ଢଢ଼ଣତଥନପଫବଭମୟରଲବୱଶଷସହକ୍ଷଡ଼ଳ])/g , "$2$3$1"); modified_substring = modified_substring.replace(/ùø/g , "ୌ"); modified_substring = modified_substring.replace(/ùା/g , "ୋ"); modified_substring = modified_substring.replace(/ù÷/g , "ୈ"); modified_substring = modified_substring.replace(/ù/g , "େ"); modified_substring = modified_substring.replace(/([କଖଗଘଚଛଜଝଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯରଲଳଵଶଷସହକ୍ଷଜ୍ଞୟ])([ାିୀୁୂୃେୈୋୌଂଁ]*)à/g , "ð$1$2"); modified_substring = modified_substring.replace(/([କଖଗଘଚଛଜଝଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯରଲଳଵଶଷସହକ୍ଷଜ୍ଞୟ])([ାିୀୁୂୃେୈୋୌଂଁ]*)ð/g , "ð$1$2"); modified_substring = modified_substring.replace(/([କଖଗଘଚଛଜଝଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯରଲଳଵଶଷସହକ୍ଷଜ୍ଞୟ])([୍])à/g , "ð$1$2"); modified_substring = modified_substring.replace(/([କଖଗଘଚଛଜଝଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯରଲଳଵଶଷସହକ୍ଷଜ୍ଞୟ])([୍])ð/g , "ð$1$2"); modified_substring = modified_substring.replace(/ð/g , "ର୍"); modified_substring = modified_substring.replace(/([ଂଁ])([ାିୀୁୂୃେୈୋୌ])/g , "$2$1");
} }
} </script> <script> function odia_to_roman() {
check_input(); var convmap = new Array( "ବ" , "ba" , "ଭ" , "bha" )
var convmap_length = convmap.length ; var modified_substring = $("#input_text").val(); $("#unicode_text").val("Conversion in progress.."); var text_size = modified_substring.length ; var processed_text = "" ; var position1 = 0 ; var position2 = 0 ; var process_queue = 1 ; var chunk_size = 6000; while ( process_queue == 1 ) { position1 = position2 ; if ( position2 < ( text_size - chunk_size ) ) { position2 += chunk_size ; while (document.getElementById("input_text").value.charAt ( position2 ) != ' ') {position2--;} } else { position2 = text_size ; process_queue = 0 } var modified_substring = document.getElementById("input_text").value.substring ( position1, position2 ); Replace_Symbols( ) ; var processed_text = processed_text + modified_substring; $("#unicode_text").val("Conversion in progress.." + '\n\n' + 'Conversion of ' + position2 + ' charecters out of ' + text_size + ' completed.'); } $("#unicode_text").val(processed_text); function Replace_Symbols( ) { if ( modified_substring != "" ) { for ( input_symbol_idx = 0; input_symbol_idx < convmap_length-1; input_symbol_idx = input_symbol_idx + 2 ) { idx = 0 ; while (idx != -1 ) { modified_substring = modified_substring.replace( convmap[ input_symbol_idx ] , convmap[input_symbol_idx+1] ) idx = modified_substring.indexOf( convmap[input_symbol_idx] ) } } modified_substring = modified_substring.replace( /([{])([କଖଗଘଙଚଛଜଝଞଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯରଲଳବଶଷସହକ୍ଷଜ୍ଞୟ])/g , "$2$1" ) ; modified_substring = modified_substring.replace( /([{])([୍])([କଖଗଘଙଚଛଜଝଞଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯରଲଳବଶଷସହକ୍ଷଜ୍ଞୟ])/g , "$2$3$1" ) ; modified_substring = modified_substring.replace( /([{])([୍])([କଖଗଘଙଚଛଜଝଞଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯରଲଳବଶଷସହକ୍ଷଜ୍ଞୟ])/g , "$2$3$1" ) ; modified_substring = modified_substring.replace( /{ð/g , "ୈ" ) ; modified_substring = modified_substring.replace( /{ା/g , "ୋ" ) ; modified_substring = modified_substring.replace( /{ò/g , "ୌ" ) ; modified_substring = modified_substring.replace( /{/g , "େ" ) ; modified_substring = modified_substring.replace( /([କଖଗଘଚଛଜଝଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯରଲଳଵଶଷସହକ୍ଷଜ୍ଞୟ])([ାିୀୁୂୃେୈୋୌଂଁ]*)ö/g , "ö$1$2" ) ; modified_substring = modified_substring.replace( /([କଖଗଘଚଛଜଝଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯରଲଳଵଶଷସହକ୍ଷଜ୍ଞୟ])([୍])ö/g , "ö$1$2" ) ; modified_substring = modified_substring.replace( /ö/g , "ର୍" ) ; modified_substring = modified_substring.replace( /([ଂଁ])([ାିୀୁୂୃେୈୋୌ])/g , "$2$1" ) ; modified_substring = modified_substring.replace( /([କଖଗଘଚଛଜଝଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯରଲଳଵଶଷସହକ୍ଷଜ୍ଞୟ])([ାିୀୁୂୃେୈୋୌଂଁ]*)}/g , "}$1$2ି" ) ; modified_substring = modified_substring.replace( /([କଖଗଘଚଛଜଝଟଠଡଡ଼ଢଢ଼ଣତଥଦଧନପଫବଭମଯରଲଳଵଶଷସହକ୍ଷଜ୍ଞୟ])([୍])}/g , "}$1$2" ) ; modified_substring = modified_substring.replace( /}/g , "ର୍" ) ; modified_substring = modified_substring.replace( /ˆ/g , "ତ୍ତ" ) ; } }
} </script> <script> function select_and_copy() {
if (document.getElementById('unicode_text').value == "") { alert('Oops...There is nothing to copy. Please select the conversion buttons first.') } else { document.getElementById('unicode_text').select(); document.execCommand('copy'); document.getElementById('unicode_text_button').value = "Copied"; setTimeout(function(){ document.getElementById('unicode_text_button').value = "Click to select all and copy"; }, 2000); }
} </script> <style type="text/css"> .input {height: 500px;width: 49.5%; border: 1px solid #ccc;margin-top: 15px; align:left;box-sizing: border-box;} input.bigbutton {margin-top: 10px; background: #3E9CFF; padding: 8px 14px 10px; border:1px solid #3e9cbf; cursor:pointer; font-size:1.0em;font-family:Arial, Times New Roman, sans-serif; letter-spacing:.1em;text-shadow: 0 -1px 0px rgba(0, 0, 0, 0.3); color: #fff; -webkit-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999;-moz-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999; box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999;-moz-border-radius: 5px;-webkit-border-radius: 10px;border-radius: 2px;} input.bigbutton:hover, input.bigbutton:focus { color:#dfe7ea;-webkit-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 2px 0px 0px #205c73, 0px 2px 5px #999;-moz-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 2px 0px 0px #205c73, 0px 2px 5px #999;box-shadow: inset 0px 1px 0px #3e9cbf, 0px 2px 0px 0px #205c73, 0px 2px 5px #999;}#ipa, #gist {width: 8%;}#roman, #apranta { width: 9.5%;}#sambad_eml {width: 13.3%;}#unicode_text_button {49.5% !important;float:right;} </style> <input class="bigbutton" title="Click to convert from Samaja, Suryprabha etc" onclick="odia_to_ipa()" type="submit" id="ipa" value="IPA" /> <input class="bigbutton" title="Click to convert from Odisha Express, Smbad Kalika etc." onclick="odia_to_roman()" type="submit" id="roman" value="Roman" /> <input title="Click to select all and copy" onclick="select_and_copy()" class="bigbutton" type="submit" value="Click to select all and copy" id="unicode_text_button" style="width:49.5%;"/> <textarea class="input" placeholder="ଏଠି ଓଡ଼ିଆ ଶବ୍ଦଟି ଲେଖନ୍ତୁ ।" id="input_text" style="float:left"></textarea> <textarea class="input" placeholder="ରୂପାନ୍ତରିତ ଶବ୍ଦ" id="unicode_text" style="float:right"></textarea>
ଆଧାର
ସମ୍ପାଦନା- ଏହା IPA for Odia ଓ "ଉଇକିଅଭିଧାନ - ରୋମାନ ଟ୍ରାନ୍ସଲିଟରେସନ" ଆଧାରରେ ତିଆରି ।
ପରିଚାଳନା
ସମ୍ପାଦନା- ପ୍ରତୀକ ପଟ୍ଟନାୟକ ଓ ସୁଭାସିସ ପାଣିଘରି
- ଏହା ମୂଳ କୋଡ଼ (ଜ୍ଞାନ ରଞ୍ଜନ ସାହୁ, ଶିତିକଣ୍ଠ ଦାଶ, ମନୋଜ ସାହୁକାର ଓ ସୁଭାସିସଙ୍କ ଦେଇ ତିଆରି)ରୁ କିଛି ବଦଳାଇ ତିଆରି କରାଯାଇଛି ।