bleve: Index | Files

package stop

import ""

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.


Package Files



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 59 packages. Updated 2017-05-04. Refresh now. Tools for package owners.