-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Removed hard-coded language list - Bind pip dependencies - Minor changes in Readme Co-authored by:- Kapil Bansal <[email protected]>
- Loading branch information
1 parent
b314d44
commit 2ab7b6e
Showing
3 changed files
with
22 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,110 +1,3 @@ | ||
bhasha_kosh = { | ||
'af': 'afrikaans', | ||
'sq': 'albanian', | ||
'am': 'amharic', | ||
'ar': 'arabic', | ||
'hy': 'armenian', | ||
'az': 'azerbaijani', | ||
'eu': 'basque', | ||
'be': 'belarusian', | ||
'bn': 'bengali', | ||
'bs': 'bosnian', | ||
'bg': 'bulgarian', | ||
'ca': 'catalan', | ||
'ceb': 'cebuano', | ||
'ny': 'chichewa', | ||
'zh-cn': 'chinese (simplified)', | ||
'zh-tw': 'chinese (traditional)', | ||
'co': 'corsican', | ||
'hr': 'croatian', | ||
'cs': 'czech', | ||
'da': 'danish', | ||
'nl': 'dutch', | ||
'en': 'english', | ||
'eo': 'esperanto', | ||
'et': 'estonian', | ||
'tl': 'filipino', | ||
'fi': 'finnish', | ||
'fr': 'french', | ||
'fy': 'frisian', | ||
'gl': 'galician', | ||
'ka': 'georgian', | ||
'de': 'german', | ||
'el': 'greek', | ||
'gu': 'gujarati', | ||
'ht': 'haitian creole', | ||
'ha': 'hausa', | ||
'haw': 'hawaiian', | ||
'iw': 'hebrew', | ||
'hi': 'hindi', | ||
'hmn': 'hmong', | ||
'hu': 'hungarian', | ||
'is': 'icelandic', | ||
'ig': 'igbo', | ||
'id': 'indonesian', | ||
'ga': 'irish', | ||
'it': 'italian', | ||
'ja': 'japanese', | ||
'jw': 'javanese', | ||
'kn': 'kannada', | ||
'kk': 'kazakh', | ||
'km': 'khmer', | ||
'ko': 'korean', | ||
'ku': 'kurdish (kurmanji)', | ||
'ky': 'kyrgyz', | ||
'lo': 'lao', | ||
'la': 'latin', | ||
'lv': 'latvian', | ||
'lt': 'lithuanian', | ||
'lb': 'luxembourgish', | ||
'mk': 'macedonian', | ||
'mg': 'malagasy', | ||
'ms': 'malay', | ||
'ml': 'malayalam', | ||
'mt': 'maltese', | ||
'mi': 'maori', | ||
'mr': 'marathi', | ||
'mn': 'mongolian', | ||
'my': 'myanmar (burmese)', | ||
'ne': 'nepali', | ||
'no': 'norwegian', | ||
'ps': 'pashto', | ||
'fa': 'persian', | ||
'pl': 'polish', | ||
'pt': 'portuguese', | ||
'pa': 'punjabi', | ||
'ro': 'romanian', | ||
'ru': 'russian', | ||
'sm': 'samoan', | ||
'gd': 'scots gaelic', | ||
'sr': 'serbian', | ||
'st': 'sesotho', | ||
'sn': 'shona', | ||
'sd': 'sindhi', | ||
'si': 'sinhala', | ||
'sk': 'slovak', | ||
'sl': 'slovenian', | ||
'so': 'somali', | ||
'es': 'spanish', | ||
'su': 'sundanese', | ||
'sw': 'swahili', | ||
'sv': 'swedish', | ||
'tg': 'tajik', | ||
'ta': 'tamil', | ||
'te': 'telugu', | ||
'th': 'thai', | ||
'tr': 'turkish', | ||
'uk': 'ukrainian', | ||
'ur': 'urdu', | ||
'uz': 'uzbek', | ||
'vi': 'vietnamese', | ||
'cy': 'welsh', | ||
'xh': 'xhosa', | ||
'yi': 'yiddish', | ||
'yo': 'yoruba', | ||
'zu': 'zulu', | ||
'fil': 'Filipino', | ||
'he': 'Hebrew', | ||
} | ||
from googletrans import LANGUAGES as bhasha_kosh | ||
|
||
bhasha_codes = dict(map(reversed, bhasha_kosh.items())) | ||
bhasha_codes = dict(map(reversed, bhasha_kosh.items())) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,28 +18,29 @@ | |
setup( | ||
name='freshlybuiltimagebol', | ||
packages=['freshlybuiltimagebol'], | ||
version='0.0.2.7', | ||
version='0.0.2.8', | ||
license='MIT', | ||
description='Photo Bhi Bol Uthega', | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
author='Vishal Sharma', | ||
author_email='[email protected]', | ||
url='https://github.com/FreshlyBuilt/freshlybuiltimagebol', | ||
download_url='https://github.com/FreshlyBuilt/freshlybuiltimagebol/archive/v0.0.2.7.tar.gz', | ||
download_url='https://github.com/FreshlyBuilt/freshlybuiltimagebol/archive/v0.0.2.8.tar.gz', | ||
keywords=['Image', 'Audio', 'Text'], | ||
install_requires=[ | ||
'hyper', | ||
'tqdm', | ||
'colorama', | ||
'googletrans', | ||
'gTTS', | ||
'Pillow', | ||
'pytesseract', | ||
'opencv-python', | ||
'numpy', | ||
'matplotlib', | ||
'imutils', | ||
'hyper==0.5.0', | ||
'tqdm==4.46.0', | ||
'colorama~=0.4', | ||
'googletrans==3.1.0a0', | ||
'gTTS==2.2.1', | ||
'gTTS-token==1.1.4', | ||
'Pillow~=7.0', | ||
'pytesseract==0.3.2', | ||
'opencv-python==4.1.2.30', | ||
'numpy==1.16.3', | ||
'matplotlib==3.1.3', | ||
'imutils==0.5.3', | ||
], | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
|