-
-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
添加腾讯机器翻译接口 #127
Merged
Merged
添加腾讯机器翻译接口 #127
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
感谢~ |
顺便可以把环境变量改成全大写,入口tmt改成tencent,保持统一性 |
格式化代码的话,有工具或者格式吗? |
用的black,不过刚给format check下了,所以也可以提交之后我们来格式化 |
这里没太明白 ,具体指的是什么位置? |
Tencent_SECRET_ID |
OK 修改了。 |
怪呀,black格式化代码的时候,为啥pdf2zh/converter.py过不去呢? |
感谢支持,格式化我来解决就可以了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
添加腾讯机器翻译接口,读取环境变量中的Tencent_SECRET_ID和Tencent_SECRET_KEY。
添加对应中英文文档说明,修改converter.py添加对应方法入口。
修复了deeplx地址拼接错误以及对于free endpoint的地址判断。
暂未解决的问题:
机器翻译接口对于请求的频率有限制,没对高频请求的情况进行解决。