PHP Classes

Andaluh PHP: Transliterate espaņol text (Spanish) to Andaluz

Recommend this page to a friend!
  Info   View files Documentation   View files View files (51)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-08-10 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 12 All time: 11,085 This week: 119Up
Version License PHP version Categories
andaluh-php 1.0MIT/X Consortium ...7Localization, Text processing, PHP 7
Description 

Authors

LeonAlvarez
gongalf
kuasarx


Contributor
This package is specific mainly for applications used in Spain Spain .

This package can transliterate espaņol text (Spanish) to Andaluz.

It can take a given string with words in Spanish and converts its letters to transliterate to Andaluz.

The package can transliterate text following either the EPA or the PAO proposals.

Picture of Juan Camacho
  Performance   Level  
Name: Juan Camacho <contact>
Classes: 5 packages by
Country: Spain Spain
Innovation award
Innovation award
Nominee: 2x

Details

Logo

andaluh-php

Transliterate espaņol (spanish) spelling to andaluz proposals using PHP

Table of Contents

Description

The Andalusian 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 convert espaņol (spanish) spelling to andaluz. As there's no official or standard andaluz spelling, andaluh-php is adopting the EPA and PAO proposals _(Ęttanda Pal Andaluh)_.

Further info: EPA proposal https://andaluhepa.wordpress.com PAO proposal http://pao-andalu.com/

Usage

<?php

namespace Examples;

use Andaluh\Andaluh;

class MyClass 
{   

    public function translate()
    {
        $andaluh = new Andaluh();
        // Transliterate to EPA proposal
        echo 'EPA = '.$andaluh->transliterate_Epa('Todo Xenomorfo dice: [haber], que el Éxito y el éxtasis asfixian, si no eres un xilófono Chungo.');
        // Transliterate to PAO proposal
        echo 'PAO = '.$andaluh->transliterate_Pao('Lleva un Guijarrito el ABuelo, ĄQué Bueno! Ąpara la VERGÜENZA!');
    }
}      

Installation

Install it with composser

composer require andalugeeks/andaluh

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

  Files folder image Files  
File Role Description
Files folder imagelib (1 directory)
Files folder imagetests (2 files, 1 directory)
Accessible without login Image file andaluh-php-logo.jpg Icon Icon image
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  lib  
File Role Description
Files folder imageAndaluh (1 file, 1 directory)

  Files folder image Files  /  lib  /  Andaluh  
File Role Description
Files folder imageRules (2 directories)
  Plain text file Andaluh.php Class Class source

  Files folder image Files  /  lib  /  Andaluh  /  Rules  
File Role Description
Files folder imageEPA (14 files)
Files folder imagePAO (14 files)

  Files folder image Files  /  lib  /  Andaluh  /  Rules  /  EPA  
File Role Description
  Plain text file BaseRule.php Class Class source
  Plain text file ChRules.php Class Class source
  Plain text file DigraphRules.php Class Class source
  Plain text file ExceptionsRules.php Class Class source
  Plain text file GJRules.php Class Class source
  Plain text file HRules.php Class Class source
  Plain text file LlRules.php Class Class source
  Plain text file LRules.php Class Class source
  Plain text file PsicoPseudoRules.php Class Class source
  Plain text file VAFRules.php Class Class source
  Plain text file VRules.php Class Class source
  Plain text file WordEndingRules.php Class Class source
  Plain text file WordInteractionRules.php Class Class source
  Plain text file XRules.php Class Class source

  Files folder image Files  /  lib  /  Andaluh  /  Rules  /  PAO  
File Role Description
  Plain text file BaseRule.php Class Class source
  Plain text file ChRules.php Class Class source
  Plain text file DigraphRules.php Class Class source
  Plain text file ExceptionsRules.php Class Class source
  Plain text file GJRules.php Class Class source
  Plain text file HRules.php Class Class source
  Plain text file LlRules.php Class Class source
  Plain text file LRules.php Class Class source
  Plain text file PsicoPseudoRules.php Class Class source
  Plain text file VAFRules.php Class Class source
  Plain text file VRules.php Class Class source
  Plain text file WordEndingRules.php Class Class source
  Plain text file WordInteractionRules.php Class Class source
  Plain text file XRules.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageRules (16 files)
  Plain text file AndaluhEpaTest.php Class Class source
  Accessible without login Plain text file lemario_cas_and.csv Data Auxiliary data

  Files folder image Files  /  tests  /  Rules  
File Role Description
  Plain text file BaseRuleTest.php Class Class source
  Plain text file ChRulesTest.php Class Class source
  Plain text file DigraphRulesTest.php Class Class source
  Plain text file ExceptionsRulesTest.php Class Class source
  Plain text file GetVowelCircumflexsTest.php Class Class source
  Plain text file GetVowelTildeTest.php Class Class source
  Plain text file GjRulesTest.php Class Class source
  Plain text file HRulesTest.php Class Class source
  Plain text file LlRulesTest.php Class Class source
  Plain text file LRulesTest.php Class Class source
  Plain text file PsicoPseudoRulesTest.php Class Class source
  Plain text file VAFRulesTest.php Class Class source
  Plain text file VRulesTest.php Class Class source
  Plain text file WordEndingRulesTest.php Class Class source
  Plain text file WordInteractionRulesTest.php Class Class source
  Plain text file XRulesTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:12
This week:0
All time:11,085
This week:119Up