Registry / utility / apparentlymart-go-textseg-v12

apparentlymart-go-textseg-v12

JSON →
library12.0.0gogounverified

Package go-textseg provides Unicode text segmentation as defined in UAX #29.

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

Segment text into words

package main import ( "fmt" "github.com/apparentlymart/go-textseg/v12" ) func main() { segments := textseg.ScanWords([]byte("Hello world")) fmt.Println(segments) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
2
Meta
1
Resources
apparentlymart-go-textseg-v12 — go get apparentlymart-go-textseg-v12 · libregistry