In this example, a token in the orthography model is converted to Buckwalter transliteration. Within verse (19:7), the 6th token is selected. Buckwalter transliteration is a reversible encoding scheme that uses ASCII characters to represent Arabic text.
Java Example
public class BuckwalterExample { public static void main() { // Get token #6 of verse (19:7). Token token = Document.getToken(19, 7, 6); // Display the token using Buckwalter transliteration. System.out.println(token.toBuckwalter()); } }
Program Output
yaHoyaY`
Discussion
The toBuckwalter() method can be used to convert a verse, token, character or any other Arabic text to Buckwalter transliteration.
See Also
- Java API Examples
- Verse (19:7) - the verse in the Quran used above