The invention belongs to the field of
computer network content security, particularly relates to a text compliance real-time
verification method and
system based on a two-dimensional
knowledge base, and aims to solve the problems that in the prior art, accuracy and adaptability are difficult to consider at the same time, and scene
verification capacity is lacked. The method comprises the following steps: acquiring a to-be-verified text and scene information thereof; generating a scene
verification strategy based on the scene information and a preset multi-dimensional feature map; based on a two-dimensional
knowledge base, executing two-way parallel verification on the to-be-verified text, the two-dimensional
knowledge base comprising an explicit rule knowledge base and a
semantic context risk knowledge base, so as to obtain a rule verification result and a semantic verification result; and according to a scenarized verification strategy, performing fusion decision on a rule verification result and a semantic verification result, and outputting a final compliance judgment conclusion. According to the method, the rule model and the semantic model are combined, and the scene dimension is introduced for dynamic
intelligent decision making, so that the accuracy and the
automation level of text content verification are remarkably improved.