Skip to content

kmoroz/WanaKanaShaapu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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