8. A non-transitory computer readable storage medium storing instructions for categorization using a plurality of categories, the instructions comprising functionality to: obtain a plurality of uniform resource locators (URLs) associated with the plurality of categories; generate a plurality of classified URLs by labeling the plurality of URLs based on the plurality of categories; collect a plurality of web pages identified by the plurality of classified URLs; generate a plurality of vocabulary terms, each comprising a plurality of words, based on the plurality of web pages; generate 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; generate a plurality of feature vectors by processing the classified URLs and the plurality of web pages against the N-gram file; generate a categorization model by applying a machine learning algorithm to the plurality of feature vectors; and load 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.
9. The non-transitory computer readable storage medium of claim 8 , the instructions further comprising functionality to: select a vocabulary term of the plurality of vocabulary terms; identify a document frequency of the vocabulary term within the plurality of web pages; and calculate an inverse document frequency (IDF) for the vocabulary term by applying a logarithm function to a ratio based on the plurality of web pages and the document frequency of the vocabulary term, wherein the N-gram file includes the IDF of the vocabulary term.