MisakiSharp 2.2.0

dotnet add package MisakiSharp --version 2.2.0
                    
NuGet\Install-Package MisakiSharp -Version 2.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MisakiSharp" Version="2.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MisakiSharp" Version="2.2.0" />
                    
Directory.Packages.props
<PackageReference Include="MisakiSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MisakiSharp --version 2.2.0
                    
#r "nuget: MisakiSharp, 2.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MisakiSharp@2.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MisakiSharp&version=2.2.0
                    
Install as a Cake Addin
#tool nuget:?package=MisakiSharp&version=2.2.0
                    
Install as a Cake Tool

NuGet NuGet Downloads

MisakiSharp

A native C# port of hexgrad's misaki: Kokoro TTS's official G2P engine.

Module Verified against Parity
ChineseG2P (jieba posseg + tone sandhi + pinyin→zhuyin + cn2an) misaki 0.9.4 ZHG2P(version='1.1') 100.00% (1936/1936 sentences)
EnglishG2P (lexicon, stress, numbers, currency, homographs) misaki 0.9.4 en.G2P 51,623 fixtures at 100%
EnglishTokenizer spaCy en_core_web_sm tokenization 100% (56,216 lines)
EnglishTagger (2.8MB perceptron distilled from spaCy) spaCy Penn Treebank tags 97.5% tags → 99.20% end-to-end phoneme parity
JapaneseG2P (unidic lattice + cutlet kana→IPA + num2kana) misaki 0.9.4 JAG2P() 100.00% (1593/1593 sentences)
JapaneseTagger (MeCab-identical viterbi over unidic 3.1.0) fugashi (misaki[ja]'s tagger) 100.00% (14,342/14,342 parses)
JapaneseTagger's connection costs (unidic's 481MB matrix compressed to 10MB) exact matrix 99.91% on held-out text
EspeakG2P (es, fr-fr, hi, it, pt-br) misaki 0.9.4 espeak.EspeakG2P 100.00% (8000/8000 sentences, 5 languages)
EspeakFallback (English out-of-lexicon words) misaki 0.9.4 espeak.EspeakFallback 100.00% (2914 words × en-US/en-GB)
EspeakReplay (espeak-free es, fr-fr, it, pt-br, hi) espeak-ng 1.52.0, held-out sentences pt 96.2% · es 95.5% · it 85.8% · fr 83.6% · hi 53.6% (whole corpus, nothing excluded)
EspeakReplay (espeak-free en-us/en-gb OOV fallback) espeak-ng 1.52.0, misaki's 2914 OOV words us 88.1% · gb 88.1% (via EspeakFallback, whole fixture)
HindiProvider (espeak-free hi, superseded by EspeakReplay) espeak-ng 1.52.0 100.00% on lexicon-covered sentences (~54% full coverage)

Usage

var englishG2P = new EnglishG2P(british: false);
var (phonemes, tokens) = englishG2P.Phonemize("On March 3rd, I read that the record was $1,234.56!");

// Japanese and Chinese
var jPhonemes = JapaneseG2P.Phonemize("日本語は面白い!");
var cPhonemes = ChineseG2P.Phonemize("你好,世界!欢迎使用。");

// it's called EspeakG2P but it's distilled, there's no actual espeak in the backend
var langs = EspeakG2P.Languages; // `["es", "fr-fr", "it", "pt-br", "hi"]`
var spanish = new EspeakG2P("es").Phonemize("El 8% a 25 °C, según el zurbicalismo.");

License

  • Apache-2.0, like misaki itself. See NOTICE for the full lineage (PaddleSpeech, jieba, pypinyin, spaCy, num2words).
  • Versioning tracks the upstream misaki release the port is verified against (currently 0.9.4).
Product 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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MisakiSharp:

Package Downloads
KokoroSharp

**Requires an ONNX Runtime package to function. KokoroSharp is an inference engine for Kokoro TTS with ONNX runtime, enabling fast and flexible local text-to-speech (fp/quanted) purely via C#. It features segment streaming, voice mixing, linear job scheduling, and optional playback.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.0 71 8/10/2026
2.1.1 171 8/10/2026