Jèrriais phonemizer
A phonemizer for Jèrriais (Jersey Norman), written in Snowball.
The rules in src/*.sbl are the source; Snowball compiles them to Python, JavaScript and C.
The output suits TTS and alignment: affricates are single symbols (ʧ, ʤ), and long vowels and
diphthongs are marked with ː (eːi, oːu).
Python
pip install jerriais-phonemizer
from jerriais_phonemizer import phonemize
phonemize("bouônjour, bouonne gens.") # 'bwõːʒur bwɔn ʒɑ̃'
phonemize("bouônjour, bouonne gens.", "|") # 'b|w|õː|ʒ|u|r b|w|ɔ|n ʒ|ɑ̃'
Input should be lowercase: uppercase letters are dropped, like punctuation. Nasal vowels come out as a letter plus U+0303 (combining tilde), never precomposed (õ).
JavaScript and C
make javascript writes dist/javascript/phonemizer.js (the class is the default export; call
new Phonemizer().phonemize(text)), and make c_example builds a command-line tool,
dist/c/phonemizewords, that phonemizes a file of words or phrases one per line. These aren't
published as packages.
Building
make fetches and builds Snowball at the release pinned in the Makefile (SNOWBALL_VERSION),
then compiles the rules for every language. The Python package's generated files
(python/jerriais_phonemizer/_snowball/) are committed, so after changing a .sbl file run
make python and commit the result.
make test: the Python tests (tests/test_cases.csv, plus the two snapshots).make snapshot: regeneratetests/snapshot.dic(the spellchecker's word list) andtests/phrases.dicfrom the C build. Do this only to accept a rule change, and read the diff.
Releasing
Bump version in pyproject.toml, commit, tag (vX.Y.Z) and push the tag. Then run the
"Publish to PyPI" workflow (Actions tab) with that tag: it builds the wheel and sdist from the tag
and uploads them to PyPI by trusted publishing.
Test data
tests/jerriais.dic: the Jèrriais spellchecker word list from the Société Jersiaise's spellchecker page, one word per line.tests/snapshot.dicis its phonemization.tests/phrases.txt: example phrases.tests/phrases.dicis their phonemization.
The sdist leaves out the word list and its snapshot (3.6 MB); the test that uses them skips without them.
Licence
GNU Affero General Public License, version 3 or (at your option) any later version
(AGPL-3.0-or-later, LICENSE). If you run a modified version as a network service, the AGPL asks
you to offer its source to the service's users. The Snowball runtime files in
python/jerriais_phonemizer/_snowball/ are under Snowball's BSD licence (COPYING there).
For alternative licence terms, contact@jerriais.tech
Metadata
Release files for jerriais-phonemizer 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| jerriais_phonemizer-1.0.1.tar.gz | 1.6 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jerriais_phonemizer-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.6 MB
Release files / jerriais_phonemizer-1.0.1.tar.gz
| Download URL | jerriais_phonemizer-1.0.1.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d18e43368098fc761bba91ad0f31ae4da94411d9ee0acc7a148037e2347950f5
|
|
BLAKE2b-256 checksum How to use checksums |
cb52bc020adc4e391810888e0ee7d17f3caeb45ef4635d139e4b000caee6b480
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logRelease files / jerriais_phonemizer-1.0.1-py3-none-any.whl
| Download URL | jerriais_phonemizer-1.0.1-py3-none-any.whl |
|---|---|
| Size | 34.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35c952385d27199546b4ead3578794c45411c93b652154c4ced60b469a8de5f2
|
|
BLAKE2b-256 checksum How to use checksums |
7819c1bd5a2d2a3781842774fc7f763b7331a7fddcb55080d973656743afec5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logSecurity for jerriais-phonemizer 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for jerriais_phonemizer-1.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.