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

// Install Gem as a Cake Tool
#tool nuget:?package=Gem&version=

The Gem library makes it easier to work with furigana text, particularly on web pages.

 Gem uses a simple syntax to encode furigana information in Japanese text. The text to be displayed in the furigana gem is simply included in square brackets following the character or group of characters it relates to. For example: 新[あたら]しい.

 Once you create a Gem, it is very easy to:
 - Display the HTML required to view furigana in the browser using the HTML ruby syntax
 - Extract the plain text without any furigana from Japanese text written in the gem syntax
 - Extract phonetic hiragana text from Japanese text written in the gem syntax

 The library includes a .NET and javascript implementation of the library.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
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

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 1,152 6/3/2018
1.0.6425.24805 928 8/4/2017
1.0.6420.38072 1,027 7/30/2017
1.0.6406.36758 1,035 7/16/2017
1.0.6406.24888 1,488 7/16/2017
1.0.5882.34168 1,323 2/8/2016
1.0.5768.26750 1,227 10/17/2015
1.0.5679.38134 1,278 7/20/2015

04 August 2017 - Made the gem.furigana.js file install into /script directory only.
 30 July 2017 - improved the logic that parsers furigana to make sure furigana appears only over kanji characters.
 16 July 2017 - added a javascript version of the library.
 16 July 2017 - Updated to split the gem when an honorific 'o' is encountered. Also handles spaces more consistently. Respects spaces, but collapses multiple ones.
 03 June 2018 - Create a .NET standard version of the library.