摘要 |
The present disclosure discloses a method and system for text filtering. The method for text filtering comprises: pre-defining a semantic keyword in a text filtering system, the semantic keyword comprising at least one basic keyword and one logical operator; after obtaining an input text, finding, by the text filtering system, the basic keyword constituting the semantic keyword in the input text according to the pre-defined semantic keyword; in an event that a text content matching the at least one basic keyword in the input text is found, further conducting a semantic match in the found text content, the semantic match further comprising matching the found text content with the semantic keyword according to the logical operator constituting the semantic keyword; and in an event that the semantic match is successful, filtering the matched text context. |