The present disclosure discloses a method, apparatus, device, and storage medium for matching semantics, relates to the technical fields of knowledge graph, natural language processing, and deep learning. A specific implementation includes: acquiring a first text and a second text; acquiring language knowledge related to the first text and the second text; determining a target embedding vector based on the first text, the second text, and the language knowledge; and determining a semantic matching result of the first text and the second text, based on the target embedding vector. This implementation may use external language knowledge to increase the amount of information in the text semantic matching process, so that the semantics of the text can be accurately described, and the accuracy of semantic matching can be improved.
METHOD, APPARATUS, DEVICE AND STORAGE MEDIUM FOR MATCHING SEMANTICS