ChatGPT-for-Translation基于 ChatGPT 的翻译命令行工具
ChatGPT-for-Translation 是基于 ChatGPT 的翻译命令行工具——使用 ChatGPT 完成文件翻译。
该工具接受一个文本文件(.pdf
,.txt
,.md
,.html
或.rtf
)或者一个包含文本的文件夹。它将生成一个直接翻译和一个双语文本文件。对于 PDF 解析做了优化。
示例
# Install
git clone https://github.com/Raychanan/ChatGPT-for-Translation.git
cd ./ChatGPT-for-Translation/
pip install -r requirements.txt --quiet
# Run
python ChatGPT-translate.py --input_path=input.txt --openai_key=password
可用参数
--num_threads: The number of threads to use for translation (default: 10).
--only_process_this_file_extension. For example, set only_process_this_file_extension="txt".
--not_to_translate_references. By default, not to translate references.
评论
terminal-translate命令行翻译工具
命令行翻译工具,三大翻译引擎支持!命令行英文报错怎么办?复制报错内容, tl一下即可!一些注意事项百度翻译引擎限制:200W字符/月有道翻译引擎限制:1000次请求/时,申请了四个key,4000次请
terminal-translate命令行翻译工具
0
terminal-translate命令行翻译工具
命令行翻译工具,三大翻译引擎支持!命令行英文报错怎么办?复制报错内容, tl一下即可!一些注意事项百
terminal-translate命令行翻译工具
0
Translate Shell命令行翻译工具
TranslateShell是一个支持 GoogleTranslate、BingTranslator、Yandex.Translate 和 Apertium 翻译引擎的命令行翻译器,默认使用的是Go
Translate Shell命令行翻译工具
0
WTF基于 Go 的命令行工具
WTF是一个基于Go的命令行工具,你的个人Dashboard,专为显示不常用的但非常重要的日常数据而设计,灵感来自MonicaDinculescu的 tiny-care-terminal。使用了以下开
WTF基于 Go 的命令行工具
0