Giter VIP home page Giter VIP logo

Comments (3)

Airsaid avatar Airsaid commented on June 2, 2024 1

To communicate with Google Translate without an API KEY, you mainly need to generate the corresponding token, which may help you: GoogleToken.

Alternatively, the web version can be used directly to compare the translation results of individual sentences and sentences mixed with other words separately.

from androidlocalizeplugin.

Airsaid avatar Airsaid commented on June 2, 2024

Thanks for your feedback. This would have two problems.

1, the separator ";" may appear in the text being translated and it is impossible to assume what the user's text is.

2, For long sentences, this may lead to a reduction in the accuracy of the translated result. This is because there are many words blended together, affecting the judgment of the translation context.

Discussions are welcome.

from androidlocalizeplugin.

DankalApps avatar DankalApps commented on June 2, 2024

";" separator is just an example, maybe some other symbol would be better. Take a look on this 😄 :
https://translate.google.com/?sl=en&tl=pl&text=Easy%E2%98%BCMedium%E2%98%BCHard%E2%98%BCVery%20hard&op=translate

One could argue that the translation would be even better - bigger context, better translation. Google translates whole web pages this way. But that would have to be tested of course, either of us might be right.

At the very least this technique could be at least used to translate multiple single word strings.

I am planning to do some simple script in python to check this and share with you my results (for languages I know at least). Could you give me some hint on how to do this? I mean communication with google translate, not python-specific stuff. Or point me to some place where I can get needed info?

from androidlocalizeplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.