Skip to content
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

请问一下这个实现句子和词组的翻译难道有多大. #66

Open
Lchyang opened this issue Sep 11, 2018 · 2 comments
Open

请问一下这个实现句子和词组的翻译难道有多大. #66

Lchyang opened this issue Sep 11, 2018 · 2 comments

Comments

@Lchyang
Copy link

Lchyang commented Sep 11, 2018

我对这个项目很感兴趣,现在的iphone或者是mac都默认对单个单词执行翻译,安卓有了你开发的应用也实现了这个功能. 但是谷歌浏览器的插件划词翻译可以实现句子的翻译,我想问一下你开发的这个实现句子翻译的难度有多大.而且我是一个刚入行的pythoner,要想对你的项目有所贡献应该如何做呢.如果实现一个跨平台的划词翻译.iphone andriod mac Windows 都可以. 不用浏览器插件,在pdf阅读中也可以用的软件是不是一个很大的挑战呢(可以翻译句子的)?

@maoruibin
Copy link
Owner

其实主要是 API 的问题。咕咚翻译使用的都是大厂提供翻译 API,有道、金山都不支持句子翻译,百度支持,但是有数量限制,所以跨平台倒是容易,但是提供翻译句子的 API 比较难。 你看可以通过爬虫的方式去实现句子翻译吗。

@Lchyang
Copy link
Author

Lchyang commented Sep 13, 2018

谷歌的插件划词翻译 https://github.com/Selection-Translator 是通过使用有道.百度.谷歌的api实现的,但是它对句子的翻译支持的很好,我看了一下源码暂时还不知道他是如何实现的.如果你有兴趣可以看看能否找到灵感.我也在尽快学习希望能够帮助到你.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants