- # @package ext
- __doc__ = """
- Persian transliteration hooks.
- conforms to https://www.loc.gov/catdir/cpso/romanization/persian.pdf
- """
- def s2r_on_tx_token_match(ctx):
- """
- Apply special substitution rules according to ALA-LC spec.
- """
- if ctx.token == "ا":
- # Note 1
-
|