Natural Language Processing Engine For Translating Questions Into Executable Database Queries
Assigneesalesforce.com, inc.
InventorsJichuan Zeng, Xi Lin, Chu Hong Hoi
Life of this patent
Estimating the term…
Loading patent…
Assigneesalesforce.com, inc.
InventorsJichuan Zeng, Xi Lin, Chu Hong Hoi
Estimating the term…
A system and method for translating questions into database queries are provided. A text to database query system receives a natural language question and a structure in a database. Question tokens are generated from the question and query tokens are generated from the structure in the database. The question tokens and query tokens are concatenated into a sentence and a sentence token is added to the sentence. A BERT network generates question hidden states for the question tokens, query hidden states for the query tokens, and a classifier hidden state for the sentence token. A translatability predictor network determines if the question is translatable or untranslatable. A decoder converts a translatable question into an executable query. A confusion span predictor network identifies a confusion span in the untranslatable question that causes the question to be untranslatable. An auto-correction module to auto-correct the tokens in the confusion span.
A method comprising:
A text to database query translating system, the system comprising:
A non-transitory machine-readable medium having stored thereon machine-readable instructions executable to cause a machine to perform operations that process a natural language, the operations comprising:
Dependencies are inferred from the claim text.