Skip to main content

jibrish to hebrew

Description

jibrish_to_hebrew is a Python function that simplifies the conversion between garbled text and Hebrew. It can convert a garbled Hebrew string to plain Hebrew or transform Hebrew text into jibrish and vice versa.

for example: 'ùìåí ìëåìí' --> 'שלום לכולם'

Usage

convert function - fix_jibrish

The function takes the following parameters:

  • Parameter 1: garbled Hebrew string
    Provide a garbled Hebrew string as input to be converted.

  • Parameter 2 (optional): Conversion mode
    You can specify the conversion mode using this optional parameter. It accepts two values:

    • "heb": To convert the input to Hebrew.
    • "jib": To convert the input to gibrish.

    Default is heb

test function - check_jibrish

A function to check if a certain string contains correct Hebrew or corrupted Hebrew

Suitable for checking metadata of songs

  • Parameter: A text string

  • return value: True If the string is garbled, or False if she is ok

Example

from jibrish_to_hebrew import fix_jibrish, check_jibrish


jibrish_string = 'ùìåí ìëåìí'
hebrew_string = 'שלום לכולם'

# Convert garbled text to plain Hebrew
heb_result = fix_jibrish(jibrish_string, "heb")

# Convert Hebrew text to gibrish
jib_result = fix_jibrish(hebrew_string, "jib")

# Check if a string contains garbled text
bool_result = check_jibrish(jibrish_string)

Return

print(f'{garbled_string}: {result_heb}')
print(bool_result)

ùìåí ìëåìí: שלום לכולם
True

Installation

You can install this package using pip:

pip install jibrish-to-hebrew

Acknowledgments

This software is created and maintained by nh.local11@gmail.com.

Metadata

Release files for jibrish-to-hebrew 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jibrish-to-hebrew 1.4.1
File Size Uploaded
jibrish_to_hebrew-1.4.1.tar.gz 3.4 kB Details

Release files / jibrish_to_hebrew-1.4.1.tar.gz

Download URL jibrish_to_hebrew-1.4.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
23dc31d5857468cfb40324bc1c4d1c41ca1e2a197aa79da142d98fad4a917af1
BLAKE2b-256 checksum
How to use checksums
04a3043bc5a255a38361ad98a01ef9bebaf63e0cc3b1663e798b6de7e5380a18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.4.1 This release

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

2 release files

1.0

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page