The invention provides a risk text extraction method and device,
electronic equipment, a computer readable storage medium and a
computer program product. The method comprises the steps of performing
feature extraction on a to-be-processed text containing a plurality of text segments through a
feature extraction layer of a
risk classification model to obtain a feature value corresponding to each text segment, wherein the
risk classification model is used for performing classification of at least two risk categories on a to-be-processed text; through a prediction layer of the
risk classification model, based on the feature values corresponding to the text segments, determining association degrees between the corresponding text segments and the risk categories; and respectively selecting the text fragments of which the association degree with each
risk category meets an association degree condition from the plurality of text fragments, and taking the selected text fragments as risk texts extracted from the to-be-processed text. Through the method and the device, the instantaneity of risk text extraction can be improved.