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.
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 |