US 11,726,997 B2
Multiple stage filtering for natural language query processing pipelines
Jun Wang, Jersey City, NJ (US); Zhiguo Wang, Syosset, NY (US); Sharanabasappa Parashuram Revadigar, Bronxville, NY (US); Ramesh M Nallapati, New Canaan, CT (US); Bing Xiang, Mount Kisco, NY (US); Stephen Michael Ash, Seattle, WA (US); Timothy Jones, Brier, WA (US); Sudipta Sengupta, Sammamish, WA (US); Rishav Chakravarti, White Plains, NY (US); Patrick Ng, Rego Park, NY (US); Jiarong Jiang, Scarsdale, NY (US); Hanbo Li, Seattle, WA (US); and Donald Harold Rivers Weidner, New York, NY (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Nov. 14, 2022, as Appl. No. 18/55,384.
Application 18/055,384 is a continuation of application No. 17/219,706, filed on Mar. 31, 2021, granted, now 11,500,865.
Prior Publication US 2023/0078177 A1, Mar. 16, 2023
Int. Cl. G06F 7/00 (2006.01); G06F 16/2452 (2019.01); G06F 40/295 (2020.01); G06N 20/00 (2019.01); G06F 16/242 (2019.01)
CPC G06F 16/24522 (2019.01) [G06F 16/243 (2019.01); G06F 40/295 (2020.01); G06N 20/00 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising:
one or more processors; and
a memory, that stores program instructions that, when executed by the at least one processor, cause the one or more processors to implement a natural language query processing system, configured to:
receive a natural language query via an interface for the natural language query processing system that provides access to a plurality of fixed schema data sets;
process the natural language query through a query language processing pipeline that:
recognizes one or more entities in the natural language query;
determines linkages for the one or more entities in the natural language query;
detects an ambiguity for the natural language query as part of determining the linkages; and
generates an intermediate representation for the natural language query according to the determined linkages for the one or more entities; and
return, via the interface, both:
a result for the natural language query determined using the intermediate representation of the natural language query; and
an ambiguity prompt for the detected ambiguity.