Skip to main content

phoNy: phonology in spaCy!

ci status pypi version code style: black

phoNy is a spaCy extension that adds pipeline components, models, and features for working with phonology.

installation

requires spacy v3.

pip install spacy-phony

usage

this package currently provides a single pipeline component, the Phonemizer, which performs grapheme-to-phoneme conversion. documentation is coming soon!

developing

after cloning the repository:

pip install -e ".[dev]"
pre-commit install

testing

to run tests:

python -m unittest

you can also generate a coverage report:

coverage run --source=src -m unittest discover
coverage report -m

building

clear out any previously built packages before building:

rm -rf dist/*

build a source archive and distribution for a release:

python -m build

publish the release on test PyPI (useful for making sure everything worked):

python -m twine upload --repository testpypi dist/*

if everything looks ok, upload to the real PyPI:

python -m twine upload dist/*

license

code is licensed under the MIT license.

Metadata

Release files for spacy-phony 0.1.0

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

Source distribution (sdist)

Source distribution for spacy-phony 0.1.0
File Size Uploaded
spacy-phony-0.1.0.tar.gz 12.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spacy-phony 0.1.0
File Interpreter ABI Platform
spacy_phony-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / spacy-phony-0.1.0.tar.gz

Download URL spacy-phony-0.1.0.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3c38a4e6913418349d3b7a283cda7481f6cfb1ba25a4c4b6ad9480c96fe23c29
BLAKE2b-256 checksum
How to use checksums
ae9afea49b319382e7a370f5ba32f01a5669e4ad8640963ff48af337a182f73d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

Release files / spacy_phony-0.1.0-py3-none-any.whl

Download URL spacy_phony-0.1.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe29829f2ef30f05164f0ec8fde3ae98afbe6dad5aba25bbcdb859c4585a9bef
BLAKE2b-256 checksum
How to use checksums
33e383e29c198d3a639a5661c597b1e4e5ceb3438eb01eabd6069a185910f001
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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