The invention relates to the technical field of
data processing, and discloses a text governance method and device, equipment and a medium, and the method comprises the steps: collecting a preset enterprise external rule file in real time through a preset double mechanism of a timing scheduling task and an event triggering task; screening out files which do not accord with a preset category, labeling the files according to level labels, and storing the files into an internal
database to form an internal specification file; extracting an internal specification data abstract, calculating a
correlation coefficient between each
service line label and the abstract, and determining a
service line corresponding to the internal specification; constructing a
knowledge graph by taking the file, the abstract, the
label and the level as nodes and taking the
correlation coefficient as an edge; when external specification changes are monitored, change content is collected, corresponding internal specification target files are identified, service labels with correlation coefficients exceeding a threshold value are screened to form a set, and corresponding
service line internal specifications are collected; and by taking the change external specification level as a level, updating the internal specification corresponding to the service
label with the level lower than the level in the set according to the change content. The accuracy of text governance can be improved.