dmort27 / epitran

A tool for transcribing orthographic text as IPA (International Phonetic Alphabet)
MIT License
625 stars 120 forks source link

Updated pronunciation of Hungarian "ng" and "ngy" #150

Closed martino-vic closed 5 months ago

martino-vic commented 1 year ago

and added some tests accordingly, which are passing:

$ pytest test_hungarian.py -vv
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-7.2.2, pluggy-1.0.0 -- path/path/python3
cachedir: .pytest_cache
rootdir: xxxxxxx
collected 9 items                                                              

test_hungarian.py::TestHungarianGeneral::test_baratnoje PASSED           [ 11%]
test_hungarian.py::TestHungarianGeneral::test_fiaei PASSED               [ 22%]
test_hungarian.py::TestHungarianGeneral::test_fiaiei PASSED              [ 33%]
test_hungarian.py::TestHungarianGeneral::test_gyongy PASSED              [ 44%]
test_hungarian.py::TestHungarianGeneral::test_hang PASSED                [ 55%]
test_hungarian.py::TestHungarianGeneral::test_hangtan PASSED             [ 66%]
test_hungarian.py::TestHungarianGeneral::test_henger PASSED              [ 77%]
test_hungarian.py::TestHungarianGeneral::test_magyar PASSED              [ 88%]
test_hungarian.py::TestHungarianGeneral::test_nagyszulo PASSED           [100%]

============================== 9 passed in 2.21s ===============================
dmort27 commented 5 months ago

Thanks for the correction! Looks good.