bleve: github.com/blevesearch/bleve/analysis/token/stop Index | Files

package stop

import "github.com/blevesearch/bleve/analysis/token/stop"

Package stop implements a TokenFilter removing tokens found in a TokenMap.

It constructor takes the following arguments:

"stop_token_map" (string): the name of the token map identifying tokens to remove.

Index

Package Files

stop.go

Constants

const Name = "stop_tokens"

func StopTokensFilterConstructor Uses

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

type StopTokensFilter Uses

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

func NewStopTokensFilter Uses

func NewStopTokensFilter(stopTokens analysis.TokenMap) *StopTokensFilter

func (*StopTokensFilter) Filter Uses

func (f *StopTokensFilter) Filter(input analysis.TokenStream) analysis.TokenStream

Package stop imports 3 packages (graph) and is imported by 50 packages. Updated 2017-05-04. Refresh now. Tools for package owners.