Method and apparatus for outputting structured query sentence
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsLijie WANG, Bo YU, Ke SUN, Tingting LI
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsLijie WANG, Bo YU, Ke SUN, Tingting LI
Estimating the term…
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.
A method for outputting a structured query sentence, comprising:
An apparatus for outputting a structured query sentence, comprising:
A non-transitory computer readable medium, storing a computer program, wherein the program, when executed by a processor, causes the processor to perform operations, the operations comprising:
Dependencies are inferred from the claim text.