Git Product home page Git Product logo

Comments (10)

snip3r009 avatar snip3r009 commented on August 19, 2024 1

Yes, you are right, the chapter content is too brief and limited; it should have more substance. You can easily finish reading a chapter in no time at all.
If it was chatgpt-4, then it can create more chapters and more content, i think

from gpt-author.

mshumer avatar mshumer commented on August 19, 2024

Thanks! You can modify each of the prompts to ask them to write in Dutch.

from gpt-author.

snip3r009 avatar snip3r009 commented on August 19, 2024

Hi, thnxz for the swift reply.
I did that, but it generates only one chapter in Dutch, the rest in English

from gpt-author.

dsandua avatar dsandua commented on August 19, 2024
# Set metadata
book.set_identifier('id123456')
book.set_title(title)
**book.set_language('nl')**
book.add_author(author)

from gpt-author.

snip3r009 avatar snip3r009 commented on August 19, 2024
# Set metadata
book.set_identifier('id123456')
book.set_title(title)
**book.set_language('nl')**
book.add_author(author)

Hi Dsandua,
I did that also, in the metadata i changed it to NL
i am testing now that i change all the prompts into Dutch, maybe that will help, thanx for your advise

from gpt-author.

AgimaFR avatar AgimaFR commented on August 19, 2024
# Set metadata
book.set_identifier('id123456')
book.set_title(title)
**book.set_language('nl')**
book.add_author(author)

EbookLib library itself is not capable of translating text. It's a library for handling e-books, not for translating text.
The function book.set_language('nl') simply allows you to define a metadata for the book, as with the author...
There's no choice but to go through googletrans, for example, to translate the content that will then be sent to EbookLib.

from gpt-author.

snip3r009 avatar snip3r009 commented on August 19, 2024

I allready found a way to translate the text.
1st i convert the epub to pdf, then i go to
https://www.deepl.com/translator/files
ad the entire pdf will be translated, after that i change it back to epub
translation is good

from gpt-author.

AgimaFR avatar AgimaFR commented on August 19, 2024

@snip3r009 Using the DeepL API?

from gpt-author.

snip3r009 avatar snip3r009 commented on August 19, 2024

No, i simple convert the epub to pdf, then i go to https://www.deepl.com/translator/files and upload the pdf and let Deepl translate it for me.
I dont know if it will work with Deepl api

from gpt-author.

AgimaFR avatar AgimaFR commented on August 19, 2024

DeepL API

It works manually of course, but it would be better on automatic like the reste of the eBook 😉

At the moment, I'm working on improving the content of the chapters, which I find rather poor. Then I'll come back to the translation part, which is a detail if the quality of the book isn't there.

from gpt-author.

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.