The application discloses an electronic text desensitization method and device, a computing device and a storage medium. The method comprises the following steps: analyzing an electronic text to obtain a
sentence set containing multiple sentences, and word segmentation and word vectors corresponding to the word segmentation of any
sentence in the
sentence set; wherein the sentence set comprises a target sentence and a replacement candidate sentence; for any sentence in the sentence set, identifying an entity contained in the sentence, determining the word segmentation corresponding to the entity as entity word segmentation, and determining the word vector corresponding to the entity word segmentation as an entity word vector; determining an entity-related word vector corresponding to the entity word vector of any sentence; obtaining a privacy word segmentation corresponding to the target sentence and an entity-related word segmentation corresponding to the target sentence in the replacement candidate sentence according to the entity-related word vector; and performing desensitization replacement
processing on the privacy word segmentation of the target sentence by using the entity-related word segmentation in the replacement candidate sentence to obtain a desensitized target sentence.