Registry / utility / blevesearch-segment

blevesearch-segment

JSON →
library0.9.1gogounverified

Segment is a library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29.

go get github.com/blevesearch/segment
INSTALL
IMPORT
SIG · BLEVESEARCH-SEGMEN
B
blevesearch-segment
utilitygov0.9.1
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.

segment
github.com/blevesearch/segment

Segment text into words using Unicode word boundaries

package main import ( "fmt" "github.com/blevesearch/segment" ) func main() { seg := segment.NewSegmenter([]byte("Hello, world!")) for seg.Segment() { fmt.Println(string(seg.Text())) } }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Meta
1
Perplexity
1
Resources