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
- Host: GitHub
- URL: https://github.com/qrac/mojigiri
- Owner: qrac
- License: mit
- Created: 2022-05-29T08:07:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-27T09:39:24.000Z (about 3 years ago)
- Last Synced: 2025-03-26T03:33:15.181Z (7 months ago)
- Topics: japanese, mojigiri, split
- Language: TypeScript
- Homepage:
- Size: 44.9 KB
- Stars: 16
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)