Documentation
¶
Overview ¶
Package sentencetoken splits text into sentences using the Punkt algorithm.
Ported from gopkg.in/neurosnap/sentences.v1 (MIT, Copyright 2015 Eric Bower) and github.com/jdkato/prose/v2 (MIT, Copyright 2017-2018 Joseph Kato). Only the English sentence tokenizer is retained; NER, POS tagging, and all interfaces have been removed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitSentences ¶
SplitSentences splits text into sentences using the Punkt algorithm with an English language model. Returns at least one element.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.