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