更改单词以保持其含义完整 [英] Changing the words keeping its meaning intact

查看:65
本文介绍了更改单词以保持其含义完整的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个要求,我们需要更改句子中的单词或短语,同时保持其含义不变.该应用程序将为参与文案写作的用户提供建议.

We have a requirement in which we need to change change the words or phrases in the sentence while keeping its meaning intact. This application is going to provide suggestions to users who are involved in copy-writing.

我不知道我应该从哪里开始...我们尚未完成这项技术的最终确定,但想在Python或.Net中完成.

I don't know where should I start... we have not yet finalized the technology but would like to do it in a Python or in .Net.

推荐答案

在python中使用nltk.访问词性标记和词网,这对于进行合理的替换是必不可少的.

Use nltk in python. Access to part-of-speech tagging and wordnet, both of which will be necessary to make reasonable substitutions.

http://www.nltk.org/

这篇关于更改单词以保持其含义完整的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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