Scenarios and questions:
The messages submitted by users need to be judged whether they are related to pornography or terrorism. They do not need to be blocked and can still be stored in the database. However, I need to traverse the data in the database to judge whether they are related to pornography. For example, how can I traverse 50 pieces of data circularly? Yellow related keywords are specified. (for example, judge whether NIMA, Cao and RI are included in the 50 pieces of data)??