Skip to content

birchill/tiny-segmenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cbe20e5 · Jun 28, 2024

History

2 Commits
Jun 28, 2024
Jun 28, 2024
Jun 28, 2024
Jun 28, 2024
Jun 28, 2024
Jun 28, 2024
Jun 28, 2024
Jun 28, 2024
Jun 28, 2024
Jun 28, 2024
Jun 28, 2024
Jun 28, 2024
Jun 28, 2024

Repository files navigation

tiny-segmenter

TinySegmenter converted to TypeScript (and slightly more modern JS) and packaged as an npm module.

Installation

npm install @birchill/tiny-segmenter

Usage

import { TinySegmenter } from '@birchill/tiny-segmenter';

const segmenter = new TinySegmenter();
const segments = segmenter.segment('私の名前は中野です');
// segments = ['私', 'の', '名前', 'は', '中野', 'です']

About

Lightweight Japanese word segmenter

Resources

Stars

Watchers

Forks

Packages

No packages published