Skip to main content

Malayalam Unicode normalizer: bit-identical normalization for training and inference

Project description

mlnormalize (Python wheel)

PyO3 bindings for the mlnormalize Malayalam Unicode normalizer. The wheel is a thin wrapper around the Rust core, so Python gets byte-identical output. That identity is the point of the normalizer contract: one implementation, two callers.

Install

pip install mlnormalize

Also available as a Rust crate on crates.io (same byte-identical output): cargo add mlnormalize.

import mlnormalize
mlnormalize.normalize("ൻ്റ")     # -> "ന്റ"  (byte-identical to the Rust core)
mlnormalize.stripped_key(text)    # -> str    (dedup/matching key; NOT training text)
mlnormalize.version()             # -> (0, 4, 0)
mlnormalize.__version__           # -> "0.4.0"

Build

Built with maturin from this directory:

maturin build --release     # produces a wheel in target/wheels/
maturin develop             # install into the active venv for development

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlnormalize-0.4.0.tar.gz (37.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mlnormalize-0.4.0-cp38-abi3-win_amd64.whl (181.9 kB view details)

Uploaded CPython 3.8+Windows x86-64

mlnormalize-0.4.0-cp38-abi3-manylinux_2_34_x86_64.whl (287.2 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.34+ x86-64

mlnormalize-0.4.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (281.6 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

mlnormalize-0.4.0-cp38-abi3-macosx_11_0_arm64.whl (257.5 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file mlnormalize-0.4.0.tar.gz.

File metadata

  • Download URL: mlnormalize-0.4.0.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for mlnormalize-0.4.0.tar.gz
Algorithm Hash digest
SHA256 864d82d4f0b9f78e636869bdef044c1bf909464e280c3dfaa87b062193ab9685
MD5 6ce2eb2256bf5753653d5b80b8d6a133
BLAKE2b-256 774a3d6fe0f25a56670b218ccf5359c9a539bc4f2009f779cbd3f1ddaf6794f5

See more details on using hashes here.

File details

Details for the file mlnormalize-0.4.0-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for mlnormalize-0.4.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7f654c65c2f01e43f8fbb0a69235a606d084ce69dea15a2413ae1c47666054f0
MD5 bd95094ad9966248a744d94d10beb85c
BLAKE2b-256 680a2751ba7592bede148665dcd701fda8cad17c470643a47775774dc01576c0

See more details on using hashes here.

File details

Details for the file mlnormalize-0.4.0-cp38-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for mlnormalize-0.4.0-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c37beb46d6c1f6b80ea04c6ab8162097dc9b1af5e6413338657081a73c6a7015
MD5 d1ea965913fd12ae24152a55f80c3847
BLAKE2b-256 3a837e8373bd3bb6d1578873244b8f0de6df65249156794359c65a719d6f377d

See more details on using hashes here.

File details

Details for the file mlnormalize-0.4.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlnormalize-0.4.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d82e518454ec4ce8d4b7ddf5c0659ce1e466373f250c0b9cebc6aa4724a15d28
MD5 1a7427a100fd8cc03db18301d7d02c59
BLAKE2b-256 087551bd6d57bba3e26aec0d415335ee180c2a1ad5992374e44e91cf880e11da

See more details on using hashes here.

File details

Details for the file mlnormalize-0.4.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mlnormalize-0.4.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 467a93123dbd26ba57f04d47564216d4dbdc6a954f594b203693d4b498c3a599
MD5 b235c3bda1ea71fa5f44833f0c8ccfea
BLAKE2b-256 82ea7c73a04e86d9ee61ebe5bfb749f9b0c0fb467b77b0ac9ea779b6160e9e4c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page