Kawazu 1.0.0

Kawazu is a C# library for converting Japanese sentence to Hiragana, Katakana or Romaji with furigana and okurigana modes supported. Inspired by project Kuroshiro.

Install-Package Kawazu -Version 1.0.0
dotnet add package Kawazu --version 1.0.0
<PackageReference Include="Kawazu" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Kawazu --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Kawazu, 1.0.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

<img src="README.assets/Kawazu.png" alt="Kawazu" width="200" />

Kawazu Library For C#

Kawazu is a C# library for converting Japanese sentence to Hiragana, Katakana or Romaji with furigana and okurigana modes supported. Inspired by project Kuroshiro.

Features

  • Japanese Sentence ⇒ Hiragana, Katakana or Romaji
  • Furigana and okurigana supported
  • Multiple romanization systems supported
  • Useful Japanese utilities

Usage

Install

The package can be installed by Nuget:

Install-Package Kawazu -Version 1.0.0

Or reference it in your project:

<PackageReference Include="Kawazu" Version="1.0.0" />

The package size is over 50MB for it contains dictionary file, please take this in to account when you are building a size-sensitive project.

Quick Start

First, import the Kawazu namespace by:

using Kawazu;

Then initiate the converter:

var converter = new KawazuConverter();

Finally you will get the result by:

var result = await converter.Convert("今晩は", To.Romaji, Mode.Okurigana, RomajiSystem.Hepburn, "(", ")");

For the “Convert” method is an async method, you probably need to make the outer method async too:

private static async Task Main(string[] args)
{
    // Your code ...
    var converter = new KawazuConverter();
    var result = await converter.Convert("今晩は", To.Romaji, Mode.Okurigana, RomajiSystem.Hepburn, "(", ")");
    // Your code ...
}

<img src="README.assets/Kawazu.png" alt="Kawazu" width="200" />

Kawazu Library For C#

Kawazu is a C# library for converting Japanese sentence to Hiragana, Katakana or Romaji with furigana and okurigana modes supported. Inspired by project Kuroshiro.

Features

  • Japanese Sentence ⇒ Hiragana, Katakana or Romaji
  • Furigana and okurigana supported
  • Multiple romanization systems supported
  • Useful Japanese utilities

Usage

Install

The package can be installed by Nuget:

Install-Package Kawazu -Version 1.0.0

Or reference it in your project:

<PackageReference Include="Kawazu" Version="1.0.0" />

The package size is over 50MB for it contains dictionary file, please take this in to account when you are building a size-sensitive project.

Quick Start

First, import the Kawazu namespace by:

using Kawazu;

Then initiate the converter:

var converter = new KawazuConverter();

Finally you will get the result by:

var result = await converter.Convert("今晩は", To.Romaji, Mode.Okurigana, RomajiSystem.Hepburn, "(", ")");

For the “Convert” method is an async method, you probably need to make the outer method async too:

private static async Task Main(string[] args)
{
    // Your code ...
    var converter = new KawazuConverter();
    var result = await converter.Convert("今晩は", To.Romaji, Mode.Okurigana, RomajiSystem.Hepburn, "(", ")");
    // Your code ...
}

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 142 9/8/2020