Registry / utility / apparentlymart-go-textseg-v13

apparentlymart-go-textseg-v13

JSON →
library13.0.0gogounverified

Provides Unicode text segmentation as defined in UAX #29.

go get github.com/apparentlymart/go-textseg/v13
INSTALL
IMPORT
SIG · APPARENTLYMART-GO-
A
apparentlymart-go-textseg-v13
utilitygov13.0.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.

textseg
github.com/apparentlymart/go-textseg/v13

Segment text into words using Unicode rules.

package main import ( "fmt" "github.com/apparentlymart/go-textseg/v13" ) func main() { segments := textseg.ScanWords([]byte("hello world")) for _, s := range segments { fmt.Println(string(s)) } }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
14
OpenAI (training)
3
Meta
1
Resources
apparentlymart-go-textseg-v13 — go get apparentlymart-go-textseg-v13 · libregistry