Natural language processing method, device and equipment and readable storage medium
The embodiment of the invention provides a natural language processing method and device, equipment and a readable storage medium. The method comprises the steps of obtaining to-be-processed corpus data; acquiring a key entity from the corpus data to be processed; obtaining an association node corre...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a natural language processing method and device, equipment and a readable storage medium. The method comprises the steps of obtaining to-be-processed corpus data; acquiring a key entity from the corpus data to be processed; obtaining an association node corresponding to the key entity in a pre-constructed knowledge graph; constructing a fusion matrix based on vectors corresponding to the associated nodes; and inputting the to-be-processed corpus data and the fusion matrix into the trained large language model to obtain a processing result. According to the embodiment of the invention, the association node of the to-be-processed corpus data is determined by utilizing the knowledge graph, knowledge enhancement is performed on the large language model, the problem that factual errors exist in the output result of the large language model is solved or reduced, and the accuracy of the output result of the large language model is improved.
本申请实施例提供了一种自然语言处理方法、装置、设备及可读存储介质,该方 |
---|