stringdistance

package
v8.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 1 Imported by: 5

Documentation

Overview

Package stringdistance

Index

Constants

This section is empty.

Variables

View Source
var (
	Internal = StringDistance{"internal"}

	Dameraulevenshtein = StringDistance{"damerau_levenshtein"}

	Levenshtein = StringDistance{"levenshtein"}

	Jarowinkler = StringDistance{"jaro_winkler"}

	Ngram = StringDistance{"ngram"}
)

Functions

This section is empty.

Types

type StringDistance

type StringDistance struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/5fea44e006349579bf3561a82e997002e5716117/specification/_global/search/_types/suggester.ts#L469-L490

func (StringDistance) MarshalText

func (s StringDistance) MarshalText() (text []byte, err error)

func (StringDistance) String

func (s StringDistance) String() string

func (*StringDistance) UnmarshalText

func (s *StringDistance) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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