Patent ID: 11966389
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method of machine translation for processing input questions,
the method comprising:
receiving, in a processor on a computer, an input question presented in a natural language;
preprocessing, using the processor, the input question to find one or more condition values for Structured Query Language (SQL) queries;
enumerating one or more SQL queries based on the one or more found condition values;
using a paraphrasing model to rank the enumerated one or more SQL queries, the paraphrasing model pretrained to determine a comparison of sequences of utterances in two sentences, a first sentence comprising the input question and the second sentence comprising an SQL query of the enumerated one or more SQL queries;
selecting a highest ranked SQL query; and
executing this highest-ranked SQL query against a database to search the database for a response to the input question.