Package: andaluh
Andaluh-pyTransliterate español (spanish) spelling to andaluz proposalsTable of ContentsDescriptionUsageInstallationRoadmapSupportContributingDescriptionTheAndalusian varieties of [Spanish](Spanish:andaluz; Andalusian) are spoken in Andalusia, Ceuta, Melilla, and Gibraltar. They include perhaps the most distinct of the southern variants of peninsular Spanish, differing in many respects from northern varieties, and also from Standard Spanish. Further info:https://en.wikipedia.org/wiki/Andalusian_Spanish.This package introduces transliteration functions to convertespañol(spanish) spelling to andaluz. As there's no official or standard andaluz spelling, andaluh-py is adopting theEPA proposal (Er Prinzipito Andaluh). Further info:https://andaluhepa.wordpress.com. Other andaluz spelling proposals are planned to be added as well.UsageUse from the command line with theandaluhtool:$ andaluh -h
usage: andaluh [-h] [-e {s,z,h}] [-j] [-i FILE] [text]

Transliterate español (spanish) spelling to Andalûh EPA.

positional arguments:
  text        Text to transliterate. Enclosed in quotes for multiple words.

optional arguments:
  -h, --help  show this help message and exit
  -e {s,z,h}  Enforce seseo, zezeo or heheo instead of cedilla (standard).
  -j          Keep /x/ sounds as J instead of /h/
  -i FILE     Transliterates the plain text input file to stdout

$ andaluh "El veloz murciélago hindú comía feliz cardillo y kiwi. La cigüeña tocaba el saxofón detrás del palenque de paja."
Er belôh murçiélago indú comía felîh cardiyo y kiwi. La çigueña tocaba er çâççofón detrâh der palenque de paha.

$ andaluh -e z -j "El veloz murciélago hindú comía feliz cardillo y kiwi. La cigüeña tocaba el saxofón detrás del palenque de paja."
Er belôh murziélago indú comía felîh cardiyo y kiwi. La zigueña tocaba er zâzzofón detrâh der palenque de paja.Import the python library for your own projects:importandaluh# Transliterate with andaluh EPA proposalprint(andaluh.epa("El veloz murciélago hindú comía feliz cardillo y kiwi. La cigüeña tocaba el saxofón detrás del palenque de paja."))>>>Erbelôhmurçiélagoindúcomíafelîhcardiyoykiwi.Laçigueñatocabaerçâççofóndetrâhderpalenquedepaha.# Enforce seseo instead of cedilla and 'j' for /x/ sounds. Show transliteration debug info.print(andaluh.epa("El veloz murciélago hindú comía feliz cardillo y kiwi. La cigüeña tocaba el saxofón detrás palenque de paja.",vaf='s',vvf='j',debug=True))h_rules=>Elvelozmurciélagoindúcomíafelizcardilloykiwi.Lacigüeñatocabaelsaxofóndetráspalenquedepaja.x_rules=>Elvelozmurciélagoindúcomíafelizcardilloykiwi.Lacigüeñatocabaelsâssofóndetráspalenquedepaja.ch_rules=>Elvelozmurciélagoindúcomíafelizcardilloykiwi.Lacigüeñatocabaelsâssofóndetráspalenquedepaja.gj_rules=>Elvelozmurciélagoindúcomíafelizcardilloykiwi.Lacigueñatocabaelsâssofóndetráspalenquedepaja.v_rules=>Elbelozmurciélagoindúcomíafelizcardilloykiwi.Lacigueñatocabaelsâssofóndetráspalenquedepaja.ll_rules=>Elbelozmurciélagoindúcomíafelizcardiyoykiwi.Lacigueñatocabaelsâssofóndetráspalenquedepaja.l_rules=>Elbelozmurciélagoindúcomíafelizcardiyoykiwi.Lacigueñatocabaelsâssofóndetráspalenquedepaja.psico_pseudo_rules=>Elbelozmurciélagoindúcomíafelizcardiyoykiwi.Lacigueñatocabaelsâssofóndetráspalenquedepaja.vaf_rules=>Elbelozmursiélagoindúcomíafelizcardiyoykiwi.Lasigueñatocabaelsâssofóndetráspalenquedepaja.word_ending_rules=>Elbelôhmursiélagoindúcomíafelîhcardiyoykiwi.Lasigueñatocabaelsâssofóndetrâhpalenquedepaja.digraph_rules=>Elbelôhmursiélagoindúcomíafelîhcardiyoykiwi.Lasigueñatocabaelsâssofóndetrâhpalenquedepaja.exception_rules=>Elbelôhmursiélagoindúcomíafelîhcardiyoykiwi.Lasigueñatocabaelsâssofóndetrâhpalenquedepaja.word_interaction_rules=>Erbelôhmursiélagoindúcomíafelîhcardiyoykiwi.Lasigueñatocabaersâssofóndetrâhderpalenquedepaja.Erbelôhmursiélagoindúcomíafelîhcardiyoykiwi.Lasigueñatocabaersâssofóndetrâhderpalenquedepaja.InstallationFrom PyPI repository$ sudo pip install andaluhFrom source code~/andaluh-py$ pip install .Remember use-eoption fordevelop mode.RoadmapAdding more andaluh spelling proposals.Contractions and inter-word interaction rules pending to be implemented.Silent /h/ sounds spelling rules pending to be implemented.Some spelling intervowel /d/ rules are still pending to be implemented.Transliteration rules for some consonant ending words still pending to be implemented.The andaluh EPA group is still deliberating about the 'k' letter.SupportPleaseopen an issuefor support.ContributingPlease contribute usingGithub Flow. Create a branch, add commits, and open a pull request.