Kawazu 1.0.0
See the version list below for details.
dotnet add package Kawazu --version 1.0.0
NuGet\Install-Package Kawazu -Version 1.0.0
<PackageReference Include="Kawazu" Version="1.0.0" />
paket add Kawazu --version 1.0.0
#r "nuget: Kawazu, 1.0.0"
// Install Kawazu as a Cake Addin #addin nuget:?package=Kawazu&version=1.0.0 // Install Kawazu as a Cake Tool #tool nuget:?package=Kawazu&version=1.0.0
<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 ...
}
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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.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. |
-
.NETCoreApp 2.1
- LibNMeCab (>= 0.10.0)
- LibNMeCab.IpaDicBin (>= 0.10.0)
-
.NETCoreApp 3.1
- LibNMeCab (>= 0.10.0)
- LibNMeCab.IpaDicBin (>= 0.10.0)
-
.NETStandard 2.0
- LibNMeCab (>= 0.10.0)
- LibNMeCab.IpaDicBin (>= 0.10.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Kawazu:
Package | Downloads |
---|---|
VariableKeywordMatcher.Provider.JapaneseRomaji
VariableKeywordMatcher.Provider.JapaneseRomaji is the Japanese Romaji matcher(plugin) for VariableKeywordMatcher or VariableKeywordMatcherIn1. e.g. "konni" will hit "こんにちは". |
|
ShimeiGenerator
Japanese fullname generator library |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Kawazu:
Repository | Stars |
---|---|
jitwxs/163MusicLyrics
Windows 云音乐歌词获取【网易云、QQ音乐】
|