ngram

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL