unique

package
Version: v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "unique"

Variables

This section is empty.

Functions

func UniqueTermFilterConstructor

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

Types

type UniqueTermFilter

type UniqueTermFilter struct{}

UniqueTermFilter retains only the tokens which mark the first occurence of a term. Tokens whose term appears in a preceding token are dropped.

func NewUniqueTermFilter

func NewUniqueTermFilter() *UniqueTermFilter

func (*UniqueTermFilter) Filter

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL