I want to d开发者_如何转开发evelop an application that translate a given sentence in English
to Spanish
, and vice-versa the limitation is that I don't have to use online facility like Google Translator.
I visited some links that says its not possible, some of them are
- How to implement language translator facility in an iphone application?
- Your favorite natural language parser? how do I use it, is there any API that uses it?
Thanks
You could use Apertium for this.
I see that there is an Apertium offline translator app for android.
The code is open source on sourceforge and can probably be adapted to an iPhone.
There isn't a free API where you can download and use it offline. You'd have to use something like the Google Translate API which needs an Internet Connection. Alternatively you could build your own parser and translation tool.
精彩评论