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