如何创建离线语言翻译..? [英] How to create a offline language translator..?

查看:97
本文介绍了如何创建离线语言翻译..?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在c#中创建一个翻译,我没有互联网连接,我得到的参考是在线

i want to create a translator in c#, i have no internet connection, al the references i got are online

推荐答案

好的,继续浪费时间。你将要做很多工作。



你需要学习你想要在翻译中包含的所有语言几乎完美,而不是作为一种通用语言用户,但作为一名语言学家,学习一般语言学的许多分支和现有的自动翻译文献。你需要走到最前沿:尽管最好的翻译人员取得了明显的进步,但是对于许多更加困难和复杂的语言而言,翻译质量仍然是荒谬的。希望你的生命足够开始取得一些进展。当然,如果你非常有才华。



什么,不想花那么多时间,想要快速解决方案?即使存在这样的解决方案,也不能称之为创建翻译器,它可能只是使用已经创建的东西。



-SA
Okay, go ahead wasting no time. You are going to do a lot of work.

You need to learn all the languages you want to include in your translation nearly to perfection, and not as a common language user, but as a linguist, learn many branches of linguistics in general and existing literature on automatic translation. You will need to come to the very cutting edge: despite of the apparent progress in the best translators, the quality of translation for many more difficult and complex languages remains ridiculous. Hope your life span would be enough to start making some progress. If you are very talented, of course.

What, don't want to spend so much time, want a quick solution? Even if such solution existed, you could not call it "create a translator", it could be only using of something which is already created.

—SA


你可以做蛮力方法,只是使用某种字典进行逐字翻译,不确定是否有免费在线(意思是可下载,不是网络服务)语言到语言的词典,谷歌搜索将有助于此。



正确的做法是使用句子进行上下文翻译(这是谷歌翻译所做的)。谷歌开发团队中的许多人花了很多个月才想出他们所做的事情,并且可能超出了你的专业范围(没有冒犯)。这将需要某种上下文分析器,分析名词,代词,动词,时态,性别等来提出正确的翻译。我很确定没有提到开发一个,因为它值得花一点钱(想想谷歌翻译,实时电话翻译等)。对于开发它们的人来说,这些可能是专有的。
Well you could do the brute force method and just do a word-for-word translation using some sort of dictionary, not sure if there are free online (meaning downloadable, not web service) language-to-language dictionaries, a Google search will help with that.

The right way to do it though is to do a contextual translation using sentences (which is what Google Translate does). Many many people on Google's dev team took many many months to come up with what they did, and is probably beyond your scope of expertise (no offense). This would require some sort of context analyzer, analyzing nouns, pronouns, verbs, tense, gender, etc to come up with the right translation. I'm pretty sure there isn't a reference to developing one, since it would be worth quite a bit of money (think Google Translate, real-time phone translation, etc). These are probably proprietary for whoever develops them.


这篇关于如何创建离线语言翻译..?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆