soundex

package
v0.0.0-...-be99ba7 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entries

type Entries []Entry

type Entry

type Entry struct {
	Name string `json:"name"`
	Code string `json:"code"`
}

type SoundexEncoder

type SoundexEncoder struct{}

SoundexEncoder Soundex encoder

func NewSoundexEncoder

func NewSoundexEncoder() *SoundexEncoder

NewSoundexEncoder create new encoder instance

func (*SoundexEncoder) Encode

func (se *SoundexEncoder) Encode(input string) string

Encode thansform the input string to its phonetic representation using Soundex algorithm.

Jump to

Keyboard shortcuts

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