I wish to create a system where I give a sentence and the system spits out sentences similar in meaning to the input sentence I gave

后端 未结 3 1105
不思量自难忘°
不思量自难忘° 2020-12-31 17:24

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

3条回答
  •  长情又很酷
    2020-12-31 17:44

    You should start by programming easy structures by yourself, doing something called sentence transformation, then make your system available for free and with the option of adding more combinations or alternative structures which convey a similar meaning to the original sentence but using different parts of speech as well as grammatical structures.

    for instance, you could write an original sentence into your system such as,

    The angry mob did not let the cars pass until the police came.

    Then another user of your system will help to rewrite the sentence with a different structure but a similar meaning, rephrasing or using the appropriate parts of speech as your system specifies, the more users sign up to your system or download and use the app, the more options will come out after someone types a sentence and expects another one with a similar meaning to the input sentence you, or anyone had given.

    The cars were not allowed to pass by the angry mob until the police came.

    it is easier if people work together collaborating in your project than if you try to create it by your self or write all of the sorts of sentences that can be rephrased.

    Other examples;

    User 1 - I had never tasted Mexican food before.

    User 89 - It is the first time I had tasted Mexican Food.

    User 76 - Rachell was determined to pay for our drinks.

    User 532 - Rachell insisted on paying for our drinks.

    User 976 - I prefer to arrive 15 min before.

    User 3465 - I would rather arrive 15 min before.

    Good luck with your system, let me know how it goes!

提交回复
热议问题