MCPcopy Create free account

hub / github.com/Lilykos/pyphonetics / functions

Functions36 in github.com/Lilykos/pyphonetics

↓ 6 callersFunctioncheck_empty
Throw exception at empty string input.
pyphonetics/utils.py:25
↓ 6 callersFunctioncheck_str
Throw exception at non-string input.
pyphonetics/utils.py:19
↓ 6 callersFunctionsqueeze
Squeeze the given sequence by dropping consecutive duplicates.
pyphonetics/utils.py:14
↓ 5 callersMethodphonetics
(self, word)
pyphonetics/phonetics/soundex.py:24
↓ 5 callersFunctiontranslation
Create an index of mapped letters (zip to dict).
pyphonetics/utils.py:7
↓ 4 callersMethodphonetics
(self, word)
pyphonetics/phonetics/refined_soundex.py:23
↓ 4 callersMethodphonetics
Get the phonetic representation of the word.
pyphonetics/phonetics/phonetic_algorithm.py:16
↓ 2 callersMethodphonetics
(self, word)
pyphonetics/phonetics/fuzzy_soundex.py:54
↓ 1 callersFunctionhamming_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 callersFunctionlevenshtein_distance
Computes the Levenshtein distance. [Reference]: https://en.wikipedia.org/wiki/Levenshtein_distance [Article]: Levenshtein, Vladimir I. (
pyphonetics/distance_metrics/levenshtein.py:1
↓ 1 callersMethodphonetics
(self, word)
pyphonetics/phonetics/metaphone.py:48
↓ 1 callersMethodphonetics
(self, word)
pyphonetics/phonetics/mra.py:20
↓ 1 callersMethodphonetics
(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
Methoddistance
Get the similarity of the words, using the supported distance metrics.
pyphonetics/phonetics/phonetic_algorithm.py:24
Methodsounds_like
Compare the phonetic representations of 2 words, and return a boolean value.
pyphonetics/phonetics/phonetic_algorithm.py:20
Functiontest_fuzzy_soundex
()
tests/test_phonetics.py:107
Functiontest_fuzzy_soundex
()
tests/test_corner_cases.py:26
Functiontest_hamming
()
tests/test_distances.py:45
Functiontest_lein
()
tests/test_phonetics.py:143
Functiontest_levenshtein
()
tests/test_distances.py:4
Functiontest_metaphone
()
tests/test_phonetics.py:5
Functiontest_mra
()
tests/test_phonetics.py:92
Functiontest_refined_soundex
()
tests/test_corner_cases.py:16
Functiontest_soundex
()
tests/test_phonetics.py:23
Functiontest_soundex
()
tests/test_corner_cases.py:6
Functiontest_soundex_homophones
()
tests/test_phonetics.py:75
Functiontest_soundex_refined
()
tests/test_phonetics.py:56
Functiontest_squeeze
()
tests/test_utils.py:4
Functiontest_translation
()
tests/test_utils.py:15