Documentation

Index

Constants

View Source
const Name = "ngram"

Variables

This section is empty.

Functions

func NgramFilterConstructor

func NgramFilterConstructor(config map[string]interface{}, cache *registry.Cache) (analysis.TokenFilter, error)

Types

type NgramFilter

type NgramFilter struct {
	// contains filtered or unexported fields
}

func NewNgramFilter

func NewNgramFilter(minLength, maxLength int) *NgramFilter

func (*NgramFilter) Filter

Source Files