All Projects → andalugeeks → andaluh-js

andalugeeks / andaluh-js

Licence: LGPL-3.0 license
Transliterate español (spanish) spelling to andaluz proposals using javascript

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to andaluh-js

tr4n5l4te
Use Google Translate without an API key.
Stars: ✭ 32 (+45.45%)
Mutual labels:  i18n, translator
awesome-translations
😎 Awesome lists about Internationalization & localization stuff. l10n, g11n, m17n, i18n. Translations! 🌎🌍
Stars: ✭ 54 (+145.45%)
Mutual labels:  i18n, hacktoberfest2020
Translation
The Translation component provides tools to internationalize your application.
Stars: ✭ 6,196 (+28063.64%)
Mutual labels:  i18n, translator
simple-translator
Simple, universal translation with pure JavaScript.
Stars: ✭ 58 (+163.64%)
Mutual labels:  i18n, translator
deepl-php-lib
🧠 DeepL API Client Library supporting PHP >= 7.3
Stars: ✭ 50 (+127.27%)
Mutual labels:  i18n, translator
deepl-api-connector
Connector library for deepl.com rest translation api
Stars: ✭ 12 (-45.45%)
Mutual labels:  i18n, translator
Ecommerce-Site
A simple E-commerce site made with HTML, SCSS and JavaScript.
Stars: ✭ 13 (-40.91%)
Mutual labels:  hacktoberfest2020
i18n-demo
A simple i18n demo app with Angular and expressjs
Stars: ✭ 12 (-45.45%)
Mutual labels:  i18n
Hr
Easy Access to Uppercase H
Stars: ✭ 56 (+154.55%)
Mutual labels:  text-processing
Compare-UserJS
PowerShell script for comparing user.js (or prefs.js) files.
Stars: ✭ 79 (+259.09%)
Mutual labels:  text-processing
ar-variation
Variation behavior for ActiveRecord
Stars: ✭ 46 (+109.09%)
Mutual labels:  i18n
nuxt-i18n-example
nuxt-i18n showcase project based on nuxt-starter template
Stars: ✭ 67 (+204.55%)
Mutual labels:  i18n
RustLabs
The Ultimate Workshop Track for #Rust Developer
Stars: ✭ 22 (+0%)
Mutual labels:  hacktoberfest2020
sugestoes-temas
Repositório de sugestões para temas para talks, posts, podcasts, vídeos e/ou qualquer outro conteúdo voltado Android.
Stars: ✭ 33 (+50%)
Mutual labels:  hacktoberfest2020
Instagram-Giveaways-Winner
Instagram Bot which when given a post url will spam mentions to increase the chances of winning. Win Instagram Giveaways!
Stars: ✭ 95 (+331.82%)
Mutual labels:  hacktoberfest2020
ngecilin
Chrome Extension to shorten your looooong URL
Stars: ✭ 23 (+4.55%)
Mutual labels:  hacktoberfest2020
competetive-code-hacktoberfest
For Hacktoberfest Contribution
Stars: ✭ 14 (-36.36%)
Mutual labels:  hacktoberfest2020
react-simple-boilerplate
Simple React Boilerplate with Webpack, Github Actions, Scss, Lazy Loading etc....
Stars: ✭ 38 (+72.73%)
Mutual labels:  hacktoberfest2020
DigiPass
DigiPass (Paywall) WordPress plugin
Stars: ✭ 11 (-50%)
Mutual labels:  hacktoberfest2020
pwsh-prelude
PowerShell “standard” library for supercharging your productivity. Provides a powerful cross-platform scripting environment enabling efficient analysis and sustainable science in myriad contexts.
Stars: ✭ 26 (+18.18%)
Mutual labels:  text-processing

Andaluh-js

Transliterate español (spanish) spelling to andaluz proposals

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-js is adopting the EPA proposal (Er Prinzipito Andaluh). Further info: https://andaluhepa.wordpress.com. Other andaluz spelling proposals are planned to be added as well.

Installation

From NPM repository

$ npm install @andalugeeks/andaluh --save

Usage

First, install dependencies with npm install. Then use tsc CLI to build the distribution /dist folder with tsc.

Javascript

const andaluh = require('@andalugeeks/andaluh');
const EPA = new andaluh.EPA();
console.log(EPA.transcript('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.

TypeScript

You can simply use:

import EPA from '@andalugeeks/andaluh';
var andaluhEPA = new EPA();
console.log(andaluhEPA.transcript('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.

Running tests

For running the basic tests, use

$ npm test

For running the tests based in a manual transcripted csv (some of them are expected to fail), run

$ npm run test:lemario

For running the full suite, use

$ npm run test:all

Publishing

To submit a package to npm registry (as npmjs), use tsc (typescript CLI) to build the distribution folder /dist, then:

$ npm publish

Consider to upgrade the major/minor/patch version before submitting a new package (edit package.json). Also remember to login with npm on your registry account before publishing.

Roadmap

  • Adding 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.

Support

Please open an issue for support.

Contributing

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].