ozdemirburak / morse-decoder

Morse code translator and decoder, which can also play audio.
https://morsedecoder.com
MIT License
211 stars 55 forks source link

Added Thai alphabets #2

Closed AimeTPGM closed 6 years ago

AimeTPGM commented 6 years ago

Hello, there I added all of Thai alphabets to this PR. But there are some issues.

First, In Thai, there are some characters and vowels those have duplicated sound, so, they use the same morse code. For example, ท, ธ, ฑ and ฒ are different characters but have the same sound, so it uses the same morse code –··– –

Anyway, I added all of them but comment out the duplications and remains the "most used" characters in the code. (ท is the most used character in the suite, so I selected ท and comment ธ, ฑ and ฒ in the back, Kindly check)

Also, in test file, I included the full test of duplication characters. Just in case if we can use it after figure out how to deal with those duplications.

Seconds, ฯ and ฯลฯ are different and I guess the character reader is encoding 1 character to 1 morse code. so in usage, ฯลฯ will be encoded to ฯ and ล and ฯ (which should be ฯลฯ – one single character) so I commented out 'conflicts with ฯ'

it's a fun project :) I like it and thank you for letting me have a hand in this. Thank you again!

ozdemirburak commented 6 years ago

Thank you, appreciated :)