Skip to main content

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: regenerate tests/snapshot.dic (the spellchecker's word list) and tests/phrases.dic from 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.dic is its phonemization.
  • tests/phrases.txt: example phrases. tests/phrases.dic is 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.2

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

Source distribution (sdist)

Source distribution for jerriais-phonemizer 1.0.2
File Size Uploaded Provenance
jerriais_phonemizer-1.0.2.tar.gz 1.6 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for jerriais-phonemizer 1.0.2
File Interpreter ABI Platform
jerriais_phonemizer-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / jerriais_phonemizer-1.0.2.tar.gz

Download URL jerriais_phonemizer-1.0.2.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
6dc8ecce1e70225ea02c6675307cfdfeeafa887fed9106c1c9defabd461b8452
BLAKE2b-256 checksum
How to use checksums
3cca6ed3a299c543da0de8b51c79d045158778c77bcbf443875c87de3badc4c0
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 log

Release files / jerriais_phonemizer-1.0.2-py3-none-any.whl

Download URL jerriais_phonemizer-1.0.2-py3-none-any.whl
Size 34.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49c22882e1762cdda1c2475fd23996ede82864609635ac6b6ed7de450867b79a
BLAKE2b-256 checksum
How to use checksums
f7dfc47512d00ab5120a57c84efabe953ba644fd2878e8e3e8083de04c701393
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 log

Security for jerriais-phonemizer 1.0.2

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.

Select from 2 files

Attestation for jerriais_phonemizer-1.0.2.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 log

A 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.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files Full provenance

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