Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinySegmenter

日本語のREADMEはこちらです: README.ja.md

A compact Japanese text segmentation library implemented in JavaScript.

Demo

https://code4fukui.github.io/TinySegmenter/

Features

  • Performs Japanese text segmentation using a machine learning-based algorithm
  • Highly compact implementation, suitable for use in web browsers and other resource-constrained environments
  • Supports multiple character types (kanji, hiragana, katakana, alphabet, numbers)
  • Includes pre-trained models for accurate segmentation

Usage

To use TinySegmenter, import the library and call the segment() function:

import { TinySegmenter } from "https://code4fukui.github.io/TinySegmenter/TinySegmenter.js";

const segs = TinySegmenter.segment("私の名前は中野です");
console.log(segs); // ["私", "の", "名前", "は", "中野", "です"]

License

MIT License — see LICENSE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.