phonology in spaCy!
Project description
phoNy: phonology in spaCy!
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spacy-phony-0.1.0.tar.gz.
File metadata
- Download URL: spacy-phony-0.1.0.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c38a4e6913418349d3b7a283cda7481f6cfb1ba25a4c4b6ad9480c96fe23c29
|
|
| MD5 |
7a13f22936b541b4dd1826da2ea95a56
|
|
| BLAKE2b-256 |
ae9afea49b319382e7a370f5ba32f01a5669e4ad8640963ff48af337a182f73d
|
File details
Details for the file spacy_phony-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spacy_phony-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe29829f2ef30f05164f0ec8fde3ae98afbe6dad5aba25bbcdb859c4585a9bef
|
|
| MD5 |
dea8dc25bf0f27f7fb69aeec8e0dca2a
|
|
| BLAKE2b-256 |
33e383e29c198d3a639a5661c597b1e4e5ceb3438eb01eabd6069a185910f001
|