Qur'an | Word by Word | Audio | Prayer Times
__ Sign In

Java API - Buckwalter Example


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.

Program Output



The toBuckwalter() method can be used to convert a verse, token, character or any other Arabic text to Buckwalter transliteration.

See Also

Language Research Group
University of Leeds