o
    wiM                     @   s    d Z ddlZdd Zdd ZdS )zy
Deal with the idiosyncratic transliteration scheme used by "Sacred texts of the east" type publishers from around 1900.
    Nc                 C   sf   t | dkrtd ddddddd	d
ddd
}| D ]\}}| ||} | | | } q| S )N   z,Beware! usually not an encoded sanskrit textu   ṇu   ṭu   ḍu   ṁchu   ḥu   r̥cju   ś)
ntdmkhhrikgs)lenloggingwarningitemsreplace
capitalizetextreplacementsxy r   l/home/ubuntu/maya3_transcribe/venv/lib/python3.10/site-packages/indic_transliteration/sacred_texts_scheme.pydecode_italicized_text   s   
r   c                 C   sH   ddddddd}|  D ]\}}| ||} | | | } q| S )Nu   āu   īu   ūz\`z -  )   â   î   û          )r   r   r   r   r   r   r   decode_nonitalicized   s
   r%   )__doc__r   r   r%   r   r   r   r   <module>   s    
