GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [google cloud translate] as a result of translation, the second sentence disappeared · Issue #9 · googleapis/python-translate
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
[google cloud translate] as a result of translation, the second sentence disappeared #9Copy link Copy link Closed Labels 🚨This issue needs some love.api: translationIssues related to the Cloud Translation API API.triage meI really want to be triaged. DescriptionEnvironment details
Steps to reproduce
Code example# example from google.cloud import translate_v2 as translate translate_client = translate.Client() # case 1 comments = '야 너 왜 자꾸 문제 생겨.자꾸 이러면 못써' myTrans1 = translate_client.translate(comments, target_language = 'en') print('case 1 : ',myTrans1['translatedText']) # case 2 comments = '야 너 왜 자꾸 문제 생겨. 자꾸 이러면 못써' myTrans2 = translate_client.translate(comments, target_language = 'en') print('case 2 : ', myTrans2['translatedText']) Resultcase 1 : Hey, why do you keep having problems? This is 100% reproducible. It needs credential key (GOOGLE_APPLICATION_CREDENTIALS) because I use paid service (Google Cloud Translate V2) The difference in input data is just whether there is a space after the period or not. However, as a result of translation, in case 2, the second sentence disappeared without being translated. Activity
MetadataMetadataAssigneesLabels🚨This issue needs some love.api: translationIssues related to the Cloud Translation API API.triage meI really want to be triaged. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |