apertium / apertium-uig

Apertium linguistic data for Uyghur
GNU General Public License v3.0
6 stars 3 forks source link

Added Ara-Lat transducer and modified Ara-Cyr transducer #8

Closed connormayer closed 4 years ago

connormayer commented 4 years ago

I added an Arabic-Latin transducer and modified the Arabic-Cyrillic transducer to fix a few issues. I may have done some things in suboptimal ways out of lack of experience with hfst, so please correct me!

I think things basically work fine when they plug into the morphological transducer, but there are a few little issues when the transducers are inverted:

jonorthwash commented 4 years ago
  1. Reversing a given transliterator will in theory work if it's implemented extremely precisely, but as you found out, there are limitations. The way I would do it is to just write a fresh transliterator for the other direction.
  2. It's best to treat everything as an individual symbol, even if they're technically bigrams. This can mean multiple rules to deal with one thing, but that's okay.