panphon
panphon copied to clipboard
Python package and data files for manipulating phonological segments (phones, phonemes) in terms of universal phonological features.
I think this must be a mistake? Surely the other fricatives are also stridents @dmort27
Hi, I think there is a typo in the readme file. One of the distance metrics 'dogol_prime_distance' should be 'dolgo_prime_distance'. It is a great tool and well-documented. Thanks!
I am trying to use panphon in my project in a Conda virtual environment which has Python 3.12. When I try to get the phonetic feature representation from in IPA...
To reproduce the problem, simply create a fresh Python 3.8 environment using venv or conda and install panphon: ``` conda create --name panphon-py38 python=3.8 conda activate panphon-py38 pip install panphon...
Panphon > 0.20.0 is currently failing on python 3.8 in python 3.8 you cannot subscript the `collections.abc.Mapping` class so importing from `typing` is more stable across python versions. see https://stackoverflow.com/questions/59955751/abcmeta-object-is-not-subscriptable-when-trying-to-annotate-a-hash-variable
PR to address https://github.com/dmort27/panphon/issues/55. This mainly adds the `encoding='utf-8'` where appropriate so files open safely on Windows. I also ran into a recursion error on test_featuretable.py. The issue appears to...
Hi there, thanks for this great library. I am using it in [prosodic](github.com/quadrismegistus/prosodic), which I am trying to make compatible with Windows. I am new to Windows development so struggling...
It shows a syntax error when using the new release import panphon.featuretable File "/usr/local/lib/python3.10/dist-packages/panphon/init.py", line 2, in from panphon.featuretable import FeatureTable File "/usr/local/lib/python3.10/dist-packages/panphon/featuretable.py", line 210 word_features = self.word_fts(word: str, normalize:...
#50 applied fixes directly to `ipa_all.csv` without updating `ipa_bases.csv`. This attempts to port some of the fixes to `ipa_bases.csv`: - Updated strident features - Updated back features - Removed duplicate...