METHOD AND APPARATUS FOR OUTPUTTING STRUCTURED QUERY SENTENCE

    公开(公告)号:US20210200763A1

    公开(公告)日:2021-07-01

    申请号:US16892874

    申请日:2020-06-04

    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.

Patent Agency Ranking