Registry / utility / apparentlymart-go-textseg

apparentlymart-go-textseg

JSON →
library1.0.0gogounverified

Package textseg provides Unicode text segmentation utilities for Go.

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

Segment text into words using go-textseg

package main import ( "fmt" "github.com/apparentlymart/go-textseg" ) 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
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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