SuHun Han
e10c5e8fa7
chore: v3.0.0 ( #181 )
...
Co-authored-by: Kirill Bobrov <miaplanedo@gmail.com>
Co-authored-by: Zhuopsticks <36221214+terryyz@users.noreply.github.com>
2020-06-14 15:42:32 +09:00
Bastien Vallet
778b00758e
chore: Remove python 2.7 support and various cleanup ( #179 )
...
Co-authored-by: Bastien Vallet <b.vallet@criteo.com>
2020-06-08 19:09:24 +09:00
Artur Aleksanyan
afb17c76bf
Add ability to pass translation api params dinamically ( #136 )
...
* fix googletrans emoji bug
use py-gogoletrans translate text, if contains emoji, will raise JSONDecodeError.
* add ability to pass translation api params dinamically
* fix batch translate
Co-authored-by: clinjie <mlinjie@foxmail.com>
2020-02-08 17:17:31 +09:00
elzeard91
94bd300e75
Update gtoken.py ( #95 )
2018-12-20 00:26:04 +09:00
Sarah Fletcher
759a0baf46
fix: token generation for text > 0x10000 ( #75 )
...
* Fix token generation for text > 0x10000
Also minor optimizations.
* Missed a var rename
2018-12-20 00:15:37 +09:00
ssut
15549dcdf8
Refactor googletrans to work properly ( #40 )
...
* Fix for invalid token array of the text
* Remove unused compacted-json decoder
because Google apparently now does not send like that before. This
commit refers the issue #37 .
* Remove a test case for multiline text
This is a temporary fix: will be reverted after mocking tests.
* Add pipenv supports
* Update README
2017-10-02 23:26:34 +09:00
garden.yuen
ae4953dff9
gtoken: use custom server to generate token ( #19 )
...
* use custome server to generate token
* fix test fail issue
2017-04-23 20:52:23 +09:00
SuHun Han
286593607e
Fix invalid tokenizer due to the complexity of the obfuscated code
...
This commit solves #14 and bumps the version to 2.1.2
2017-04-07 22:43:48 +09:00
SuHun Han
d991f5e3e3
Fix invalid tokenizer issued by #13 , bump version to 2.1.1
2017-04-03 23:05:19 +09:00
SuHun Han
d1c64a11d6
Update documentation with a new sphinx theme 'solar'
2017-03-15 22:10:37 +09:00
SuHun Han
dda50305b7
PEP8
2017-03-10 23:43:06 +09:00
SuHun Han
5f908fab16
Better compatiblity with all python versions
2017-03-10 23:43:06 +09:00
SuHun Han
59d96f75a0
Add google translate token generator
2017-03-10 23:43:06 +09:00