cxumol / jieba-wasm-html

Fast Jieba Chinese text segmentation on browser without backend/NPM | 结巴分词网页版, 基于 WebAssembly 的纯前端实现; 亦可用于 Deno

Home Page:https://cxumol.github.io/jieba-wasm-html/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jieba-wasm-html

Fast Jieba Chinese text segmentation on browser. No need for backend; No need for NPM. Code works well on Deno, too.

结巴中文分词网页版, 基于 WebAssembly 的纯前端实现; 亦可用于 Deno

Demo

https://cxumol.github.io/jieba-wasm-html/

Benchmark

About 45x faster than a typical Python Jieba web app. Details can be found at #1

Technical information

Check out this blog post How to use Jieba WebAssembly on browser or Deno without installing npm?

Future plan

Pull requests are welcomed! Otherwise gugugu

  • User can choose to load different example text from corpus
  • Enable more Jieba-wasm functions cut_all, cut_for_search, tokenize, add_word
  • Implement your brilliant new idea

Acknowledgement

About

Fast Jieba Chinese text segmentation on browser without backend/NPM | 结巴分词网页版, 基于 WebAssembly 的纯前端实现; 亦可用于 Deno

https://cxumol.github.io/jieba-wasm-html/

License:MIT License


Languages

Language:JavaScript 72.6%Language:HTML 27.4%