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
Hashes for spacy_phony-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe29829f2ef30f05164f0ec8fde3ae98afbe6dad5aba25bbcdb859c4585a9bef |
|
MD5 | dea8dc25bf0f27f7fb69aeec8e0dca2a |
|
BLAKE2b-256 | 33e383e29c198d3a639a5661c597b1e4e5ceb3438eb01eabd6069a185910f001 |