The application discloses a kind of
knowledge graph construction methods based on fine-grained retrieval and reverse restoration self-error correction, specifically: first, standard reference case
library is constructed, and standard
reference vector is calculated.Then, the long text S to be measured is disassembled into sentences to be processed;Each
sentence is vectorized, and the similarity
score of its standard
reference vector is calculated, and the first standard reference case of each
sentence is screened;Through large
language model, the non-standard
logical relationship contained in each
sentence is extracted and vectorized, the
cosine similarity is calculated, and the candidate mapping is obtained by descending arrangement, after summarizing, double-feature reordering is carried out using multi-round greedy reordering
algorithm, and the first standard reference case is screened out, and the
single sentence is spliced into large
language model, and triple extraction is carried out;Finally, the relationship triple set of all sentences constitutes
knowledge graph.The application improves the
precision and recall rate of triple extraction under the premise of avoiding redundancy.