All Projects → gojp → Kana

gojp / Kana

Licence: mit
Golang library for conversion between Japanese hiragana, katakana and romaji

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Kana

The Rust Programming Language Ja
Rust文書の【旧】和訳レポジトリ → 最新版はこちら: https://github.com/rust-lang-ja/book-ja
Stars: ✭ 352 (+417.65%)
Mutual labels:  japanese
Info
Channel info
Stars: ✭ 17 (-75%)
Mutual labels:  japanese
Owasp Masvs
The Mobile Application Security Verification Standard (MASVS) is a standard for mobile app security.
Stars: ✭ 1,030 (+1414.71%)
Mutual labels:  japanese
Pokemon Font
GAME BOY font from Pokémon R/G/B/Y/G/S/C, Unicode extended.
Stars: ✭ 437 (+542.65%)
Mutual labels:  japanese
Mouse Dictionary
📘A super fast dictionary for Chrome/Firefox
Stars: ✭ 670 (+885.29%)
Mutual labels:  japanese
React Hanko
A Japanese hanko component for React.js
Stars: ✭ 14 (-79.41%)
Mutual labels:  japanese
Site
cpprefjpサイトのMarkdownソース
Stars: ✭ 275 (+304.41%)
Mutual labels:  japanese
Oxygennotincluded Japanese
Oxygen Not Included 日本語化
Stars: ✭ 54 (-20.59%)
Mutual labels:  japanese
Kuromoji
Kuromoji is a self-contained and very easy to use Japanese morphological analyzer designed for search
Stars: ✭ 745 (+995.59%)
Mutual labels:  japanese
Adobe Japan1
The Adobe-Japan1-7 Character Collection
Stars: ✭ 38 (-44.12%)
Mutual labels:  japanese
Yomichan
Japanese pop-up dictionary extension for Chrome and Firefox.
Stars: ✭ 464 (+582.35%)
Mutual labels:  japanese
Kagome
Self-contained Japanese Morphological Analyzer written in pure Go
Stars: ✭ 554 (+714.71%)
Mutual labels:  japanese
Google Ime Dictionary
日英変換・英語略語展開のための IME 追加辞書 📙 日本語から英語への和英変換や英語略語の展開を Google 日本語入力や ATOK などで可能にする IME 拡張辞書です
Stars: ✭ 30 (-55.88%)
Mutual labels:  japanese
Kuroshiro
Japanese language library for converting Japanese sentence to Hiragana, Katakana or Romaji with furigana and okurigana modes supported.
Stars: ✭ 386 (+467.65%)
Mutual labels:  japanese
Nagisa Tutorial Pycon2019
Code for PyCon JP 2019 talk "Python による日本語自然言語処理 〜系列ラベリングによる実世界テキスト分析〜"
Stars: ✭ 46 (-32.35%)
Mutual labels:  japanese
Yakuhanjp
Yakumono-Hankaku Only Web Fonts
Stars: ✭ 288 (+323.53%)
Mutual labels:  japanese
Emby.plugins.javscraper
Emby/Jellyfin 的一个日本电影刮削器插件,可以从某些网站抓取影片信息。
Stars: ✭ 864 (+1170.59%)
Mutual labels:  japanese
Japanesetab
A Chrome extension that helps you learn Japanese with every new tab 🔴
Stars: ✭ 55 (-19.12%)
Mutual labels:  japanese
Vanilla Autokana
A Vanilla-JavaScript library to complete furigana automatically.
Stars: ✭ 48 (-29.41%)
Mutual labels:  japanese
Yomichan Import
External dictionary importer for Yomichan.
Stars: ✭ 30 (-55.88%)
Mutual labels:  japanese

Build Status go report card GoDoc

kana

Golang library for convertiong hiragana to romaji, katakana to romaji, romaji to hiragana, and romaji to katakana.

Installation

Simply install with go get:

go get github.com/gojp/kana

Usage

Convert hiragana or katakana to romaji:

s := kana.KanaToRomaji("バナナ") // -> banana
s = kana.KanaToRomaji("かんじ") // -> kanji

Convert romaji to hiragana or katakana:

s := kana.RomajiToHiragana("kanji") // -> かんじ
s = kana.RomajiToKatakana("banana") // -> バナナ

Tell whether strings are written with kana, kanji or latin characters:

kana.IsLatin("banana") // -> true
kana.IsLatin("バナナ") // -> false

kana.IsKana("banana") // -> false
kana.IsKana("バナナ") // -> true

kana.IsKanji("banana") // -> false
kana.IsKanji("減少") // -> true

Normalize a romaji string to a standardized form (from the form given by Google Translate, for example):

kana.NormalizeRomaji("Myūjikku") // -> myu-jikku
kana.NormalizeRomaji("shitsuree") // -> shitsurei

Please feel free to use, contribute, and enjoy! You can also see this in action at nihongo.io.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].