Skip to content

A JavaScript Chinese word segmentation tool based on Python Jieba

Notifications You must be signed in to change notification settings

ksh-zimuzu/jieba-js

 
 

Repository files navigation

jieba-js

A JavaScript Chinese word segmentation tool based on Python Jieba

Online demo: https://pulipulichen.github.io/jieba-js/

使用方法

<script src="https://pulipulichen.github.io/jieba-js/jquery.js"></script>
<script src="https://pulipulichen.github.io/jieba-js/require-jieba-js.js"></script>

<script>
_text = "這個布丁是在無聊的世界中找尋樂趣的一種不能吃的食物,喜愛動漫畫、遊戲、程式,以及跟世間脫節的生活步調。";
call_jieba_cut(_text, function (_result) {
	console.log(_result);
});
</script>

其他檔案

Reference

About

A JavaScript Chinese word segmentation tool based on Python Jieba

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.5%
  • CSS 8.7%
  • HTML 5.7%
  • Other 0.1%