Gem 1.1.0.4239
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.
Install-Package Gem -Version 1.1.0.4239
dotnet add package Gem --version 1.1.0.4239
<PackageReference Include="Gem" Version="1.1.0.4239" />
paket add Gem --version 1.1.0.4239
#r "nuget: Gem, 1.1.0.4239"
Release Notes
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.
Dependencies
-
.NETStandard 2.0
- No dependencies.
Used By
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.1.0.4239 | 679 | 6/3/2018 |
1.0.6425.24805 | 603 | 8/4/2017 |
1.0.6420.38072 | 685 | 7/30/2017 |
1.0.6406.36758 | 688 | 7/16/2017 |
1.0.6406.24888 | 1,054 | 7/16/2017 |
1.0.5882.34168 | 989 | 2/8/2016 |
1.0.5768.26750 | 905 | 10/17/2015 |
1.0.5679.38134 | 909 | 7/20/2015 |