Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apostrophe is not detected ?? #2

Closed
ahmadkarimi4 opened this issue Nov 13, 2022 · 2 comments
Closed

apostrophe is not detected ?? #2

ahmadkarimi4 opened this issue Nov 13, 2022 · 2 comments

Comments

@ahmadkarimi4
Copy link

ahmadkarimi4 commented Nov 13, 2022

Problem

  • Apostrophe isnt being detected

Desired result

Bankman-Fried, the former CEO of bankrupt cryptocurrency exchange FTX, lost his entire $16 billion fortune in one of the largest losses in history, reports Bloomberg. At the peak of the business, the entrepreneur's fortune was estimated at $ 26 billion.
If you allow me, I'll post a link.
Thanks

Current result

Img

Code to Replicate issue

from easygoogletranslate import EasyGoogleTranslate
koko="Бывший гендиректор обанкротившейся криптовалютной биржи FTX Бэнкман-Фрид потерял все свое состояние в $16 млрд. Это один из крупнейших в истории случаев утраты состояния, передает Блумберг. На пике бизнеса состояние предпринимателя оценивалось в $26 млрд."
koko1="""Если разрешите кину ссылку.
Спасибо"""
translator=EasyGoogleTranslate()
print(koko)
print(koko1)

def tr(text):
    result = translator.translate(f'{(text)}', target_language='en')
    return result

mk=tr(koko)
kk=tr(koko1)
print(mk)
print(kk)

@ahmeterenodaci
Copy link
Owner

ahmeterenodaci commented Nov 13, 2022

Hey, I released a new update to fix this.

If you have installed the package via pip, you can update it with the following command.

pip install easygoogletranslate --upgrade

Updated result:

resim

@ahmadkarimi4
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants