Invention Grant
- Patent Title: Method for generating style statement, method and apparatus for training model, and computer device
-
Application No.: US16589811Application Date: 2019-10-01
-
Publication No.: US11348570B2Publication Date: 2022-05-31
- Inventor: Xiaojiang Liu
- Applicant: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Applicant Address: CN Shenzhen
- Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee Address: CN Shenzhen
- Agency: Anova Law Group, PLLC
- Priority: CN201710817322.9 20170912
- Main IPC: G10L15/06
- IPC: G10L15/06 ; G10L15/183 ; G10L15/22 ; G10L19/00

Abstract:
The present disclosure discloses a method for generating a styled sentence by a computer device. The method includes: obtaining a to-be-converted natural sentence, inputting the natural sentence into a first encoding model to filter style information in the natural sentence, and generating a target content vector corresponding to the natural sentence. The method also include determining, from at least one style vector according to a set target language style, a target style vector corresponding to the target 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.
Public/Granted literature
- US20200035220A1 METHOD FOR GENERATING STYLE STATEMENT, METHOD AND APPARATUS FOR TRAINING MODEL, AND COMPUTER DEVICE Public/Granted day:2020-01-30
Information query