Esempio n. 1
0
 'dolby_ml4':
 Dolby(max_length=4).encode,
 'dolby_vowels':
 Dolby(keep_vowels=True).encode,
 'double_metaphone':
 lambda _: ', '.join(double_metaphone.encode(_)),
 'eudex':
 Eudex().encode,
 'fonem':
 FONEM().encode,
 'fuzzy_soundex':
 FuzzySoundex().encode,
 'fuzzy_soundex_0pad_ml8':
 FuzzySoundex(max_length=8, zero_pad=True).encode,
 'haase_phonetik':
 lambda _: ', '.join(haase.encode(_)),
 'haase_phonetik_primary':
 lambda _: haase_primary.encode(_)[0],
 'henry_early':
 HenryEarly().encode,
 'henry_early_ml8':
 HenryEarly(max_length=8).encode,
 'koelner_phonetik':
 koelner.encode,
 'koelner_phonetik_num_to_alpha': (
     lambda _: koelner._to_alpha(koelner.encode(_))  # noqa: SF01
 ),
 'koelner_phonetik_alpha':
 koelner.encode_alpha,
 'lein':
 LEIN().encode,
Esempio n. 2
0
 'lein':
 lein.encode,
 'lein_nopad_ml8':
 lambda _: lein.encode(_, max_length=8, zero_pad=False),
 'roger_root':
 roger_root.encode,
 'roger_root_nopad_ml8':
 lambda _: roger_root.encode(_, max_length=8, zero_pad=False),
 'onca':
 onca.encode,
 'onca_nopad_ml8':
 lambda _: onca.encode(_, max_length=8, zero_pad=False),
 'eudex':
 lambda _: str(eudex.encode(_)),
 'haase_phonetik':
 lambda _: ', '.join(haase.encode(_)),
 'haase_phonetik_primary':
 lambda _: haase.encode(_, primary_only=True)[0],
 'reth_schek_phonetik':
 reth_schek.encode,
 'fonem':
 fonem.encode,
 'parmar_kumbharana':
 parmar_kumbharana.encode,
 'davidson':
 davidson.encode,
 'sound_d':
 sound_d.encode,
 'sound_d_ml8':
 lambda _: sound_d.encode(_, max_length=8),
 'pshp_soundex_last':