201. Using String Kernels for Classification of Slovenian Web Documents
- Author
-
Blaž Fortuna and Dunja Mladenic
- Subjects
Information retrieval ,Computer science ,business.industry ,Lemmatisation ,String (computer science) ,Similarity measure ,computer.software_genre ,Substring ,Web query classification ,Web page ,Artificial intelligence ,business ,tf–idf ,computer ,Natural language ,Natural language processing - Abstract
In this paper we present an approach for classifying web pages obtained from the Slovenian Internet directory where the web sites covering different topics are organized into a topic ontology. We tested two different methods for representing text documents, both in combination with the linear SVM classification algorithm. The first representation used is a standard bag-of-words approach with TFIDF weights and cosine distance used as similarity measure. We compared this to String kernels where text documents are compared not by words but by substrings. This removes the need for stemming or lemmatisation which can be an important issue when documents are in other languages than English and tools for stemming or lemmatisation are unavailable or are expensive to make or learn. In highly inflected natural languages, such as Slovene language, the same word can have many different forms, thus String kernels have an advantage here over the bag-of-words. In this paper we show that in classification of documents written in highly inflected natural language the situation is opposite and String Kernels significantly outperform the standard bag-of-words representation. Our experiments also show that the advantage of String kernels is more evident for domains with unbalanced class distribution.
- Published
- 2006