qrac / mojigiri

Japanese text split by character type

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mojigiri

About

日本語テキストを文字の種類別に分割し、配列を返します。

How To Use

$ npm install mojigiri
import mojigiri from "mojigiri"

const example = "日本語テキスト100を「文字の種類」でsplitする。"
const result = mojigiri(example)

console.log(result)
// => ["日本語", "テキスト", "100", "を", "「", "文字", "の", "種類", "」", "で", "split", "する", "。"]

License

  • MIT

Credit

About

Japanese text split by character type

License:MIT License


Languages

Language:TypeScript 100.0%