The present application relates to an identification method for sensitive information in a text, an electronic device, and a readable storage medium. The method comprises: when a text to be identified is received, utilizing a preset paragraph analysis rule to divide said text into independent paragraphs; segmenting the independent paragraphs into sentences and performing word segmentation with respect to the sentences produced; matching words with sensitive words in a pre-established sensitive word thesaurus so as to obtain words matching the sensitive words in the pre-established sensitive word thesaurus; and utilizing a preset rule to determine, on the basis of preset paragraph weights corresponding to the paragraphs in which the matching words are found and of preset sensitive word match weights corresponding to the matching words, whether said text comprises sensitive information. The present application allows accurate and effective determination of whether said text comprises sensitive information. Moreover, the need for manual detection is obviated, sensitive information in a text is automatically identified, and the detection efficiency is effectively increased.
展开▼