SENTENCE PARAPHRASE METHOD AND APPARATUS, AND METHOD AND APPARATUS FOR TRAINING SENTENCE PARAPHRASE MODEL

    公开(公告)号:US20220215159A1

    公开(公告)日:2022-07-07

    申请号:US17701775

    申请日:2022-03-23

    Abstract: This disclosure relates to a natural language processing technology, and provides a sentence paraphrase method and apparatus. The method includes: paraphrasing an input sentence by using a sentence paraphrase model, to generate a plurality of candidate paraphrased sentences; and determining a similarity between each of the plurality of candidate paraphrased sentences and the input sentence, to obtain an output sentence whose similarity to the input sentence is greater than or equal to a preset threshold, where each of a plurality of paraphrased sentence generators in the sentence paraphrase model includes one neural network, the plurality of paraphrased sentence generators are trained by using source information and similarity information as a first reward, and the paraphrased sentence is obtained by paraphrasing the training sentence by using the plurality of paraphrased sentence generators. In the sentence paraphrase method, diversity of a paraphrased sentence and quality of the paraphrased sentence can be improved.

    Sentence paraphrase method and apparatus, and method and apparatus for training sentence paraphrase model

    公开(公告)号:US12175188B2

    公开(公告)日:2024-12-24

    申请号:US17701775

    申请日:2022-03-23

    Abstract: This disclosure relates to a natural language processing technology, and provides a sentence paraphrase method and apparatus. The method includes: paraphrasing an input sentence by using a sentence paraphrase model, to generate a plurality of candidate paraphrased sentences; and determining a similarity between each of the plurality of candidate paraphrased sentences and the input sentence, to obtain an output sentence whose similarity to the input sentence is greater than or equal to a preset threshold, where each of a plurality of paraphrased sentence generators in the sentence paraphrase model includes one neural network, the plurality of paraphrased sentence generators are trained by using source information and similarity information as a first reward, and the paraphrased sentence is obtained by paraphrasing the training sentence by using the plurality of paraphrased sentence generators. In the sentence paraphrase method, diversity of a paraphrased sentence and quality of the paraphrased sentence can be improved.

Patent Agency Ranking