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
}
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
Click to show internal directories.
Click to hide internal directories.