andaluh-js
andaluh-js copied to clipboard
Bad transliteration with words ending with -ara
Copying from https://github.com/andalugeeks/andaluh-www/issues/11
Words ending with "-ara" fails. Exmples:
lámpara => lámpa
See evidence: https://drive.google.com/uc?export=view&id=1Bb2KmLtjMkn_4OGUat051szOh9MI2sGX
This is not happening on python reference implementation:
$ ipython
Python 2.7.17 (default, Apr 15 2020, 17:20:14)
In [1]: import andaluh
In [2]: print andaluh.epa('lámpara')
lámpara
@fontanon review the link to gdrive, it seems broken.
@FernanOrtega have a look now: https://drive.google.com/uc?export=view&id=1Bb2KmLtjMkn_4OGUat051szOh9MI2sGX