No project description provided
Project description
Transliteration-BruteForcer
How to
Example
>>> from transliteration_brute_forcer import TransliterationBruteForcer
>>> transliteration_bruteforcer = TransliterationBruteForcer()
>>> transliteration_bruteforcer.run('Юрий')
{'Urij'}
>>> transliteration_bruteforcer.custom_mapping = {
... 'Ю': ['Yu', 'Iy'],
... 'ю': ['yu', 'iy'],
... 'й': ['ii', 'iy', 'yy', 'yu'],
... }
>>> transliteration_bruteforcer.run('Юрий')
{'Urij', 'Yuriyu', 'Iyrij', 'Uriyy', 'Yuriii', 'Iyriii', 'Iyriyy', 'Uriiy', 'Yuriyy', 'Iyriyu', 'Uriyu', 'Iyriiy', 'Yurij', 'Uriii', 'Yuriiy'}
>>> transliteration_bruteforcer.run('Владимир Пехтин')
{'Vladimir Pehtin'}
>>> transliteration_bruteforcer.custom_mapping['х'] = ['kh']
>>> transliteration_bruteforcer.run('Владимир Пехтин')
{'Vladimir Pehtin', 'Vladimir Pekhtin'}
>>> transliteration_bruteforcer.custom_mapping['В'] = ['W']
>>> transliteration_bruteforcer.run('Владимир Пехтин')
{'Vladimir Pekhtin', 'Vladimir Pehtin', 'Wladimir Pekhtin', 'Wladimir Pehtin'}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file transliteration_brute_forcer-0.0.1.tar.gz
.
File metadata
- Download URL: transliteration_brute_forcer-0.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d8a1f90432f7cf8e60ca9c557853f3f6c80e5c3d6fc615d679b2f7c540037d6 |
|
MD5 | fc4e802b903288a2bb37d5719b816052 |
|
BLAKE2b-256 | d737f753002c57544956e721a435dcf1a0c5ab299db1d2c755ae9ac6f7534e21 |
File details
Details for the file transliteration_brute_forcer-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: transliteration_brute_forcer-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6603daf5b9d16cf21ac8ecd8733f85c872ebbf4a4f7aaff4574049f6b0412ff |
|
MD5 | f03a8bb8c547e1a456d9bc79e49f0654 |
|
BLAKE2b-256 | 748894ae5b29560c87b6f3a10d4275e0ef9171cdd5a4f3ce12450d04bbc4e62f |