File size: 1,670 Bytes
6fe15c7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | ---
language:
- ko
- ja
- en
license: apache-2.0
tags:
- text-normalization
- g2p
- tts
- bert
- zero-overhead
- int8
- onnx
metrics:
- cer
- accuracy
---
# 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)
```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: "μ΄μ²μ΄μμ¬λ
μ€μ μ΄μνμΌ μ€ν μΈμμ λ§λ©μ¨λ€."
```
## π License
Apache-2.0 License.
|