Registry / utility / gioui-uax

gioui-uax

JSON →
library0.2.0gogounverified

Implements Unicode Standard Annex (UAX) algorithms for text segmentation, including word, line, and sentence boundaries.

go get github.com/gioui/uax
INSTALL
IMPORT
SIG · GIOUI-UAX
G
gioui-uax
utilitygov0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

uax
github.com/gioui/uax

Segment Unicode text into words using UAX#29

package main import ( "fmt" "github.com/gioui/uax/segment" ) func main() { text := "Hello, 世界!" seg := segment.NewWordSegmenter() seg.Init([]byte(text)) for seg.Next() { fmt.Println(string(seg.Bytes())) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gioui-uax — go get gioui-uax · libregistry