-
公开(公告)号:US20210200763A1
公开(公告)日:2021-07-01
申请号:US16892874
申请日:2020-06-04
Inventor: Lijie WANG , Bo YU , Ke SUN , Tingting LI
IPC: G06F16/2452 , G06F16/242 , G06F16/28 , G06K9/62
Abstract: Embodiments of the present disclosure provide a method and apparatus for outputting a structured query sentence. The method may include: acquiring a to-be-converted natural language sentence; inputting the to-be-converted natural language sentence into a pre-trained sequence to sequence model to obtain an action sequence corresponding to the to-be-converted natural language sentence; generating a directed acyclic graph according to the action sequence; and outputting a structured query sentence corresponding to the generated directed acyclic graph according to a preset corresponding relationship between a directed acyclic graph and a structured query sentence.