METHOD AND APPARATUS FOR GENERATING A TEXT, AND STORAGE MEDIUM

    公开(公告)号:US20220138435A1

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

    申请号:US17572930

    申请日:2022-01-11

    Abstract: The disclosure provides a method for generating a text. The method includes: obtaining a coding sequence of a first text by coding the first text; obtaining a controllable attribute of a second text to be generated; predicting a hidden state of the second text based on the coding sequence of the first text and the controllable attribute of the second text; and obtaining a second text corresponding to the first text by decoding the coding sequence of the first text based on the hidden state of the second text.

Patent Agency Ranking