Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lilykos/pyphonetics
/ functions
Functions
36 in github.com/Lilykos/pyphonetics
⨍
Functions
36
◇
Types & classes
11
↓ 6 callers
Function
check_empty
Throw exception at empty string input.
pyphonetics/utils.py:25
↓ 6 callers
Function
check_str
Throw exception at non-string input.
pyphonetics/utils.py:19
↓ 6 callers
Function
squeeze
Squeeze the given sequence by dropping consecutive duplicates.
pyphonetics/utils.py:14
↓ 5 callers
Method
phonetics
(self, word)
pyphonetics/phonetics/soundex.py:24
↓ 5 callers
Function
translation
Create an index of mapped letters (zip to dict).
pyphonetics/utils.py:7
↓ 4 callers
Method
phonetics
(self, word)
pyphonetics/phonetics/refined_soundex.py:23
↓ 4 callers
Method
phonetics
Get the phonetic representation of the word.
pyphonetics/phonetics/phonetic_algorithm.py:16
↓ 2 callers
Method
phonetics
(self, word)
pyphonetics/phonetics/fuzzy_soundex.py:54
↓ 1 callers
Function
hamming_distance
Computes the Hamming distance. [Reference]: https://en.wikipedia.org/wiki/Hamming_distance [Article]: Hamming, Richard W. (1950), "Error
pyphonetics/distance_metrics/hamming.py:4
↓ 1 callers
Function
levenshtein_distance
Computes the Levenshtein distance. [Reference]: https://en.wikipedia.org/wiki/Levenshtein_distance [Article]: Levenshtein, Vladimir I. (
pyphonetics/distance_metrics/levenshtein.py:1
↓ 1 callers
Method
phonetics
(self, word)
pyphonetics/phonetics/metaphone.py:48
↓ 1 callers
Method
phonetics
(self, word)
pyphonetics/phonetics/mra.py:20
↓ 1 callers
Method
phonetics
(self, word)
pyphonetics/phonetics/lein.py:24
Method
__init__
(self)
pyphonetics/phonetics/metaphone.py:15
Method
__init__
(self)
pyphonetics/phonetics/mra.py:17
Method
__init__
(self)
pyphonetics/phonetics/lein.py:14
Method
__init__
(self)
pyphonetics/phonetics/refined_soundex.py:15
Method
__init__
(self)
pyphonetics/phonetics/phonetic_algorithm.py:10
Method
__init__
(self)
pyphonetics/phonetics/fuzzy_soundex.py:15
Method
__init__
(self)
pyphonetics/phonetics/soundex.py:15
Method
distance
Get the similarity of the words, using the supported distance metrics.
pyphonetics/phonetics/phonetic_algorithm.py:24
Method
sounds_like
Compare the phonetic representations of 2 words, and return a boolean value.
pyphonetics/phonetics/phonetic_algorithm.py:20
Function
test_fuzzy_soundex
()
tests/test_phonetics.py:107
Function
test_fuzzy_soundex
()
tests/test_corner_cases.py:26
Function
test_hamming
()
tests/test_distances.py:45
Function
test_lein
()
tests/test_phonetics.py:143
Function
test_levenshtein
()
tests/test_distances.py:4
Function
test_metaphone
()
tests/test_phonetics.py:5
Function
test_mra
()
tests/test_phonetics.py:92
Function
test_refined_soundex
()
tests/test_corner_cases.py:16
Function
test_soundex
()
tests/test_phonetics.py:23
Function
test_soundex
()
tests/test_corner_cases.py:6
Function
test_soundex_homophones
()
tests/test_phonetics.py:75
Function
test_soundex_refined
()
tests/test_phonetics.py:56
Function
test_squeeze
()
tests/test_utils.py:4
Function
test_translation
()
tests/test_utils.py:15