开发者

What programming language, algorithm should I use for dictionary translation?

I need to translate (or rather, map) the words in an English document to Bengali using an English-to-Bengali dictionary. I have a huge collection of these documents. What algorithm should I use, and what language? The documents and dictionary are UTF-8 encoded text files. The translation is naive and straightforward, as words will be bli开发者_如何学JAVAndly replaced with whatever the dictionary says, be it a single-word meaning or a phrase or a sentence.


You can use any mainstream language you want. Just check what sort of support it has for unicode and whether it has a built in associative data structure (e.g. stl::map in C++, HashMap/TreeMap in Java, dict in Python etc.). Pretty much any modern language has them, or has a freely available library for them.


Pretty much any mainstream language. If time is short I'd stick with python. If you have time and want to make excellent money with your coding skills (should you chose to develop them) I'd go with c#

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜