问题描述
这是一个NLP问题,我想知道应该如何进行.
问题有多难?我可以用同义词替换单词并检查语法是否正确吗?
用同义词替换单词可能是首先要尝试的事情,但请注意不要错过多个单词的表达方式和习语.另外,请确保选择与词性相同的同义词.
仅当您使用某种程度的语法分析时,才可能进行更复杂的表述.您至少应该识别句子中的成分.
以下是一些改述短语的示例,其中考虑了句子的语法结构:
看看 Contextors API 及其语音共轭器
This is an NLP problem and I was wondering how I should proceed.
How difficult is the problem?Could I replace the word with synonyms and check that the grammar is correct?
Replacing words with synonyms is probably the first thing to try, but be careful not to miss multiple words expressions and idioms. Also, make sure you choose a synonym with the same part of speech.
More complicated rephrasing is only possible if you use some level of grammatical analysis. You should at least recognize constituents within a sentence.
Here are some examples for rephrasing which take into consideration the grammatical structure of the sentence:
Have a look at Contextors API and its Voice Conjugator
这篇关于我希望创建一个系统,在该系统中我给出一个句子,并且该系统吐出与我输入的句子具有相似含义的句子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!