model

package
v0.0.0-...-4a74ca9 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Levenshtein

type Levenshtein struct {
	Probablity float32
	Percentage float32
	Name       string
}

func (*Levenshtein) CalcualtePercentage

func (*Levenshtein) CalcualtePercentage(p float32) float32

func (*Levenshtein) GetProbParameter

func (l *Levenshtein) GetProbParameter() float32

func (*Levenshtein) Result

func (*Levenshtein) Result(d int) float32

func (*Levenshtein) SetProbParameter

func (l *Levenshtein) SetProbParameter(p float32)

type LevenshteinInterface

type LevenshteinInterface interface {
	SetProbParameter(p float32)
	GetProbParameter() float32
	Result(d int) float32
	CalcualtePercentage(p float32) float32
}

Jump to

Keyboard shortcuts

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