WanaKanaSharp 0.3.1-alpha

This is a prerelease version of WanaKanaSharp.
dotnet add package WanaKanaSharp --version 0.3.1-alpha
NuGet\Install-Package WanaKanaSharp -Version 0.3.1-alpha
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="WanaKanaSharp" Version="0.3.1-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WanaKanaSharp --version 0.3.1-alpha
#r "nuget: WanaKanaSharp, 0.3.1-alpha"
#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.
// Install WanaKanaSharp as a Cake Addin
#addin nuget:?package=WanaKanaSharp&version=0.3.1-alpha&prerelease

// Install WanaKanaSharp as a Cake Tool
#tool nuget:?package=WanaKanaSharp&version=0.3.1-alpha&prerelease

<div align="center"> <h1>ワナカナ <--> WanaKanaSharp <--> わなかな</h1> <h4>A .NET library for checking and converting between Hiragana, Katakana and Romaji</h4> <h6>This project is a port of 🐊 <a href="https://github.com/WaniKani/WanaKana">WanaKana</a> 🦀 for the .NET platform</h6> </div>

Status

<div align="center"> <table> <tbody align="center"> <tr> <th> <strong width="1000px">Travis CI</strong> </th> <th> <strong width="1000px">AppVeyor</strong> </th> </tr> <tr> <td> <a href="https://travis-ci.org/caguiclajmg/WanaKanaSharp" width="50%"> <img src="https://img.shields.io/travis/caguiclajmg/WanaKanaSharp.svg" /> </a> </td> <td> <a href="https://ci.appveyor.com/project/caguiclajmg/wanakanasharp" width="50%"> <div> <img src="https://img.shields.io/appveyor/ci/caguiclajmg/WanaKanaSharp.svg" /> </div> <div> <img src="https://img.shields.io/appveyor/tests/caguiclajmg/WanaKanaSharp.svg" /> </div> </a> </td> </tr> </tbody> </table> </div>

Warning Pre-release versions (<1.0) are experimental, expect API breakage!

Usage

Pre-built packages are available from NuGet

Visual Studio

Search for WanaKanaSharp on NuGet Package Manager

NuGet Package Manager

.NET Core

Navigate to your project's directory and do: dotnet add package WanaKanaSharp

Examples

    // Utility functions
    WanaKana.IsRomaji("hello"); // true
    WanaKana.IsHiragana("こんにちは"); // true
    WanaKana.IsKatakana("テレビ"); // true
    WanaKana.IsKana("これはキュートです"); // true
    WanaKana.IsKanji("日本語"); // true

    // Romaji conversion
    RomajiConverter romajiConverter = new HepburnRomajiConverter();
    romajiConverter.ToRomaji("ひらがな", false, null); // hiragana
    romajiConverter.ToRomaji("カタカナ", false, null); // katakana

    // Kana conversion
    KanaConverter kanaConverter = new DefaultKanaConverter();
    kanaConverter.ToKana("hiragana", null); // ひらがな
    kanaConverter.ToKana("KATAKANA", null); // カタカナ
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. 
.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.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on WanaKanaSharp:

Repository Stars
karaoke-dev/karaoke
Will be the best karaoke system.
Version Downloads Last updated
0.3.1-alpha 172 2/12/2023
0.3.0-alpha 146 2/11/2023
0.2.0 5,122 1/6/2022
0.1.1 4,079 4/20/2020