-
1.
公开(公告)号:US20240061832A1
公开(公告)日:2024-02-22
申请号:US18209844
申请日:2023-06-14
Applicant: Oracle International Corporation
Inventor: Cong Duy Vu Hoang , Stephen Andrew McRitchie , Mark Edward Johnson , Shivashankar Subramanian , Aashna Devang Kanuga , Nitika Mathur , Gioacchino Tangari , Steve Wai-Chun Siu , Poorya Zaremoodi , Vasisht Raghavendra , Thanh Long Duong , Srinivasa Phani Kumar Gadde , Vishal Vishnoi , Christopher Mark Broadbent , Philip Arthur , Syed Najam Abbas Zaidi
IPC: G06F16/2452 , G06F16/2455 , G06F16/242
CPC classification number: G06F16/24522 , G06F16/24561 , G06F16/2433
Abstract: Techniques are disclosed herein for converting a natural language utterance to an intermediate database query representation. An input string is generated by concatenating a natural language utterance with a database schema representation for a database. Based on the input string, a first encoder generates one or more embeddings of the natural language utterance and the database schema representation. A second encoder encodes relations between elements in the database schema representation and words in the natural language utterance based on the one or more embeddings. A grammar-based decoder generates an intermediate database query representation based on the encoded relations and the one or more embeddings. Based on the intermediate database query representation and an interface specification, a database query is generated in a database query language.
-
公开(公告)号:US20240062011A1
公开(公告)日:2024-02-22
申请号:US18351680
申请日:2023-07-13
Applicant: Oracle International Corporation
Inventor: Aashna Devang Kanuga , Cong Duy Vu Hoang , Mark Edward Johnson , Vasisht Raghavendra , Yuanxu Wu , Steve Wai-Chun Siu , Nitika Mathur , Gioacchino Tangari , Shubham Pawankumar Shah , Vanshika Sridharan , Zikai Li , Diego Andres Cornejo Barra , Stephen Andrew McRitchie , Christopher Mark Broadbent , Vishal Vishnoi , Srinivasa Phani Kumar Gadde , Poorya Zaremoodi , Thanh Long Duong , Bhagya Gayathri Hettige , Tuyen Quang Pham , Arash Shamaei , Thanh Tien Vu , Yakupitiyage Don Thanuja Samodhve Dharmasiri
IPC: G06F40/295 , G06F40/284 , G06F40/211 , G06F40/35
CPC classification number: G06F40/295 , G06F40/284 , G06F40/211 , G06F40/35
Abstract: Techniques are disclosed herein for using named entity recognition to resolve entity expression while transforming natural language to a meaning representation language. In one aspect, a method includes accessing natural language text, predicting, by a first machine learning model, a class label for a token in the natural language text, predicting, by a second machine-learning model, operators for a meaning representation language and a value or value span for each attribute of the operators, in response to determining that the value or value span for a particular attribute matches the class label, converting a portion of the natural language text for the value or value span into a resolved format, and outputting syntax for the meaning representation language. The syntax comprises the operators with the portion of the natural language text for the value or value span in the resolved format.
-