Skip to content

Instantly share code, notes, and snippets.

@khajavi
Last active March 19, 2016 22:07
Show Gist options
  • Save khajavi/c369d81a3486b491834c to your computer and use it in GitHub Desktop.
Save khajavi/c369d81a3486b491834c to your computer and use it in GitHub Desktop.
val text = new ArabicText("لِّلْـَٔاكِلِينَ")
println(text.toString)
println(text.removeDiacritics())
for( i <- 0 until text.getLetterCount)
println(text.getCharacter(i))
لِّلْـَٔاكِلِينَ
للـاكلين
Lam + Kasra + Shadda
Lam + Sukun
Tatweel + Fatha + HamzaAbove
Alif
Kaf + Kasra
Lam + Kasra
Ya
Noon + Fatha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment