SNAP Multilingual G2P & Text Normalization Models
High-performance, zero-dependency C/C++ & Python inference engine models for Multilingual Text Normalization (ITN/TN) and G2P (Grapheme-to-Phoneme) conversion.
π¦ Repository Layout
snap-models/
βββ manifest.json # Root version & variant controller
βββ README.md # Model card documentation
β
βββ ko/ # Korean Models & Lexicons
β βββ dictionaries/v1.0.0/ # Independent Lexicon Versioning
β βββ model_variants/kcbert-base-int8/v1.0.0/ # Backbone Model & Probe Heads
β
βββ ja/ # Japanese Models & Lexicons
β βββ dictionaries/v1.0.0/
β βββ model_variants/ja-kanji-bert-int8/v1.0.0/
β
βββ en/ # English Models & Lexicons
βββ dictionaries/v1.0.0/
βββ model_variants/en-bert-base-int8/v1.0.0/
π Quick Usage (Python)
from snap import PhonologyKR
# Engine automatically parses manifest.json and loads active_version
frontend = PhonologyKR(models_dir="./models")
result = frontend.normalize("2024λ
5μ 28μΌ μ€ν 3μμ λ§λ©μλ€.")
print(result["phonology"])
# Output: "μ΄μ²μ΄μμ¬λ
μ€μ μ΄μνμΌ μ€ν μΈμμ λ§λ©μ¨λ€."
π¬ Community & Contact
- βοΈ Official Email: snap.leejh@gmail.com
- π Official Website: https://snap-libs.github.io/snap/
- π¦ GitHub Repository: https://github.com/snap-libs/snap
π License & Dual Licensing
SNAP models and weights are released under a Dual License model:
- Open Source & Research: GNU Affero General Public License v3 (AGPL-3.0)
- Commercial License: Contact snap.leejh@gmail.com for proprietary commercial use.
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support