truncate

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

View Source
const Name = "truncate_token"

Variables

This section is empty.

Functions

func TruncateTokenFilterConstructor

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

Types

type TruncateTokenFilter

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

func NewTruncateTokenFilter

func NewTruncateTokenFilter(length int) *TruncateTokenFilter

func (*TruncateTokenFilter) Filter

Jump to

Keyboard shortcuts

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