Embodiments of the present disclosure provide a text
similarity matching method and device, equipment, medium and program product, relating to the technical field of computer. The method comprises: obtaining a first text and a second text; on the one hand, a
syntax analyzer is used to mark the
syntax attribute of each word segmentation, and then the
semantic similarity between the two texts is calculated; on the other hand, a
conditional random field is used to mark the key
label of each word segmentation, and then the key similarity between the two texts is calculated; according to the comparison of the key similarity and the fusion threshold, the first fusion weight and the second fusion weight are determined; based on the first fusion weight, the second fusion weight, the
semantic similarity and the key similarity, the similarity between the first text and the second text is calculated. The method separates the calculation of
semantic similarity and key similarity, solves the misjudgment problem caused by confusing
sentence structure and entity
semantics, and improves the robustness and accuracy of text
similarity matching in complex business scenarios.