Skip to content

edwardhu/chatgpt-translate-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat-got-translate-pdf

This project is to use ChatGPT to translate PDF documents into Chinese.

Installation

Use the package manager pip to install foobar.

pip install pypdf && pip install nltk && pip install openai

Usage

  1. Paste your token into the translate.py file on line 16.

    https://platform.openai.com/tokenizer

  2. Execute the following command.

python translate.py -f YourDocument.pdf

License

MIT

About

This project is to use ChatGPT to translate PDF documents into Chinese.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages