An open API service indexing awesome lists of open source software.

https://github.com/qrac/mojigiri

Japanese text split by character type
https://github.com/qrac/mojigiri

japanese mojigiri split

Last synced: 6 months ago
JSON representation

Japanese text split by character type

Awesome Lists containing this project

README

          

# mojigiri











## About

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

## How To Use

```bash
$ npm install mojigiri
```

```js
import mojigiri from "mojigiri"

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

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

## License

- MIT

## Credit

- Author: [Qrac](https://qrac.jp)
- Organization: [QRANOKO](https://qranoko.jp)