Method and system for classifying website

A website classification method and system are disclosed for determining the website category more rapidly and accurately, the method comprises the steps of: setting feature vectors for each website, in which each single dimension of the feature vector is a different user query word, the value of which is equal to the emergence times of correspondent query word, classifying the website. The query words are more representative than the common words in the webpage, and can benefit the classification of websites and improve the classification accuracy because the emergence times of the query words is counted by the click times of the user which represents the close relationship between the clicked website and the query word, in addition, the generated feature vector is very short which can improve the classification efficiency greatly.