Document Classifications Based on Word Semantic Hierarchies

Document Classifications Based on Word Semantic Hierarchies

DOCUMENT CLASSIFICATIONS BASED ON WORD SEMANTIC HIERARCHIES Xiaogang Peng & Ben Choi Computer Science, College of Engineering and Science Louisiana Tech University, LA 71272, USA [email protected] Abstract between a document and a category. Based on the measures, a document is assigned to the most relevant categories [4]. In this paper we proposed to automatically classify Document representation is one of the most important documents based on the meanings of words and the issues in text classification. In order to be classified, each relationships between groups of meanings or concepts. Our document should be turned into a machine comprehendible proposed classification algorithm builds on the word format. The bag-of-words document representation [11, 13] structures provided by WordNet, which not only arranges is simple, yet limited. Attempts have been conducted to words into groups of synonyms, called Synsets, but also improve the effectiveness of the representation. For arranges the Synsets into hierarchies representing the example, Mladenic [16] extends the “bag-of-words” to the relationships between concepts. Most existing methods “bag-of-phrases” and showed improvement of the classify text documents based on the number of occurrences classification results [2]. of words and some based on Synsets. Our approach goes There are two major problems with the bag-of-words or one step further by using not only word occurrences and the bag-of-phrases representations. First, it counts word Synsets but also the relationships between Synsets. We also occurrences and omits the fact that a word may have proposed a sense-based document representation based on different meanings (or senses) in different documents or the semantic hierarchies provided by WordNet. To classify a even in the same document. For example, the word “bank” document, our approach extracts words occurred in the may have at least two different senses, as in the “Bank” of document and uses them to increase the weight of the America or the “bank” of Mississippi river. However Synsets corresponding to the words. Words with same counting word occurrences, these two instances of “bank” meanings will increase the weight of their corresponding are treated as a same feature. The second major problem lies Synsets. As a result, we count the occurrences of senses. We in the fact that sometime related documents may not share also propagate the weight of a Synset upward to its related the same keywords so that two related documents cannot be Synsets in the hierarchies and thus capture the relationships recognized as belonging to the same category. Thus, rather between concepts. In comparing to previous research, our than counting word occurrences, counting word senses approach increases the classification accuracy by 14%. might improve text classification. Sense based text classifications [19, 13] are attempts to address the problems. Keywords: Classification, WordNet, Semantic Web, However, we discovered that the previous sense based Document Representation, Information Retrieval document classifications [1, 7, 19,] did not make use of semantic hierarchy of senses. We proposed that after word 1. Introduction senses are extracted from a document, all the senses should be considered globally, from the point of view of the entire Automatic text classification is the task of assigning a document, instead of treating each sense separately. We text document to a relevant category or categories. considered that the most widely used “bag of words” or Formally, let C = {c , …, c } be a set of predefined “bag of senses” representations of a document are not 1 K sufficient to represent the global relationships of senses. categories, D = {d1, …, dN} be a set of text document to be classified. The task of text document classification is then Making use of the relationships between word senses transformed to approximate the unknown assignment provided by the hierarchical structures of Synsets in WordNet [15], we proposed a new document representation function f, which maps D × C to a set of real numbers. that exploits the semantic hierarchy and developed a Each number in the set is a measure of the similarity corresponding semantic hierarchy classification system. This research was funded in part by a grant from the Center for Entrepreneurship and Information Technology (CEnIT), Louisiana Tech University. The remainder of this paper is structured as follows. A document is represented by a vector with each item i Related research is provided in Section 2. A new document defined as: representation based on word semantic hierarchies is V (i) = TF( f i , Doc)IDF( f i ) . defined in Section 3. A new document classification system based on the new document representation is described in The TFIDF is extended by Joachimes [8] who analyzed Section 4. Testing and performance analysis of the new the TFIDF classifier in a probabilistic way based on the classification system is provided in Section 5. And, the implicit assumption that the TFIDF classifier is as explicit conclusion and future research are provided in Section 6. as the Naïve Bayes classifier. By combining the probabilistic technique from statistic pattern recognition into 2. Related Research the simple TFIDF classifier, he proposed a new classifier called the PrTFIDF classifier. The PrTFIDF classifier The commonly used text document representation is the optimizes the parameter selection in TFIDF and reduces the “bag-of-words”, which simply uses a set of words and the error rate in five out of six reported experiments by 40%. number of occurrences of the words in a document to Other more sophisticated machine learning methods and represent the document [11, 13]. Many efforts have been classification algorithms can be applied to induce taken to improve this simple and limited document representations for categories from the representations of representation. For example, Mladenic [16] uses phrases or documents. A text classification system, that takes word sequences to replace single words, for which Chan [2] advantage of the hieratical structure of categories, is confirmed the improvement of the approach by experiments. reported by Choi and Peng [3]. Other related classification The goal of using phrases as features is to attempt to methods can also be found in [4]. preserve the information left out by the “bag of words” To move from counting word occurrences to counting methods. This results in a document representation called senses, a database of senses is required. We choose “feature vector representation” that uses a feature vector to WordNet [14, 15] as the database to help the process of capture the characteristics of a document by an “N-gram” document representation and classification. The basic unit in feature selection. An N-gram feature could be a word or a WordNet is called synonym set or Synset. Each Synset sequence of N words. Experiments showed that N ranging consists of a list of synonymous word forms. A word form from two to three is sufficient in most classification in WordNet can be a single word or two or more words systems. connected by underscores. WordNet is capable of referring a Since the number of different words and the number of word form to a Synset. All the Synsets are divided into five two to three sequence of words in a document can be very categories: Nouns, Verbs, Adjectives, Adverbs, and large that in turn results in large computational cost, various Function verbs. In each category, the Synsets are organized techniques have been employed to reduce the number of by semantic relations, some of which are listed as follows: features. The most frequently used methods to reduce the • Hyponym / Hypernym: The “is-a” semantic relation or number of features are “stopping” and “stemming”. The subset/superset relation. Hyponymy is transitive and idea of “stopping” is to eliminate those common words that asymmetrical. For example, economic is a hyponymy of occur often and mean little, such as articles or prepositions. social science, but social science is a hypernym of The “stemming” on the other hand is trying to use a economic. language-specific stemming algorithm to find the same • Meronym / Holonym: The “has-a” relation. If the semantic root of different words, such as “compute” and sentence “An x is a part of y” is meaningful, then x is “computes” are considered as the same feature. the meronym of y and y is the holonym of x. For text document classification, TFIDF (Term The relation that interests us here is the hyponym/ Frequency–Inverse Document Frequency) method is often hypernym relation between nouns. A Synset is a hypernym used. It represents each document as a “TFIDF” vector in of another if it covers a more general meaning. For example, the space of features (word or phase) that are taken from is a hypernym of and training documents, then sums up all the document vectors science natural science and uses the resulting vector as a model for classification. social science since it represents a more general concept. Based on the relations, Synsets in WordNet are The term frequency TF(fi ,Doc ) of a feature fi in a document Doc is calculated by counting the number of occurrences of organized into tree structures. WordNet is widely used for sense-based projects. For fi . Let T be the total number of documents and DF(fi) be the instance, Rodriguez [18] used the synonymy in WordNet number of documents having the feature fi, the inverse and showed an improvement in classification accuracy on document frequency of a feature fi, denoted by IDF(fi), is usually defined as: the Reaters-21578 corpus. Scott and Matwin [19] used T synonymy and hypernymy to develop a “hypernym density IDF( fi ) = Log representation” and achieved a small improvement in the DF( fi ) classification accuracy. WordNet Mapping 3. Semantic Hierarchy Representation Keywords Synset: physics (0.2) government (0.2) The first issue that needs to be addressed in document politics (0.1) economy (0.1) Synset: government (0.3) classification is how to represent a document so as to natural philosophy(0.2) facilitate machine manipulation but also to retain as much life science (0.1) Synset: economics (0.2) information as needed.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us