org.jqurantree.arabic.encoding.buckwalter
Class BuckwalterEncoder
java.lang.Object
org.jqurantree.arabic.encoding.ArabicEncoderBase
org.jqurantree.arabic.encoding.buckwalter.BuckwalterEncoder
- All Implemented Interfaces:
- ArabicEncoder
public class BuckwalterEncoder
- extends ArabicEncoderBase
Supports encoding ArabicText
into Buckwalter
transliteration. This class is used by the
ArabicText.toBuckwalter()
method.
Buckwalter transliteration uses ASCII characters to represent Arabic
orthography. As there is a one-to-one correspondence with Unicode, the
encoding scheme is reversible. JQuranTree uses a superset of Buckwalter
transliteration. There are 4 non-arabic characters in the original encoding
scheme with are not found in the Quranic text: P (Peh), J (Tcheh), V (Veh)
and G (Gaf). The combination character Alif + Maddah (|) is also not
used in Tanzil XML. These characters are not implemented by this encoder.
Likewise, 14 Quranic symbols do not feature in the original scheme. The
encoder assigns these to ASCII punctuation marks.
- Author:
- Kais Dukes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuckwalterEncoder
public BuckwalterEncoder()
- Creates a new Buckwalter encoder.
Copyright© Kais Dukes, 2009. All Rights Reserved.