Naraguna:Bennylin/trans.js: Béda antara owahan

Konten dihapus Konten ditambahkan
Tanpa ringkesan besutan
v 1.5 big change
Larik 17:
* Derived with permission from Hindi Transliteration by Markandey Singh @markandey
* http://www.purplegene.com/static/HindiTranslitration.html
*
* TOC
* I. Function SuperTrim, findstr
* II. Function isDigit, isPunct, isVowel
* III. Function isSpecial, isHR, isLW
* IV. Function GetMatra
* V. Function GetShift (the longest part of the code, almost half the total lines)
* VI. Function GetCoreSound, GetSpecialSound
* VII. Function ResolveCharacterSound
* VIII. Function GetSound
* IX. Function DoTransliterate
*/
 
Baris 560 ⟶ 571:
}
/***************************
VI. Function GetCoreSound, GetSpecialSound
return aksara nglegana maupun aksara istimewa (f/v/z/pangkon)
****************************/
Baris 721 ⟶ 732:
}
/***************************
VII. Function ResolveCharacterSound
return tanda baca, digit, vokal, maupun nglegana+pangkon
****************************/
Baris 741 ⟶ 752:
}
/***************************
VIII. Function GetSound
fungsi yang mentransliterasi masing-masing suku kata
****************************/
Baris 863 ⟶ 874:
}
/***************************
IX. Function DoTransliterate
fungsi utama yang dipanggil (main function)
****************************/