41 Commits

Author SHA1 Message Date
yihong0618
fcbfd37030 fix: drop chatgpt account 2023-04-03 19:59:40 +08:00
guaguaguaxia
91ef9fa788
feat: add ChatGPT Account translate method and input options to __init… (#43)
add ChatGPT Account translate method 

---------

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-30 19:28:00 +08:00
Bryan Lee
2e0720739b
feat: add Azure OpenAI service support (#213)
* feat: add Azure OpenAI service support

* fix: code format

* fix: enforce `api_base` when providing `deployment_id`

---------

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-30 19:17:27 +08:00
h
dfa1b9ada8 support --retranslate
use string for start,end

clean

autofind filename

fix bug, don't use index

clean
2023-03-22 22:58:21 +08:00
hleft
1d680a1ccf
support --translation_style (#185)
* support translation_style

* clean code
2023-03-19 21:20:30 +08:00
hleft
e38a236be6
Cumulative translation (#148) 2023-03-16 21:25:47 +08:00
Panmax
a661131efb
Delete duplicate description (#172) 2023-03-16 20:54:56 +08:00
yihong
0dd61e5b3e
feat: support deepl (#162) 2023-03-13 23:13:04 +08:00
Voyageyang
839c2ce6ad
(#93) feat: add caiyun translator (#160)
* feat: add caiyun translator

* format code and update README-CN.md

* fix: add caiyun_key args

* fix: add raise

---------

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-13 20:49:23 +08:00
zstone12
5d2c89a841
feat: batch translate txt file (#153)
* feat: batch translate txt file

* feat: batch size customed

* reslove conflicts
2023-03-12 23:03:28 +08:00
yihong
f09c2717f1
feat: pypi (#154)
* feat: pypi
2023-03-12 23:00:54 +08:00
David Ye
66716632ba
Improving the READMEs (#152)
* remove the duplicate item [13,17] => [17] in README

* correct the item numbers in README

* fix typo

* add 示范用例 section title to match the English README

---------

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-12 14:51:48 +08:00
Conan
ae3e3ba558
Unify prompt config for user and system (#151)
* fix list number in readmes

* fix list number in readmes

* unify prompt config for role user and system

* update json sample file

* update documents and add test

* update readmes
2023-03-12 14:48:24 +08:00
Conan
b1d62e8b30
added prompt template (#145)
* add prompt template

* format output for ChatGPTAPITranslator

* black format files

* fix: google txt loader failed

---------

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-11 21:51:29 +08:00
Hsieh Chin Fan
2384fb3fe2
Add options for books on kobo e-reader (#138)
Add obok.py as file selector for kobo device

---------

Co-authored-by: Hsieh Chin Fan <pham@topo.tw>
2023-03-11 21:06:49 +08:00
zstone12
aaa1ab4d7b
feat: add txt book loader (#143)
* feat: add txt book loader

* chore: add test book

* style: black

* feat: add _save_temp_book

* doc: add txt support desc
2023-03-11 14:37:25 +08:00
yihong
d95f0b3942
fix: #114 (#139) 2023-03-10 21:05:34 +08:00
InzamZ
cbe165df19
fix(#92): add a arguments to allow NavigableStrings translate (#126)
* fix(#92): add a arguments to allow NavigableStrings


---------

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-10 15:24:20 +08:00
lizhimiao
e6e4916ac4
feat: added google translate support (#131)
* added google translate support.

* format code using black.
2023-03-10 15:06:05 +08:00
Hsieh Chin Fan
26fdfb0f0d
Improve README (#119)
* Improve README

- Improve English wording
- Surround command, files , terms with "`"
- In codeblock, make comment starts from capitalized char
- command/parameter -> option
- Add description about --translate-tags from PR#107

* Remove Traditional Chinese

* Fix terms for Simplified Chinese

---------

Co-authored-by: Hsieh Chin Fan <pham@topo.tw>
2023-03-09 17:59:23 +08:00
Vancl
8a4806c693
Update Docker command in README.md (#99) 2023-03-07 23:59:28 +08:00
yihong0618
0bed9959f3 doc: readme example 2023-03-07 18:56:26 +08:00
Zhima-Mochi
f8edb63486
use docker (#53)
* use docker

* Update Dockerfile

* Update README.md

add example
2023-03-07 15:37:29 +08:00
yihong0618
fadc957c87 doc: more info 2023-03-07 13:09:34 +08:00
Friends A
7412abb589
docs: add disclaimer (#82) 2023-03-07 09:35:17 +08:00
兰天游
1a556333f9
feat: Change documentation on clearifying model usage (#58)
* feat: Change documentation on clearifying model usage

* feat: Change the readme in English version
2023-03-06 10:24:17 +08:00
Tongzhao9417
602ac2ca3e
更新了api_url的使用方法,增加了更为小白的示例 (#45) 2023-03-05 16:45:02 +08:00
yihong
7249540e98
feat: change api base for #42 (#44)
* feat: change api base for #42

* fix: typo
2023-03-05 15:47:37 +08:00
Ikko Eltociear Ashimine
30669abd5a
doc: fix typo in README.md (#36) 2023-03-05 07:09:19 +08:00
yihong
106616187b
doc: English README (#34) 2023-03-04 21:40:05 +08:00
guaguaguaxia
6e22cfb7df
feat:multi apikey to break through the limitation,and fix some common… (#14)
* feat:multi apikey to break through the limitation,and fix some common english mistakes
---------

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-04 18:30:59 +08:00
Brikarl
bc611a58f0
[feature] Modify README (#22)
* [feature] Support interrupt resume function

* [feature] SStreamline some code

* fix: lint

* [bugfix] fix review comments

* [feature] Modify README

---------

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-04 14:42:56 +08:00
Weirenlan
843f21a227
Feat/add target lang choices (#12)
* Feat: add multipile languages choices and a new argument language to set targett language

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-04 00:06:19 +08:00
yihong0618
ed6688f8a1 fix: change file name 2023-03-03 21:00:43 +08:00
Brikarl
4769fd87c8 [bugfix] fix readme 2023-03-03 13:41:06 +08:00
yihong0618
0442b12094 fix: use test instead of string 2023-03-02 19:26:02 +08:00
yihong
cd8ac84fa8
Update README.md 2023-03-02 18:48:14 +08:00
yihong
2ac93fd3c7
Update README.md 2023-03-02 10:43:53 +08:00
yihong0618
e8eae53ec6 doc: format 2023-03-02 10:16:16 +08:00
yihong0618
7f09606aa4 feat: init 2023-03-02 10:15:08 +08:00
yihong
5e2cbd5ffa
Initial commit 2023-03-02 09:14:26 +08:00