Patent ID: 8078625

Claim:
A computer implemented method of categorizing content, the method comprising: accessing a uniform resource locator associated with content requested by a user; processing the uniform resource locator to generate a set of multiple n-grams contained in the uniform resource locator, wherein the processing includes using a plurality of different n values to generate the set of multiple n-grams, the set including n-grams of different character lengths; providing the set of multiple n-grams to a classifier for determination of a classification score based on the set of multiple n-grams, wherein each of the n-grams is weighted according to the formula: R ⁡ ( t ) = P ⁡ ( t ❘ C ) P ⁡ ( t ❘ C _ ) + r * r wherein t is an n-gram, C is a target category, C is a non-target category, and r is a parameter; comparing the classification score to a threshold; classifying the content into the target category or the non-target category based on the comparison of the classification score to the threshold; allowing the user to access the content when the content is classified into the non-target category; and blocking access to the content by the user when the content is classified into the target category.