DotNetG2P 1.9.0
dotnet add package DotNetG2P --version 1.9.0
NuGet\Install-Package DotNetG2P -Version 1.9.0
<PackageReference Include="DotNetG2P" Version="1.9.0" />
<PackageVersion Include="DotNetG2P" Version="1.9.0" />
<PackageReference Include="DotNetG2P" />
paket add DotNetG2P --version 1.9.0
#r "nuget: DotNetG2P, 1.9.0"
#:package DotNetG2P@1.9.0
#addin nuget:?package=DotNetG2P&version=1.9.0
#tool nuget:?package=DotNetG2P&version=1.9.0
DotNetG2P
Japanese grapheme-to-phoneme conversion for .NET and Unity.
What It Includes
- OpenJTalk-compatible NJD pipeline implemented in pure C#
- Multiple outputs: phonemes, kana, prosody markers, accent phrases, HTS labels, and prosody features
- Batch conversion APIs for the main output forms
- Immutable
G2POptionsfor controlling normalization, digit reading, accent handling, and unvoiced vowels
Quick Start
using DotNetG2P;
using DotNetG2P.MeCab;
using var tokenizer = new MeCabTokenizer();
using var engine = new G2PEngine(tokenizer);
string phonemes = engine.ToPhonemes("こんにちは");
string kana = engine.ToKana("音声合成");
var labels = engine.ToFullContextLabels("こんにちは");
Dependencies
- Install
DotNetG2P.MeCabalongside this package for the default tokenizer implementation - Japanese conversion requires a
naist-jdicdictionary install
Thread Safety
G2PEngine is not thread-safe.
Create one engine instance per thread or request scope.
License And Notice
- License: Apache-2.0
- Repository: https://github.com/ayutaz/dot-net-g2p
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on DotNetG2P:
| Package | Downloads |
|---|---|
|
DotNetG2P.MeCab
Pure C# MeCab-compatible morphological analyzer for DotNetG2P. Apache-2.0 licensed, no native dependencies. Provides ITokenizer implementation using Darts-clone double-array trie and Viterbi decoder for Japanese text analysis with naist-jdic dictionary. |
|
|
DotNetG2P.Multilingual
Multilingual G2P engine combining Japanese, English, Chinese, Korean, Spanish, French, Portuguese, and Swedish grapheme-to-phoneme support with automatic language detection. |
GitHub repositories
This package is not used by any popular GitHub repositories.