You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Department of Otolaryngology, Head and Neck Surgery, PLA General Hospital, Beijing†Department of Otolaryngology, Fujian Medical University ShengLi Clinical College, Fujian Provincial Hospital, Fuzhou‡Department of Otorhinolaryngology, Shenzhen Children's Hospital, Shenzhen§Department of Otolaryngology, Hainan Branch of PLA General Hospital, Sanya||Department of Otolaryngology, PLA Rocket Force General Hospital¶Department of Otolaryngology, The First Affiliated Hospital of the PLA General Hospital#Department of Otolaryngology, Beijing Friendship Hospital, Capital Medical University, Beijing**Medical School of Nankai University, Tianjin††Institute of Geriatrics, PLA General Hospital, Beijing, People's Republic of China
However, the following code return complete different result:
translator = googletrans.Translator()
src = r"*Department of Otolaryngology, Head and Neck Surgery, PLA General Hospital, Beijing†Department of Otolaryngology, Fujian Medical University ShengLi Clinical College, Fujian Provincial Hospital, Fuzhou‡Department of Otorhinolaryngology, Shenzhen Children's Hospital, Shenzhen§Department of Otolaryngology, Hainan Branch of PLA General Hospital, Sanya||Department of Otolaryngology, PLA Rocket Force General Hospital¶Department of Otolaryngology, The First Affiliated Hospital of the PLA General Hospital#Department of Otolaryngology, Beijing Friendship Hospital, Capital Medical University, Beijing**Medical School of Nankai University, Tianjin††Institute of Geriatrics, PLA General Hospital, Beijing, People's Republic of China"
trans = translator.translate(src, dest='zh-CN')
print(trans.text)
>>> *耳鼻喉科医院耳鼻喉科,北京市综肠科综肠科急性医学院,福建医科大学陈跃临床学院,福建省省级医院,福州县耳鼻咽喉科,深圳儿童医院,深圳综肠耳鼻喉科,海南分公司广场综合医院,三亚||耳鼻喉部耳鼻喉科省耳鼻喉科医院综肠耳鼻喉科,PLA总医院的第一位附属医院#耳鼻喉科学院,北京友谊医院,首都医科大学,北京**南开学院大学,天津市北京市人民共和国北京市综合医院老年化学研究所
Expected behavior:
should return the same string as the website Steps to reproduce:
Related code:
insert short code snippets here
Other information:
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Googletrans version:
I'm submitting a ...
the following text yield very different results:
In https://translate.google.com it returns:
Current behavior:
However, the following code return complete different result:
Expected behavior:
should return the same string as the website
Steps to reproduce:
Related code:
Other information:
The text was updated successfully, but these errors were encountered: