|
| 1 | +<h4 align="right"> |
| 2 | + <strong>简体中文</strong> | <a href="https://github.com/yetone/bob-plugin-openai-translator/blob/main/docs/README_EN.md">English</a> |
| 3 | +</h4> |
| 4 | + |
1 | 5 | <div> |
2 | 6 | <h1 align="center">OpenAI Translator Bob Plugin</h1> |
3 | 7 | <p align="center"> |
|
16 | 20 | </p> |
17 | 21 | </div> |
18 | 22 |
|
19 | | -Important update: Non-macOS users can use my browser extension based on ChatGPT API for word translation [openai-translator](https://github.com/yetone/openai-translator) to solve urgent needs. |
| 23 | +> **Note** |
| 24 | +> |
| 25 | +> 重要更新:非 macOS 用户可以使用我开发的基于 ChatGPT API 的划词翻译浏览器插件 [openai-translator](https://github.com/yetone/openai-translator) 以解燃眉之急。 |
20 | 26 |
|
21 | | -# Screenshots |
| 27 | +## 演示 |
22 | 28 |
|
23 | 29 |  |
24 | 30 |
|
25 | | -# Introduction |
| 31 | +## 简介 |
| 32 | + |
| 33 | +ChatGPT 向我们展示了 GPT 模型的伟大之处,所以我使用 OpenAI 的 API 实现了这个 Bob 的翻译 + 润色 + 语法修改插件,效果拔群! |
26 | 34 |
|
27 | | -ChatGPT showed us the greatness of the GPT model, so I developed this Bob translation + polishing + grammar correction plugin using OpenAI's API, which has excellent results! |
| 35 | +### 润色功能 |
28 | 36 |
|
29 | | -This plugin now supports using the ChatGPT API to refine and modify sentences for grammar. Simply select the target language to be the same as the source language, making it a comprehensive replacement for Grammarly! Moreover, theoretically any language can be refined, not just English. |
| 37 | +此插件已支持使用 ChatGPT API 对句子进行润色和语法修改,只需要把目标语言设置为与源语言一样即可,全面替代 Grammarly!而且理论上任何语言都可以润色,不仅仅是英语。 |
30 | 38 |
|
31 | | -If you don't like the translation and text polishing being put together, here is a separate plugin specifically for text polishing and grammar correction: [bob-plugin-openai-polisher](https://github.com/yetone/bob-plugin-openai-polisher). This polishing plugin has more advanced polishing functions, such as explaining modification reasons. |
| 39 | +如果你不喜欢将翻译功能和文本润色功能放在一起,这里单独拆分出了一个专门用来文本润色和语法纠错的插件: [bob-plugin-openai-polisher](https://github.com/yetone/bob-plugin-openai-polisher),这个润色插件具有更高级的润色功能,比如解释修改原因等。 |
32 | 40 |
|
33 | | -To use the ChatGPT API, you need to change the model of this plugin to `gpt-3.5-turbo-0301` or `gpt-3.5-turbo` on Bob's settings page: |
| 41 | +### 语言模型 |
| 42 | + |
| 43 | +要使用 ChatGPT 的 API 需要在 Bob 的设置页面把此插件的模型改为 `gpt-3.5-turbo-0301` 或者 `gpt-3.5-turbo`: |
34 | 44 |
|
35 | 45 |  |
36 | 46 |
|
37 | | -This is just a small Bob plugin, the real power lies within Bob itself. Let's pay tribute to its developer [ripperhe](https://github.com/ripperhe)! |
| 47 | +## 使用方法 |
| 48 | + |
| 49 | +1. 安装 [Bob](https://bobtranslate.com/guide/#%E5%AE%89%E8%A3%85) (版本 >= 0.50),一款 macOS 平台的翻译和 OCR 软件 |
38 | 50 |
|
39 | | -# Usage |
| 51 | +2. 下载此插件: [openai-translator.bobplugin](https://github.com/yetone/bob-plugin-openai-translator/releases/latest) |
40 | 52 |
|
41 | | -1. Install [Bob](https://bobtranslate.com/guide/#%E5%AE%89%E8%A3%85) (version >= 0.50) |
42 | | -2. Download this plugin: [openai-translator.bobplugin](https://github.com/yetone/bob-plugin-openai-translator/releases) |
43 | | -3. Install this plugin: |
| 53 | +3. 安装此插件: |
| 54 | +  |
44 | 55 |
|
45 | | - |
| 56 | +4. 去 [OpenAI](https://platform.openai.com/account/api-keys) 获取你的 API KEY |
46 | 57 |
|
47 | | -4. Go to [OpenAI](https://platform.openai.com/account/api-keys) to get your API KEY |
48 | | -5. Fill in the API KEY in the configuration interface of Bob plugin |
| 58 | +5. 把 API KEY 填入 Bob 偏好设置 > 服务 > 此插件配置界面的 API KEY 的输入框中 |
| 59 | +  |
49 | 60 |
|
50 | | - |
| 61 | +6. 安装 [PopClip](https://bobtranslate.com/guide/integration/popclip.html) 实现划词后鼠标附近出现悬浮图标 |
| 62 | +  |
51 | 63 |
|
52 | | -6. Install [PopClip](https://bobtranslate.com/guide/integration/popclip.html) to display a small icon near the mouse after selecting text |
| 64 | +## 感谢 |
53 | 65 |
|
54 | | - |
| 66 | +我这只是个小小的 Bob 插件,强大的是 Bob 本身,向它的开发者 [ripperhe](https://github.com/ripperhe) 致敬! |
55 | 67 |
|
56 | | -# Buy me a coffee |
| 68 | +### 请作者喝一杯咖啡 |
57 | 69 |
|
58 | 70 | <div align="center"> |
59 | | -<img height="360" src="https://user-images.githubusercontent.com/1206493/220753437-90e4039c-d95f-4b6a-9a08-b3d6de13211f.png" /> |
60 | | -<img height="360" src="https://user-images.githubusercontent.com/1206493/220756036-d9ac4512-0375-4a32-8c2e-8697021058a2.png" /> |
| 71 | + <img height="360" src="https://user-images.githubusercontent.com/1206493/220753437-90e4039c-d95f-4b6a-9a08-b3d6de13211f.png" /> |
| 72 | + <img height="360" src="https://user-images.githubusercontent.com/1206493/220756036-d9ac4512-0375-4a32-8c2e-8697021058a2.png" /> |
61 | 73 | </div> |
0 commit comments