shabados / gurmukhi-utils

Utilities library for converting, analyzing, and testing Gurmukhi strings.
MIT License
30 stars 9 forks source link

Conversion rules of ਹ (haha) for typical punjabi pronunciation #188

Open preetcharan opened 3 years ago

preetcharan commented 3 years ago

for the word jaahi and similar words that are basically 'aahi', currently shabad os is make it aeh but it should be 'aahi' e.g.

oe ji aaveh aas kar jaeh niraase kit |

should be jaahi not jaeh

To Reproduce Steps to reproduce the behavior: type in ajAAkjnk

Screenshots If applicable, add screenshots to help explain your problem.

image

Specs

This is creating bit of extra work when copying and pasting if it could be rectified in the algorithm/rules that would be hugely appreciated!

bhajneet commented 3 years ago

@Sarabveer thoughts?

bhajneet commented 3 years ago

@preetcharan note in the same example it would also change "aaveh" to "aavhi", do you agree?

sarabveer commented 3 years ago

@Sarabveer thoughts?

The current rules are complex, it is very hard to check if the pronunciation is ਹਿਂ (ਨਾਸਕੀ ਉਚਾਰਨ) or just ਹਿ.

If there was a pronunciation dataset, that could be used instead to produce transliteration which would be more correct.

preetcharan commented 3 years ago

no it should stay 'aaveh' @bhajneet for that type of word 🙏