Registry / utility / neurosnap-sentences-v1

neurosnap-sentences-v1

JSON →
library1.0.7gogounverified

Package sentences is a Go library for unsupervised multilingual sentence boundary detection using the Punkt algorithm.

go get gopkg.in/neurosnap/sentences.v1
INSTALL
IMPORT
SIG · NEUROSNAP-SENTENCE
N
neurosnap-sentences-v1
utilitygov1.0.7
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.

sentences
gopkg.in/neurosnap/sentences.v1

Tokenizes a text into sentences using the default English tokenizer.

package main import ( "fmt" "gopkg.in/neurosnap/sentences.v1" ) func main() { tokenizer, _ := sentences.NewSentenceTokenizer(nil) sentences := tokenizer.Tokenize("Hello world. This is a test.") for _, s := range sentences { fmt.Println(s.Text) } }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
neurosnap-sentences-v1 — go get neurosnap-sentences-v1 · libregistry