Skip to main content
Files added late

2 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.

panphon2

PanPhon2 is a more performant version of Python PanPhon being written in Rust (and depending on rspanphon. It does not have all of the functionality of PanPhon, but it should be much faster.

The main class in PanPhon2 is FeatureTable. To instantiate a FeatureTable, the following is sufficient:

>>> import panphon2
>>> ft = panphon2.FeatureTable()

FeatureTable currenly has these methods:

phonemes(str) -> [str] Takes a string in IPA and returns a list of phonemes.

phonemes_to_vectors([str]) -> [[int]] Takes a list of phonemes and returns a list of list of numeric feature values.

word_to_vectors(str) -> [[int]] Takes an IPA string and returns a list of lists of numberic feature values.

feature_edit_distance(str, str) -> float Takes two IPA strings and returns the feature-weighted distance between them.

word_to_bag_of_features Takes an IPA string and returns a vector of the sums of each dimension in the feature vectors corresponding to the phonemes.

Metadata

Release files for panphon2 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Files added late

2 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Built distributions (wheels)

Table of built distributions (wheels) for panphon2 0.3.3
File
panphon2-0.3.3-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
panphon2-0.3.3-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
panphon2-0.3.3-cp38-cp38-macosx_11_0_arm64.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64 Details
panphon2-0.3.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details

Total release size: 1.9 MB

Release files / panphon2-0.3.3-cp311-cp311-macosx_11_0_arm64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL panphon2-0.3.3-cp311-cp311-macosx_11_0_arm64.whl
Size 263.4 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
24c66d61c4755f97176eefe8f37d485cdffa501a46a28d0252297a492a37a41e
BLAKE2b-256 checksum
How to use checksums
ccd89912563b0ff574991387f7544c0309805a2fe64758f2c281b6e58333e4e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.4.0

Release files / panphon2-0.3.3-cp310-cp310-macosx_11_0_arm64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL panphon2-0.3.3-cp310-cp310-macosx_11_0_arm64.whl
Size 260.7 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7dcd23e768a90851ef3628b761c7a03ed33cfd0e2b823004c7a72ea5b1cec8a1
BLAKE2b-256 checksum
How to use checksums
30f5bd2f9d18f9e021cb36bede43817d581e41049d5a4bdf1e83725934d6b7ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.13.7

Release files / panphon2-0.3.3-cp38-cp38-macosx_11_0_arm64.whl

Download URL panphon2-0.3.3-cp38-cp38-macosx_11_0_arm64.whl
Size 240.7 kB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e35ffc18debaad0e9f8105f06a6bead7752497e45472f9ceed2e1be2dd543596
BLAKE2b-256 checksum
How to use checksums
ba88e1cc1bb8a4c3bc06a3c542f466fd0a6eb4cf502fc513bbe6121acae41662
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.13.6

Release files / panphon2-0.3.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL panphon2-0.3.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
88eb1d28ea4433f688aa7bd9a3da78d3cbb6636e67ee672c1618e86a32c49097
BLAKE2b-256 checksum
How to use checksums
2331fbdba0736c205638c979715cab4ae0033b67abd26c5e52e1f07f311fa1d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.3.3 This release

4 release files

0.3.0

6 release files

0.2.0

6 release files

0.1.0

7 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page