Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

book translation using LLMs

NotificationsYou must be signed in to change notification settings

l2yao/translator

Repository files navigation

book translation using Gemini API

install dependencies

pip install -r requirements.txt

define your Google API key

make sure to set environment variableGOOGLE_API_KEY

run the translation

  • input_path : Path to the input book file
  • input_language : Input language of the book
  • output_path: Path to the output translated book file
  • output_language: Target language of the translation

Example:

python translate.py --input_path=input/book1.txt --input_language=Chinese --output_path=output/book1.txt --output_language=English

About

book translation using LLMs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp