go-furigana-generator

command module
v0.0.0-...-9f7aec0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2017 License: GPL-3.0 Imports: 11 Imported by: 0

README

go-furigana-generator

HTML furagana generator based on web services.

The following furigana generation service are available :

Install

go get -u github.com/jcsirot/go-furigana-generator

Build

go build -o go-furigana-generator

Usage

Usage:
  go-furigana-generator [OPTIONS] text

Application Options:
  -s, --service=[kakasi|tatoeba] The furigana generation service. kakasi
                                 (http://furigana.sourceforge.net/cgi-bin/index.cgi) or
                                 tatoeba (https://tatoeba.org/eng/tools/furigana) (default:
                                 kakasi)

Help Options:
  -h, --help                     Show this help message

Arguments:
  text:                          Some japanese text

Usage Example

go-furigana-generator -s kakasi -- 学校は家から遠いの?

<ruby><rb>学校</rb><rp>(</rp><rt>がっこう</rt><rp>)</rp></ruby>は<ruby><rb>家</rb><rp>(</rp><rt>いえ</rt><rp>)</rp></ruby>から<ruby><rb>遠</rb><rp>(</rp><rt>とお</rt><rp>)</rp></ruby>いの?

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL