Patent Document ID: 8489523
Application ID: 13077696

Base Claim:
1. A method for categorization using a plurality of categories, comprising: obtaining, by a hardware processor, a plurality of uniform resource locators (URLs) associated with the plurality of categories; generating, by the hardware processor, a plurality of classified URLs by labeling the plurality of URLs based on the plurality of categories; collecting, by the hardware processor, a plurality of web pages identified by the plurality of classified URLs; generating, by the hardware processor, a plurality of vocabulary terms, each comprising a plurality of words, based on the plurality of web pages; generating, by the hardware processor, an N-gram file including the plurality of vocabulary terms and comprising a starting word of the plurality of words and a flag corresponding to a cardinality of the plurality of words; generating, by the hardware processor, a plurality of feature vectors by processing the classified URLs and the plurality of web pages against the N-gram file; generating, by the hardware processor, a categorization model by applying a machine learning algorithm to the plurality of feature vectors; and loading a classifier with the categorization module and the N-gram file, wherein the classifier is configured to select a category of the plurality of categories for an input associated with a user.

---

Claim 7:
7. The method of claim 1 , further comprising: selecting an advertisement corresponding to the category; and presenting the advertisement to the user.