Patent ID: 11869485
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 12:
13. A non-transitory computer-readable storage medium storing computer program instructions executable by at least one processor to perform:
obtaining a to-be-converted natural sentence;
classifying, by inputting the natural sentence into a first encoding model, the natural sentence into a target content vector and a style vector of the natural sentence, the target content vector indicating a meaning of the natural sentence, and the style vector of the natural sentence indicating a language style of the natural sentence;
determining, from at least one style vector according to a set target language style, a target style vector corresponding to the target language style, each of the at least one style vector corresponding to a language style; and
inputting the target content vector and the target style vector into a first decoding model, and generating a styled sentence corresponding to the natural sentence, wherein the styled sentence has the same meaning as the natural sentence.