Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.1 KB

README.md

File metadata and controls

26 lines (16 loc) · 1.1 KB

crabigator gif

ワナカナ ↔️ WanaKana ↔️ わなかな

🐊🦀 Basic Overview

WanaKanaShaapu is a utility library for converting Japanese characters to the Latin ones and detecting the Japanese language in a given input. The C# version is ported from WanaKana JS v5.0.0.

🐊🦀 Original Documentation

WanaKana API Documentation

🐊🦀 Differences in Implementation

Method WanaKana JS WanaKanaShaapu
IsMixed isMixed(input, { passKanji: true }) IsMixed(input, passKanji)
StripOkurigana stripOkurigana(input, { leading: false, matchKanji: '' }) StripOkurigana(input, leading, matchKanji)
Tokenize 1. tokenize(input, { detailed: true, compact: false })
2. Returns either a string array or an object
1. Tokenize(input, compact)
2. Returns Tokenization object