CPC G06F 16/9535 (2019.01) [G06F 16/162 (2019.01); G06F 16/2228 (2019.01); G06F 16/285 (2019.01); G06F 16/3322 (2019.01); G06F 16/9032 (2019.01); G06F 16/951 (2019.01); G06F 16/9566 (2019.01)] | 20 Claims |
1. A computer-implemented method for filtering content, the method being performed by one or more processors, and the method comprising:
retrieving an in-string black list and an in-string white list, each of the in-string black list and the in-string white list including a plurality of search queries;
receiving a search query string;
determining that a match exists between a substring of the search query string and at least one of the plurality of search queries in the in-string black list by comparing the substring with the plurality of search queries in the retrieved in-string black list, and marking the search query;
determining, based on the determined match between the substring and the at least one of the plurality of search queries in the in-string black list and based on the marked search query, whether a match exists between the substring and the plurality of search queries in the in-string white list by comparing the substring against each of the plurality of search queries in the in-string white list; and
automatically updating, as a result of determining that a match does not exist between the substring and the plurality of search queries in the in-string white list, the in-string black list to include the marked user search query string.
|