Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadNgramSize = errors.New("ErrBadNgramSize: ngram size must be in ]0;MAXINT]")
ErrBadNgramSize is raised when the ngram size is not in the correct range
Functions ¶
Types ¶
type FastGenerator ¶
type FastGenerator struct { Init bool Reader io.ReadSeeker Ngram Ngram }
func NewFastGenerator ¶
func NewFastGenerator(reader io.ReadSeeker, sNgram int) (fg FastGenerator)
func (*FastGenerator) Next ¶
func (fg *FastGenerator) Next() (err error)
Click to show internal directories.
Click to hide internal directories.