GithubHelp home page GithubHelp logo

(feature request) a way to pause and continue a translation process that takes days to execute; plus a progress indicator about argos-translate HOT 1 OPEN

bruceleerabbit avatar bruceleerabbit commented on September 26, 2024
(feature request) a way to pause and continue a translation process that takes days to execute; plus a progress indicator

from argos-translate.

Comments (1)

AddioElectronics avatar AddioElectronics commented on September 26, 2024 1

You definitely shouldn't be translating whole documents at once, that would take a long time even on a beast of a machine.

This could be considered "low level" library, and the features you are asking for are don't really make sense for what it is.
Everything you are asking for is a fairly easy task to accomplish, but I don't think it really suits the library. Maybe I'm wrong though I just found it an hour ago.

If I were you I'd translate it line by line, or sentence by sentence, like you mentioned. This is easily automated for even a beginner coder, or are you from a non-coding background?

  1. Read the document stream until you reach a period.
  2. Translate the sentence, save to your output stream.
  3. Save the position in a secondary file, so if you need to start later, you can open the file and begin where you left off.
  4. Update your progress after each sentence by checking your current position to the length of the stream.
  5. As for viewing past translations, if you are doing it in chunks you can just open the file to view it.

If you need help automating it, let me know, and we can talk about it.

from argos-translate.

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.