FIELD: computer technology.
SUBSTANCE: invention relates to a method and system for generating text for a digital assistant in interactive systems. The technical result from the implementation of the claimed solution is to increase the semantic accuracy of generating stylized text from the source text. The specified technical result is achieved due to the implementation of a method for automatically generating text for a digital assistant in interactive systems, containing the following steps: receiving input data containing the source text in natural language and the target style of the digital assistant's replicas; carrying out encoding of the source text; performing token vectorization; processing vector representations of source text tokens using a machine learning model based on a neural network trained on stylized, in accordance with a given target style, text replicas of a digital assistant, during which an array of vectorised stylized texts is formed; performing decoding of each vectorised stylized text from the array, and in the course of decoding, at least converting the vectorised stylized text into tokens and detokenization are performed; performing filtering of the array of stylized texts; ranking the filtered stylized texts and selecting the best stylized text, the selection of the best text being based on the pairwise distance between the original text and each of the possible stylized texts; sending stylized text to the dialog system.
EFFECT: increase the semantic accuracy of generating stylized text from the source text.
8 cl, 3 dwg
Title | Year | Author | Number |
---|---|---|---|
METHOD AND SYSTEM FOR GENERATING TEXT | 2023 |
|
RU2817524C1 |
METHOD AND SYSTEM FOR PARAPHRASING TEXT | 2023 |
|
RU2814808C1 |
TEXT CLASSIFICATION METHOD AND SYSTEM | 2022 |
|
RU2818693C2 |
SYSTEM AND METHOD FOR AUTOMATED ASSESSMENT OF INTENTIONS AND EMOTIONS OF USERS OF DIALOGUE SYSTEM | 2020 |
|
RU2762702C2 |
METHOD AND SYSTEM FOR RETRIEVING NAMED ENTITIES | 2020 |
|
RU2760637C1 |
METHOD AND SYSTEM FOR CONTROLLING DIALOGUE AGENT IN USER INTERACTION CHANNEL | 2019 |
|
RU2818036C1 |
METHOD AND SYSTEM FOR EXTRACTING NAMED ENTITIES | 2021 |
|
RU2823914C2 |
METHOD AND SYSTEM FOR DEPERSONALIZATION OF CONFIDENTIAL DATA | 2022 |
|
RU2804747C1 |
METHOD AND SYSTEM FOR DEPERSONALIZATION OF CONFIDENTIAL DATA | 2022 |
|
RU2802549C1 |
METHOD FOR CONTROLLING A DIALOGUE AND NATURAL LANGUAGE RECOGNITION SYSTEM IN A PLATFORM OF VIRTUAL ASSISTANTS | 2020 |
|
RU2759090C1 |
Authors
Dates
2023-05-17—Published
2022-04-29—Filed