Documentation
¶
Index ¶
Constants ¶
View Source
const EndOfSentence = ".!?"
Default end of sentence
Variables ¶
This section is empty.
Functions ¶
func NewSentencer ¶
Create a scanner that slices input stream by end of sentence
Types ¶
type Chunker ¶
type Chunker struct {
Scanner
// contains filtered or unexported fields
}
func NewChunker ¶
type Identity ¶
func NewIdentity ¶
type Scanner ¶
Scanner is an interface similar to bufio.Scanner. It defines core functionality defined by this library.
Click to show internal directories.
Click to hide internal directories.