Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "ngram"
Variables ¶
This section is empty.
Functions ¶
func NgramFilterConstructor ¶
Types ¶
type NgramFilter ¶
type NgramFilter struct {
// contains filtered or unexported fields
}
func NewNgramFilter ¶
func NewNgramFilter(minLength, maxLength int) *NgramFilter
func (*NgramFilter) Filter ¶
func (s *NgramFilter) Filter(input analysis.TokenStream) analysis.TokenStream
Click to show internal directories.
Click to hide internal directories.