Help!!!

liczha 2013-02-06 09:32:56
I'm working on post-edit translation tool, which it is built in java. And I'm going to implement spell/grammar checker and auto-suggestion( based on dictionaries) functions. Those functions are pretty much like google translator. Could someone give me some ideas?

thanks
...全文
191 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
liczha 2013-02-07
  • 打赏
  • 举报
回复
Thanks a lot! These are very helpful.
dracularking 2013-02-07
  • 打赏
  • 举报
回复
i see, cool, nice project, the first function of alignment from technological view is totally a non-related function to the latter two. i guess concentrating on one of them at a time is a good choice. 1. first thing to do is to implement the spell checker (here only talk about the way of own implementation) algorithm of string pattern match is the key point i think, given a wrong word, let the program to decide what it's supposed to be, assume the correct one might have the nearest form with the wrong one. this method should have a lot details to implement, if not to correct it, just reporting the wrong word, it would be easy. how the interpret the nearest form? select the word from the database which has the same length and most alphabets with the wrong word. 2. secondly grammar checker much more complex, i think such engine should grab keyword of grammar, like verbs and their corresponding subjects or objects, nouns(should they are plural or not) etc. just a rough idea. hope this could help
liczha 2013-02-06
  • 打赏
  • 举报
回复
Thanks for your reply. Actually, I'm working for an existent open-source tool PET. I will add three functions. Firstly, it is alignment between source and target segments (word/phrase-level). I'm going to find a nice/easy-to-use component, then i experiment with highlighting the alignment without even integrating it back into PET. But this is not necessary, and I've found some component, which are not good for me. Next two functions are spell/grammar checker and auto-suggestion I mainly work. But I don't know how to get start.
dracularking 2013-02-06
  • 打赏
  • 举报
回复
these functions i see are primarily focused on the word level, right? if so, i think the most part you need is a word library which would be used as a template to match the words you are appllying. maybe there's an existent open-source tool for you, otherwise i think you might probably need to implement it upon algorithms like string pattern matching etc to decide what actually the wrong word's supposed to be.

51,409

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧