Uniseg
A Unicode Text Segmentation library in V.
Install / Use
/learn @magic003/UnisegREADME
Unicode Text Segmentation in V
This vlang package implements Unicode Text Segmentation according to Unicode Standard Annex #29.
Status
- Grapheme cluster boundaries: supported and passed official break tests.
- Word boundaries: supported and passed official break tests.
- Sentence boundaries: supported and passed official break tests.
Installation
v install magic003.uniseg
Examples
Check out the examples folder.
Documentation
Refer to http://magic003.github.io/uniseg for the documentation.
References
- Unicode Standard Annex #29.
- The design and implementation of this library is heavily influenced by uniseg in Go and unicode-segmentation in Rust.
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
