Language escape method, apparatus, and device and storage medium
Патент · US A1
Полный текст
Embodiments of the present disclosure provide a language escape method, an apparatus, and a device and a storage medium. The method includes: splitting a target statement acquired to obtain at least one target substatement; determining a keyword type and a keyword clause contained in the target substatement; correcting the keyword clause in the target substatement according to a semantic constraint rule corresponding to the keyword type contained in the target substatement; and combining the corrected target substatement, and generating an executable machine language. The above method can effectively improve the accuracy of natural language escape and the work efficiency of a user using database query, and at the same time, reduce the technical ability requirements for the staff using database query.