A Web App for Chinese Word Segmentation based on jieba-wasm and Intl.Segmenter.
基于 jieba-wasm 和 Intl.Segmenter 的中文分词 Web 应用。
- 框架 / Framework: Vue.js
- UI:
- shadcn-vue:Vue port of shadcn/ui
- UnoCSS support by unocss-preset-shadcn
- UI:
- 分词库 / Segmentation Library:
总体目标:构建一个中文分词 PWA 应用。配合 iOS 快捷指令使用,复刻类似于主流安卓系统中的「分词」功能。
-
Web 实现
-
基础功能
-
多个版本构建
- PWA 版本
- iOS 快捷指令集成
- 单文件精简版
- 仅使用 Intl.Segmenter
- 所有资源合并为单一文件
- 单文件仅前端展示版
- 无分词功能,仅作为展示载体
- 单文件精简版
-
-
快捷指令部分
- 采用 cherri 框架构建快捷指令版本
- 参照 Actions 模式打包 jieba 分词引擎
- 基于 App Intents
Overall Goal: Build a Chinese Word Segmentation PWA App. Use with iOS Shortcuts to replicate the "Segmentation" feature in mainstream Android systems.
-
Web Implementation
-
Basic Functions
-
Multiple Builds
- PWA Version
- iOS Shortcuts Integration
- Single File Version
- Only use Intl.Segmenter
- All resources merged into a single file
- Single File Frontend Only Version
- No segmentation function, only as a display carrier
- Single File Version
-
-
Shortcuts Part
- Build the shortcut version using the cherri
- Reference the Actions
- Based on App Intents