| { |
| "paper_id": "N03-1025", |
| "header": { |
| "generated_with": "S2ORC 1.0.0", |
| "date_generated": "2023-01-19T14:07:29.793641Z" |
| }, |
| "title": "Language and Task Independent Text Categorization with Simple Language Models", |
| "authors": [ |
| { |
| "first": "Fuchun", |
| "middle": [], |
| "last": "Peng", |
| "suffix": "", |
| "affiliation": { |
| "laboratory": "", |
| "institution": "University of Waterloo", |
| "location": { |
| "addrLine": "200 University Avenue West", |
| "postCode": "N2L 3G1", |
| "settlement": "Waterloo", |
| "region": "Ontario", |
| "country": "Canada" |
| } |
| }, |
| "email": "f3peng@cs.uwaterloo.ca" |
| }, |
| { |
| "first": "Dale", |
| "middle": [], |
| "last": "Schuurmans", |
| "suffix": "", |
| "affiliation": { |
| "laboratory": "", |
| "institution": "University of Waterloo", |
| "location": { |
| "addrLine": "200 University Avenue West", |
| "postCode": "N2L 3G1", |
| "settlement": "Waterloo", |
| "region": "Ontario", |
| "country": "Canada" |
| } |
| }, |
| "email": "" |
| }, |
| { |
| "first": "Shaojun", |
| "middle": [], |
| "last": "Wang", |
| "suffix": "", |
| "affiliation": { |
| "laboratory": "", |
| "institution": "University of Waterloo", |
| "location": { |
| "addrLine": "200 University Avenue West", |
| "postCode": "N2L 3G1", |
| "settlement": "Waterloo", |
| "region": "Ontario", |
| "country": "Canada" |
| } |
| }, |
| "email": "sjwang@cs.uwaterloo.ca" |
| } |
| ], |
| "year": "", |
| "venue": null, |
| "identifiers": {}, |
| "abstract": "We present a simple method for language independent and task independent text categorization learning, based on character-level n-gram language models. Our approach uses simple information theoretic principles and achieves effective performance across a variety of languages and tasks without requiring feature selection or extensive pre-processing. To demonstrate the language and task independence of the proposed technique, we present experimental results on several languages-Greek, English, Chinese and Japanese-in several text categorization problems-language identification, authorship attribution, text genre classification, and topic detection. Our experimental results show that the simple approach achieves state of the art performance in each case.", |
| "pdf_parse": { |
| "paper_id": "N03-1025", |
| "_pdf_hash": "", |
| "abstract": [ |
| { |
| "text": "We present a simple method for language independent and task independent text categorization learning, based on character-level n-gram language models. Our approach uses simple information theoretic principles and achieves effective performance across a variety of languages and tasks without requiring feature selection or extensive pre-processing. To demonstrate the language and task independence of the proposed technique, we present experimental results on several languages-Greek, English, Chinese and Japanese-in several text categorization problems-language identification, authorship attribution, text genre classification, and topic detection. Our experimental results show that the simple approach achieves state of the art performance in each case.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Abstract", |
| "sec_num": null |
| } |
| ], |
| "body_text": [ |
| { |
| "text": "Text categorization concerns the problem of automatically assigning given text passages (paragraphs or documents) into predefined categories. Due to the rapid explosion of texts in digital form, text categorization has become an important area of research owing to the need to automatically organize and index large text collections in various ways. Such techniques are currently being applied in many areas, including language identification, authorship attribution (Stamatatos et al., 2000) , text genre classification (Kesseler et al., 1997; Stamatatos et al., 2000) , topic identification (Dumais et al., 1998; Lewis, 1992; McCallum, 1998; Yang, 1999) , and subjective sentiment classification (Turney, 2002) .", |
| "cite_spans": [ |
| { |
| "start": 467, |
| "end": 492, |
| "text": "(Stamatatos et al., 2000)", |
| "ref_id": "BIBREF17" |
| }, |
| { |
| "start": 521, |
| "end": 544, |
| "text": "(Kesseler et al., 1997;", |
| "ref_id": null |
| }, |
| { |
| "start": 545, |
| "end": 569, |
| "text": "Stamatatos et al., 2000)", |
| "ref_id": "BIBREF17" |
| }, |
| { |
| "start": 593, |
| "end": 614, |
| "text": "(Dumais et al., 1998;", |
| "ref_id": "BIBREF6" |
| }, |
| { |
| "start": 615, |
| "end": 627, |
| "text": "Lewis, 1992;", |
| "ref_id": "BIBREF12" |
| }, |
| { |
| "start": 628, |
| "end": 643, |
| "text": "McCallum, 1998;", |
| "ref_id": "BIBREF13" |
| }, |
| { |
| "start": 644, |
| "end": 655, |
| "text": "Yang, 1999)", |
| "ref_id": "BIBREF20" |
| }, |
| { |
| "start": 698, |
| "end": 712, |
| "text": "(Turney, 2002)", |
| "ref_id": "BIBREF19" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "Many standard machine learning techniques have been applied to automated text categorization problems, such as naive-Bayes classifiers, support vector machines, linear least squares models, neural networks, and K-nearest neighbor classifiers (Yang, 1999; Sebastiani, 2002) . A common aspect of these approaches is that they treat text categorization as a standard classification problem, and thereby reduce the learning process to two simple steps: feature engineering, and classification learning over the feature space. Of these two steps, feature engineering is critical to achieving good performance in text categorization problems. Once good features are identified, almost any reasonable technique for learning a classifier seems to perform well (Scott, 1999) .", |
| "cite_spans": [ |
| { |
| "start": 242, |
| "end": 254, |
| "text": "(Yang, 1999;", |
| "ref_id": "BIBREF20" |
| }, |
| { |
| "start": 255, |
| "end": 272, |
| "text": "Sebastiani, 2002)", |
| "ref_id": "BIBREF16" |
| }, |
| { |
| "start": 752, |
| "end": 765, |
| "text": "(Scott, 1999)", |
| "ref_id": "BIBREF15" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "Unfortunately, the standard classification learning methodology has several drawbacks for text categorization. First, feature construction is usually language dependent. Various techniques such as stop-word removal or stemming require language specific knowledge to design adequately. Moreover, whether one can use a purely word-level approach is itself a language dependent issue. In many Asian languages such as Chinese or Japanese, identifying words from character sequences is hard, and any word-based approach must suffer added complexity in coping with segmentation errors. Second, feature selection is task dependent. For example, tasks like authorship attribution or genre classification require attention to linguistic style markers (Stamatatos et al., 2000) , whereas topic detection systems rely more heavily on bag of words features. Third, there are an enormous number of possible features to consider in text categorization problems, and standard feature selection approaches do not always cope well in such circumstances. For example, given an enormous number of features, the cumulative effect of uncommon features can still have an important effect on classification accuracy, even though infrequent features contribute less information than common features individually. Consequently, throwing away uncommon features is usually not an appropriate strategy in this domain (Aizawa, 2001) . Another problem is that feature selection normally uses indirect tests, such as \u03c7 2 or mutual information, which involve setting arbi-trary thresholds and conducting a heuristic greedy search to find good feature sets. Finally, by treating text categorization as a classical classification problem, standard approaches can ignore the fact that texts are written in natural language, meaning that they have many implicit regularities that can be well modeled with specific tools from natural language processing.", |
| "cite_spans": [ |
| { |
| "start": 742, |
| "end": 767, |
| "text": "(Stamatatos et al., 2000)", |
| "ref_id": "BIBREF17" |
| }, |
| { |
| "start": 1389, |
| "end": 1403, |
| "text": "(Aizawa, 2001)", |
| "ref_id": "BIBREF0" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "In this paper, we propose a straightforward text categorization learning method based on learning categoryspecific, character-level, n-gram language models. Although this is a very simple approach, it has not yet been systematically investigated in the literature. We find that, surprisingly, we obtain competitive (and often superior) results to more sophisticated learning and feature construction techniques, while requiring almost no feature engineering or pre-processing. In fact, the overall approach requires almost no language specific or task specific pre-processing to achieve effective performance.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "The success of this simple method, we think, is due to the effectiveness of well known statistical language modeling techniques, which surprisingly have had little significant impact on the learning algorithms normally applied to text categorization. Nevertheless, statistical language modeling is also concerned with modeling the semantic, syntactic, lexicographical and phonological regularities of natural language-and would seem to provide a natural foundation for text categorization problems. One interesting difference, however, is that instead of explicitly pre-computing features and selecting a subset based on arbitrary decisions, the language modeling approach simply considers all character (or word) subsequences occurring in the text as candidate features, and implicitly considers the contribution of every feature in the final model. Thus, the language modeling approach completely avoids a potentially error-prone feature selection process. Also, by applying character-level language models, one also avoids the word segmentation problems that arise in many Asian languages, and thereby achieves a language independent method for constructing accurate text categorizers.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "The dominant motivation for language modeling has traditionally come from speech recognition, but language models have recently become widely used in many other application areas.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "The goal of language modeling is to predict the probability of naturally occurring word sequences, s = w 1 w 2 ...w N ; or more simply, to put high probability on word sequences that actually occur (and low probability on word sequences that never occur). Given a word sequence w 1 w 2 ...w N to be used as a test corpus, the quality of a language model can be measured by the empirical perplexity and entropy scores on this corpus", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "Perplexity = N N i=1 1 Pr(w i |w 1 ...w i\u22121 ) (1) Entropy = log 2 Perplexity (2)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "where the goal is to minimize these measures. The simplest and most successful approach to language modeling is still based on the n-gram model. By the chain rule of probability one can write the probability of any word sequence as", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "Pr(w 1 w 2 ...w N ) = N i=1 Pr(w i |w 1 ...w i\u22121 ) (3)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "An n-gram model approximates this probability by assuming that the only words relevant to predicting Pr(w i |w 1 ...w i\u22121 ) are the previous n \u2212 1 words; i.e.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "Pr(w i |w 1 ...w i\u22121 ) = Pr(w i |w i\u2212n+1 ...w i\u22121 )", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "A straightforward maximum likelihood estimate of ngram probabilities from a corpus is given by the observed frequency of each of the patterns", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "Pr(w i |w i\u2212n+1 ...w i\u22121 ) = #(w i\u2212n+1 ...w i ) #(w i\u2212n+1 ...w i\u22121 )", |
| "eq_num": "(4)" |
| } |
| ], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "where #(.) denotes the number of occurrences of a specified gram in the training corpus. Although one could attempt to use simple n-gram models to capture long range dependencies in language, attempting to do so directly immediately creates sparse data problems: Using grams of length up to n entails estimating the probability of W n events, where W is the size of the word vocabulary. This quickly overwhelms modern computational and data resources for even modest choices of n (beyond 3 to 6). Also, because of the heavy tailed nature of language (i.e. Zipf's law) one is likely to encounter novel n-grams that were never witnessed during training in any test corpus, and therefore some mechanism for assigning non-zero probability to novel n-grams is a central and unavoidable issue in statistical language modeling. One standard approach to smoothing probability estimates to cope with sparse data problems (and to cope with potentially missing n-grams) is to use some sort of back-off estimator.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "Pr(w i |w i\u2212n+1 ...w i\u22121 ) = \uf8f1 \uf8f4 \uf8f4 \uf8f2 \uf8f4 \uf8f4 \uf8f3P r(w i |w i\u2212n+1 ...w i\u22121 ), if #(w i\u2212n+1 ...w i ) > 0 \u03b2(w i\u2212n+1 ...w i\u22121 ) \u00d7 Pr(w i |w i\u2212n+2 ...w i\u22121 ), otherwise", |
| "eq_num": "(5)" |
| } |
| ], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "wher\u00ea", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "Pr(w i |w i\u2212n+1 ...w i\u22121 ) = discount #(w i\u2212n+1 ...w i ) #(w i\u2212n+1 ...w i\u22121 ) (6)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "is the discounted probability and", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "\u03b2(w i\u2212n+1 ...w i\u22121 ) is a normalization constant \u03b2(w i\u2212n+1 ...w i\u22121 ) = 1 \u2212 x\u2208(wi\u2212n+1...wi\u22121x)P r(x|w i\u2212n+1 ...w i\u22121 ) 1 \u2212 x\u2208(w i\u2212n+1 ...w i\u22121 x)P r(x|w i\u2212n+2 ...w i\u22121 )", |
| "eq_num": "(7)" |
| } |
| ], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "The discounted probability (6) can be computed with different smoothing techniques, including absolute smoothing, Good-Turing smoothing, linear smoothing, and Witten-Bell smoothing (Chen and Goodman, 1998) . The details of the smoothing techniques are omitted here for simplicity.", |
| "cite_spans": [ |
| { |
| "start": 181, |
| "end": 205, |
| "text": "(Chen and Goodman, 1998)", |
| "ref_id": "BIBREF4" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "The language models described above use individual words as the basic unit, although one could instead consider models that use individual characters as the basic unit. The remaining details remain the same in this case. The only difference is that the character vocabulary is always much smaller than the word vocabulary, which means that one can normally use a much higher order, n, in a character-level n-gram model (although the text spanned by a character model is still usually less than that spanned by a word model). The benefits of the character-level model in the context of text classification are several-fold: it avoids the need for explicit word segmentation in the case of Asian languages, it captures important morphological properties of an author's writing, it models the typos and misspellings that are common in informal texts, it can still discover useful inter-word and inter-phrase features, and it greatly reduces the sparse data problems associated with large vocabulary models. In this paper, we experiment with character-level models to achieve flexibility and language independence.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "n-Gram Language Modeling", |
| "sec_num": "2" |
| }, |
| { |
| "text": "Our approach to applying language models to text categorization is to use Bayesian decision theory. Assume we wish to classify a text D into a category c \u2208 C = {c 1 , ..., c |C| }. A natural choice is to pick the category c that has the largest posterior probability given the text. That is,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Language Models as Text Classifiers", |
| "sec_num": "3" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "c * = arg max c\u2208C {Pr(c|D)}", |
| "eq_num": "(8)" |
| } |
| ], |
| "section": "Language Models as Text Classifiers", |
| "sec_num": "3" |
| }, |
| { |
| "text": "Using Bayes rule, this can be rewritten as", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Language Models as Text Classifiers", |
| "sec_num": "3" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "c * = arg max c\u2208C {Pr(D|c) Pr(c)} (9) = arg max c\u2208C {Pr(D|c)} (10) = arg max c\u2208C N i=1 P r c (w i |w i\u2212n+1 ...w i\u22121 )", |
| "eq_num": "(11)" |
| } |
| ], |
| "section": "Language Models as Text Classifiers", |
| "sec_num": "3" |
| }, |
| { |
| "text": "where deducing Eq. (10) from Eq. (9) assumes uniformly weighted categories (since we have no other prior knowledge). Here, Pr(D|c) is the likelihood of D under category c, which can be computed by Eq. (11). Likelihood is related to perplexity and entropy by Eq. (1) and Eq. (2). Therefore, our approach is to learn a separate language model for each category, by training on a data set from that category. Then, to categorize a new text D, we supply D to each language model, evaluate the likelihood (or entropy) of D under the model, and pick the winning category according to Eq. (10).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Language Models as Text Classifiers", |
| "sec_num": "3" |
| }, |
| { |
| "text": "The inference of an n-gram based text classifier is very similar to a naive-Bayes classifier. In fact, n-gram classifiers are a straightforward generalization of naive-Bayes: A uni-gram classifier with Laplace smoothing corresponds exactly to the traditional naive-Bayes classifier. However, n-gram language models, for larger n, possess many advantages over naive-Bayes classifiers, including modeling longer context and applying superior smoothing techniques in the presence of sparse data.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Language Models as Text Classifiers", |
| "sec_num": "3" |
| }, |
| { |
| "text": "We now proceed to present our results on several text categorization problems on different languages. Specifically, we consider language identification, Greek authorship attribution, Greek genre classification, English topic detection, Chinese topic detection and Japanese topic detection.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Experimental Comparison", |
| "sec_num": "4" |
| }, |
| { |
| "text": "For the sake of consistency with previous research (Aizawa, 2001; He et al., 2000; Stamatatos et al., 2000) , we measure categorization performance by the overall accuracy, which is the number of correctly identified texts divided by the total number of texts considered. We also measure the performance with Macro Fmeasure, which is the average of the F-measures across all categories. F-measure is a combination of precision and recall (Yang, 1999) .", |
| "cite_spans": [ |
| { |
| "start": 51, |
| "end": 65, |
| "text": "(Aizawa, 2001;", |
| "ref_id": "BIBREF0" |
| }, |
| { |
| "start": 66, |
| "end": 82, |
| "text": "He et al., 2000;", |
| "ref_id": "BIBREF8" |
| }, |
| { |
| "start": 83, |
| "end": 107, |
| "text": "Stamatatos et al., 2000)", |
| "ref_id": "BIBREF17" |
| }, |
| { |
| "start": 438, |
| "end": 450, |
| "text": "(Yang, 1999)", |
| "ref_id": "BIBREF20" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Experimental Comparison", |
| "sec_num": "4" |
| }, |
| { |
| "text": "The first text categorization problem we examined was language identification-a useful pre-processing step in information retrieval. Language identification is probably the easiest text classification problem because of the significant morphological differences between languages, ", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Language Identification", |
| "sec_num": "4.1" |
| }, |
| { |
| "text": "The second text categorization problem we examined was author attribution. A famous example is the case of the Federalist Papers, of which twelve instances are claimed to have been written both by Alexander Hamilton and James Madison (Holmes and Forsyth, 1995) . Authorship attribution is more challenging than language identification because the difference among the authors is much more subtle than that among different languages. We considered a data set used by (Stamatatos et al., 2000) consisting of 20 texts written by 10 different modern Greek authors (totaling 200 documents). In each case, 10 texts from each author were used for training and the remaining 10 for testing. The results using different orders of n-gram models and different smoothing techniques are shown in Table 1 . With 3-grams and absolute smoothing, we observe 90% accuracy. This result compares favorably to the 72% accuracy reported in (Stamatatos et al., 2000) which is based on linear least square fit (LLSF).", |
| "cite_spans": [ |
| { |
| "start": 234, |
| "end": 260, |
| "text": "(Holmes and Forsyth, 1995)", |
| "ref_id": "BIBREF9" |
| }, |
| { |
| "start": 466, |
| "end": 491, |
| "text": "(Stamatatos et al., 2000)", |
| "ref_id": "BIBREF17" |
| }, |
| { |
| "start": 918, |
| "end": 943, |
| "text": "(Stamatatos et al., 2000)", |
| "ref_id": "BIBREF17" |
| } |
| ], |
| "ref_spans": [ |
| { |
| "start": 783, |
| "end": 790, |
| "text": "Table 1", |
| "ref_id": "TABREF1" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Authorship Attribution", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "The third problem we examined was text genre classification, which is an important application in information retrieval (Kesseler et al., 1997; Lee et al., 2002) . We considered a Greek data set used by (Stamatatos et al., 2000) consisting of 20 texts of 10 different styles extracted from various sources (200 documents total). For each style, we used 10 texts as training data and the remaining 10 as testing.", |
| "cite_spans": [ |
| { |
| "start": 120, |
| "end": 143, |
| "text": "(Kesseler et al., 1997;", |
| "ref_id": null |
| }, |
| { |
| "start": 144, |
| "end": 161, |
| "text": "Lee et al., 2002)", |
| "ref_id": "BIBREF11" |
| }, |
| { |
| "start": 203, |
| "end": 228, |
| "text": "(Stamatatos et al., 2000)", |
| "ref_id": "BIBREF17" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Text Genre Classification", |
| "sec_num": "4.3" |
| }, |
| { |
| "text": "1 Language identification from speech is much harder. The results of learning an n-gram based text classifier are shown in Table 2 . The 86% accuracy obtained with bi-gram models compares favorably to the 82% reported in (Stamatatos et al., 2000) , which again is based on a much deeper NLP analysis.", |
| "cite_spans": [ |
| { |
| "start": 221, |
| "end": 246, |
| "text": "(Stamatatos et al., 2000)", |
| "ref_id": "BIBREF17" |
| } |
| ], |
| "ref_spans": [ |
| { |
| "start": 123, |
| "end": 130, |
| "text": "Table 2", |
| "ref_id": "TABREF3" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Text Genre Classification", |
| "sec_num": "4.3" |
| }, |
| { |
| "text": "The fourth problem we examined was topic detection in text, which is a heavily researched text categorization problem (Dumais et al., 1998; Lewis, 1992; McCallum, 1998; Yang, 1999; Sebastiani, 2002 ). Here we demonstrate the language independence of the language modeling approach by considering experiments on English, Chinese and Japanese data sets.", |
| "cite_spans": [ |
| { |
| "start": 118, |
| "end": 139, |
| "text": "(Dumais et al., 1998;", |
| "ref_id": "BIBREF6" |
| }, |
| { |
| "start": 140, |
| "end": 152, |
| "text": "Lewis, 1992;", |
| "ref_id": "BIBREF12" |
| }, |
| { |
| "start": 153, |
| "end": 168, |
| "text": "McCallum, 1998;", |
| "ref_id": "BIBREF13" |
| }, |
| { |
| "start": 169, |
| "end": 180, |
| "text": "Yang, 1999;", |
| "ref_id": "BIBREF20" |
| }, |
| { |
| "start": 181, |
| "end": 197, |
| "text": "Sebastiani, 2002", |
| "ref_id": "BIBREF16" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Topic Detection", |
| "sec_num": "4.4" |
| }, |
| { |
| "text": "The English 20 Newsgroup data has been widely used in topic detection research (McCallum, 1998; Rennie, 2001 ). 2 This collection consists of 19,974 non-empty documents distributed evenly across 20 newsgroups. We use the newsgroups to form our categories, and randomly select 80% of the documents to be used for training and set aside the remaining 20% for testing.", |
| "cite_spans": [ |
| { |
| "start": 79, |
| "end": 95, |
| "text": "(McCallum, 1998;", |
| "ref_id": "BIBREF13" |
| }, |
| { |
| "start": 96, |
| "end": 108, |
| "text": "Rennie, 2001", |
| "ref_id": "BIBREF14" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "English Data", |
| "sec_num": "4.4.1" |
| }, |
| { |
| "text": "In this case, as before, we merely considered text to be a sequence of characters, and learned character-level ngram models. The resulting classification accuracies are reported in in Table 3 . With 3-gram (or higher order) models, we consistently obtain accurate performance, peaking at 89% accuracy in the case of 6-gram models with Witten-Bell smoothing. (We note that word-level models were able to achieve 88% accuracy in this case.) These results compare favorably to the state of the art result of 87.5% accuracy reported in (Rennie, 2001) , which was based on a combination of an SVM with error correct output coding (ECOC).", |
| "cite_spans": [ |
| { |
| "start": 532, |
| "end": 546, |
| "text": "(Rennie, 2001)", |
| "ref_id": "BIBREF14" |
| } |
| ], |
| "ref_spans": [ |
| { |
| "start": 184, |
| "end": 191, |
| "text": "Table 3", |
| "ref_id": "TABREF5" |
| } |
| ], |
| "eq_spans": [], |
| "section": "English Data", |
| "sec_num": "4.4.1" |
| }, |
| { |
| "text": "Chinese topic detection is often thought to be more challenging than English, because words are not whitespace delimited in Chinese text. This fact seems to require word segmentation to be performed as a preprocessing step before further classification (He et al., 2000) . However, we avoid the need for explicit segmentation by simply using a character level n-gram classifier. For Chinese topic detection we considered a data set investigated in (He et al., 2000) . The corpus in this case is a subset of the TREC-5 data set created for research on Chinese text retrieval. To make the data set suitable for text categorization, documents were first clustered into 101 groups that shared the same headline (as indicated by an SGML tag) and the six most frequent groups were selected to make a Chinese text categorization data set. In each group, 500 documents were randomly selected for training and 100 documents were reserved for testing.", |
| "cite_spans": [ |
| { |
| "start": 253, |
| "end": 270, |
| "text": "(He et al., 2000)", |
| "ref_id": "BIBREF8" |
| }, |
| { |
| "start": 448, |
| "end": 465, |
| "text": "(He et al., 2000)", |
| "ref_id": "BIBREF8" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Chinese Data", |
| "sec_num": "4.4.2" |
| }, |
| { |
| "text": "We observe over 80% accuracy for this task, using bigram (2 Chinese characters) or higher order models. This is the same level of performance reported in (He et al., 2000) for an SVM approach using word segmentation and feature selection.", |
| "cite_spans": [ |
| { |
| "start": 154, |
| "end": 171, |
| "text": "(He et al., 2000)", |
| "ref_id": "BIBREF8" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Chinese Data", |
| "sec_num": "4.4.2" |
| }, |
| { |
| "text": "Japanese poses the same word segmentation issues as Chinese. Word segmentation is also thought to be necessary for Japanese text categorization (Aizawa, 2001 ), but we avoid the need again by considering character level language models.", |
| "cite_spans": [ |
| { |
| "start": 144, |
| "end": 157, |
| "text": "(Aizawa, 2001", |
| "ref_id": "BIBREF0" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Japanese Data", |
| "sec_num": "4.4.3" |
| }, |
| { |
| "text": "We consider the Japanese topic detection data investigated by (Aizawa, 2001) . This data set was con- verted from the NTCIR-J1 data set originally created for Japanese text retrieval research. The data has 24 categories. The testing set contains 10,000 documents distributed unevenly between categories (with a minimum of 56 and maximum of 2696 documents per category). This imbalanced distribution causes some difficulty since we assumed a uniform prior over categories. Although this is easily remedied, we did not fix the problem here. Nevertheless, we obtain experimental results in Table 5 that still show an 84% accuracy rate on this problem (for 6-gram or higher order models). This is the same level of performance as that reported in (Aizawa, 2001) , which uses an SVM approach with word segmentation, morphology analysis and feature selection.", |
| "cite_spans": [ |
| { |
| "start": 62, |
| "end": 76, |
| "text": "(Aizawa, 2001)", |
| "ref_id": "BIBREF0" |
| }, |
| { |
| "start": 743, |
| "end": 757, |
| "text": "(Aizawa, 2001)", |
| "ref_id": "BIBREF0" |
| } |
| ], |
| "ref_spans": [ |
| { |
| "start": 587, |
| "end": 594, |
| "text": "Table 5", |
| "ref_id": "TABREF8" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Japanese Data", |
| "sec_num": "4.4.3" |
| }, |
| { |
| "text": "The perplexity of a test document under a language model depends on several factors. The two most influential factors are the order, n, of the n-gram model and the smoothing technique used. Different choices will result in different perplexities, which could influence the final decision in using Eq. (10). We now experimentally assess the influence of each of these factors below.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Analysis", |
| "sec_num": "5" |
| }, |
| { |
| "text": "The order n is a key factor in n-gram language models. If n is too small then the model will not capture enough context. However, if n is too large then this will create severe sparse data problems. Both extremes result in a larger perplexity than the optimal context length. Figures 1 and 2 illustrate the influence of order n on classification performance and on language model quality in the previous five experiments (all using absolute smoothing).", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 276, |
| "end": 292, |
| "text": "Figures 1 and 2", |
| "ref_id": "FIGREF1" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Effects of n-Gram Order", |
| "sec_num": "5.1" |
| }, |
| { |
| "text": "Note that in this case the entropy (bits per character) is the average entropy across all testing documents. From the curves, one can see that as the order increases, classification accuracy increases and testing entropy decreases, presumably because the longer context better captures the regularities of the text. However, at some point accu- Figure 2 : The entropy of different n-gram models racy begins to decrease and entropy begins to increase as the sparse data problems begin to set in. Interestingly, the effect is more pronounced in some experiments (Greek genre classification) but less so in other experiments (topic detection under any language). The sensitivity in the Greek genre case could still be attributed to the sparse data problem (the over-fitting problem in genre classification could be more serious than the other problems, as seen from the entropy curves).", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 345, |
| "end": 353, |
| "text": "Figure 2", |
| "ref_id": null |
| } |
| ], |
| "eq_spans": [], |
| "section": "Effects of n-Gram Order", |
| "sec_num": "5.1" |
| }, |
| { |
| "text": "Another key factor affecting the performance of a language model is the smoothing technique used. Figures 3 and 4 show the effects of smoothing techniques on classification accuracy and testing entropy (Chinese topic detection and Japanese topic detection are not shown in the figure to save space).", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 98, |
| "end": 114, |
| "text": "Figures 3 and 4", |
| "ref_id": "FIGREF5" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Effects of Smoothing Technique", |
| "sec_num": "5.2" |
| }, |
| { |
| "text": "Here we find that, in most cases, the smoothing technique does not have a significant effect on text categorization accuracy, because of the small vocabulary size of Greek text genre classification-where Good-Turing smoothing is not as effective as other techniques, even though it gives better test entropy than some others. Since our goal is to make a final decision based on the ranking of perplexities, not just their absolute values, a superior smoothing method in the sense of perplexity reduction (i.e. from the perspective of classical language modeling) does not necessarily lead to a better decision from the perspective of categorization accuracy. In fact, in all our experiments we have found that it is Witten-Bell smoothing, not Good-Turing smoothing, that gives the best results in terms of classification accuracy. Our observation is consistent with previous research which reports that Witten-Bell smoothing achieves benchmark performance in character level text compression (Bell et al., 1990) . For the most part, however, one can use any standard smoothing technique in these problems and obtain comparable performance, since the rankings they produce are almost always the same.", |
| "cite_spans": [ |
| { |
| "start": 992, |
| "end": 1011, |
| "text": "(Bell et al., 1990)", |
| "ref_id": "BIBREF1" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Effects of Smoothing Technique", |
| "sec_num": "5.2" |
| }, |
| { |
| "text": "In principle, any language model can be used to perform text categorization based on Eq. (10). However, n-gram models are extremely simple and have been found to be effective in many applications. For example, character level n-gram language models can be easily applied to any language, and even non-language sequences such as DNA and music. Character level n-gram models are widely used in text compression-e.g., the PPM model (Bell et al., 1990 )-and have recently been found to be effective in text classification problems as well (Teahan and Harper, 2001 ). The PPM model is a weighted linear interpolation n-gram models and has been set as a benchmark in text compression for decades. Building an adaptive PPM model is expensive however (Bell et al., 1990) , and our back-off models are relatively much simpler. Using compression techniques for text categorization has also been investigated in (Benedetto et al., 2002) , where the authors seek a model that yields the minimum compression rate increase when a new test document is introduced. However, this method is found not to be generally effective nor efficient (Goodman, 2002) . In our approach, we evaluate the perplexity (or entropy) directly on test documents, and find the outcome to be both effective and efficient.", |
| "cite_spans": [ |
| { |
| "start": 429, |
| "end": 447, |
| "text": "(Bell et al., 1990", |
| "ref_id": "BIBREF1" |
| }, |
| { |
| "start": 535, |
| "end": 559, |
| "text": "(Teahan and Harper, 2001", |
| "ref_id": "BIBREF18" |
| }, |
| { |
| "start": 743, |
| "end": 762, |
| "text": "(Bell et al., 1990)", |
| "ref_id": "BIBREF1" |
| }, |
| { |
| "start": 901, |
| "end": 925, |
| "text": "(Benedetto et al., 2002)", |
| "ref_id": "BIBREF2" |
| }, |
| { |
| "start": 1123, |
| "end": 1138, |
| "text": "(Goodman, 2002)", |
| "ref_id": "BIBREF7" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Relation to Previous Research", |
| "sec_num": "5.3" |
| }, |
| { |
| "text": "Many previous researchers have realized the importance of n-gram models in designing language independent text categorization systems (Cavnar and Trenkle, 1994; Damashek, 1995) . However, they have used ngrams as features for a traditional feature selection process, and then deployed classifiers based on calculating feature-vector similarities. Feature selection in such a classical approach is critical, and many required procedures, such as stop word removal, are actually language dependent. In our approach, all n-grams are considered as features and their importance is implicitly weighted by their contribution to perplexity. Thus we avoid an error prone preliminary feature selection step.", |
| "cite_spans": [ |
| { |
| "start": 134, |
| "end": 160, |
| "text": "(Cavnar and Trenkle, 1994;", |
| "ref_id": "BIBREF3" |
| }, |
| { |
| "start": 161, |
| "end": 176, |
| "text": "Damashek, 1995)", |
| "ref_id": "BIBREF5" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Relation to Previous Research", |
| "sec_num": "5.3" |
| }, |
| { |
| "text": "We have presented an extremely simple approach for language and task independent text categorization based on character level n-gram language modeling. The approach is evaluated on four different languages and four different text categorization problems. Surprisingly, we observe state of the art or better performance in each case. We have also experimentally analyzed the influence of two factors that can affect the accuracy of this approach, and found that for the most part the results are robust to perturbations of the basic method. The wide applicability and simplicity of this approach makes it immediately applicable to any sequential data (such as natural language, music, DNA) and yields effective baseline performance. We are currently investigating more challenging problems like multiple category classification using the Reuters-21578 data set (Lewis, 1992) and subjective sentiment classification (Turney, 2002) . To us, these results suggest that basic statistical language modeling ideas might be more relevant to other areas of natural language processing than commonly perceived.", |
| "cite_spans": [ |
| { |
| "start": 860, |
| "end": 873, |
| "text": "(Lewis, 1992)", |
| "ref_id": "BIBREF12" |
| }, |
| { |
| "start": 914, |
| "end": 928, |
| "text": "(Turney, 2002)", |
| "ref_id": "BIBREF19" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Conclusion", |
| "sec_num": "6" |
| }, |
| { |
| "text": "http://www.ai.mit.edu/\u02dcjrennie/20Newsgroups/", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "", |
| "sec_num": null |
| } |
| ], |
| "back_matter": [ |
| { |
| "text": "Research supported by Bell University Labs and MI-TACS.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Acknowledgments", |
| "sec_num": "7" |
| } |
| ], |
| "bib_entries": { |
| "BIBREF0": { |
| "ref_id": "b0", |
| "title": "Linguistic Techniques to Improve the Performance of Automatic Text Categorization", |
| "authors": [ |
| { |
| "first": "A", |
| "middle": [], |
| "last": "Aizawa", |
| "suffix": "" |
| } |
| ], |
| "year": 2001, |
| "venue": "Proceedings of the Sixth Natural Language Processing Pacific Rim Symposium (NLPRS2001)", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "A. Aizawa. 2001. Linguistic Techniques to Improve the Performance of Automatic Text Categorization. In Proceedings of the Sixth Natural Language Processing Pacific Rim Symposium (NLPRS2001).", |
| "links": null |
| }, |
| "BIBREF1": { |
| "ref_id": "b1", |
| "title": "Text Compression", |
| "authors": [ |
| { |
| "first": "T", |
| "middle": [], |
| "last": "Bell", |
| "suffix": "" |
| }, |
| { |
| "first": "J", |
| "middle": [], |
| "last": "Cleary", |
| "suffix": "" |
| }, |
| { |
| "first": "I", |
| "middle": [], |
| "last": "Witten", |
| "suffix": "" |
| } |
| ], |
| "year": 1990, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "T. Bell, J. Cleary, and I. Witten. 1990. Text Compression. Prentice Hall.", |
| "links": null |
| }, |
| "BIBREF2": { |
| "ref_id": "b2", |
| "title": "Language Trees and Zipping", |
| "authors": [ |
| { |
| "first": "D", |
| "middle": [], |
| "last": "Benedetto", |
| "suffix": "" |
| }, |
| { |
| "first": "E", |
| "middle": [], |
| "last": "Caglioti", |
| "suffix": "" |
| }, |
| { |
| "first": "V", |
| "middle": [], |
| "last": "Loreto", |
| "suffix": "" |
| } |
| ], |
| "year": 2002, |
| "venue": "Physical Review Letters", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "D. Benedetto, E. Caglioti, and V. Loreto. 2002. Lan- guage Trees and Zipping. Physical Review Letters, 88.", |
| "links": null |
| }, |
| "BIBREF3": { |
| "ref_id": "b3", |
| "title": "N-Gram-Based Text Categorization", |
| "authors": [ |
| { |
| "first": "W", |
| "middle": [], |
| "last": "Cavnar", |
| "suffix": "" |
| }, |
| { |
| "first": "J", |
| "middle": [], |
| "last": "Trenkle", |
| "suffix": "" |
| } |
| ], |
| "year": 1994, |
| "venue": "Proceedings of 3rd Annual Symposium on Document Analysis and Information Retrieval", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "W. Cavnar, J. Trenkle. 1994. N-Gram-Based Text Categorization. Proceedings of 3rd Annual Sympo- sium on Document Analysis and Information Retrieval (SDAIR-94).", |
| "links": null |
| }, |
| "BIBREF4": { |
| "ref_id": "b4", |
| "title": "An Empirical Study of Smoothing Techniques for Language Modeling", |
| "authors": [ |
| { |
| "first": "S", |
| "middle": [], |
| "last": "Chen", |
| "suffix": "" |
| }, |
| { |
| "first": "J", |
| "middle": [], |
| "last": "Goodman", |
| "suffix": "" |
| } |
| ], |
| "year": 1998, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "S. Chen and J. Goodman. 1998. An Empirical Study of Smoothing Techniques for Language Modeling. Tech- nical report, TR-10-98, Harvard University.", |
| "links": null |
| }, |
| "BIBREF5": { |
| "ref_id": "b5", |
| "title": "Gauging Similarity with N-Grams: Language-Independent Categorization of Text", |
| "authors": [ |
| { |
| "first": "M", |
| "middle": [], |
| "last": "Damashek", |
| "suffix": "" |
| } |
| ], |
| "year": 1995, |
| "venue": "Science", |
| "volume": "267", |
| "issue": "", |
| "pages": "843--848", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "M. Damashek. 1995. Gauging Similarity with N-Grams: Language-Independent Categorization of Text?. Sci- ence, Vol. 267, 10 February, 843 -848", |
| "links": null |
| }, |
| "BIBREF6": { |
| "ref_id": "b6", |
| "title": "Inductive Learning Algorithms And Representations For Text Categorization", |
| "authors": [ |
| { |
| "first": "S", |
| "middle": [], |
| "last": "Dumais", |
| "suffix": "" |
| }, |
| { |
| "first": "J", |
| "middle": [], |
| "last": "Platt", |
| "suffix": "" |
| }, |
| { |
| "first": "D", |
| "middle": [], |
| "last": "Heckerman", |
| "suffix": "" |
| }, |
| { |
| "first": "M", |
| "middle": [], |
| "last": "Sahami", |
| "suffix": "" |
| } |
| ], |
| "year": 1998, |
| "venue": "Proceedings of ACM Conference on Information and Knowledge Management (CIKM98)", |
| "volume": "", |
| "issue": "", |
| "pages": "148--155", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "S. Dumais, J. Platt, D. Heckerman and M. Sahami. 1998. Inductive Learning Algorithms And Representations For Text Categorization. In Proceedings of ACM Con- ference on Information and Knowledge Management (CIKM98), Nov. 1998, pp. 148-155.", |
| "links": null |
| }, |
| "BIBREF7": { |
| "ref_id": "b7", |
| "title": "Comment on Language Trees and Zipping", |
| "authors": [ |
| { |
| "first": "J", |
| "middle": [], |
| "last": "Goodman", |
| "suffix": "" |
| } |
| ], |
| "year": 2002, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "J. Goodman. 2002. Comment on Language Trees and Zipping. Unpublished Manuscript.", |
| "links": null |
| }, |
| "BIBREF8": { |
| "ref_id": "b8", |
| "title": "A Comparative Study on Chinese Text Categorization Methods", |
| "authors": [ |
| { |
| "first": "J", |
| "middle": [], |
| "last": "He", |
| "suffix": "" |
| }, |
| { |
| "first": "A", |
| "middle": [], |
| "last": "Tan", |
| "suffix": "" |
| }, |
| { |
| "first": "C", |
| "middle": [], |
| "last": "Tan", |
| "suffix": "" |
| } |
| ], |
| "year": 2000, |
| "venue": "Proceedings of PRICAI'2000 International Workshop on Text and Web Mining", |
| "volume": "", |
| "issue": "", |
| "pages": "24--35", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "J. He, A. Tan, and C. Tan. 2000. A Comparative Study on Chinese Text Categorization Methods. In Proceedings of PRICAI'2000 International Workshop on Text and Web Mining, p24-35.", |
| "links": null |
| }, |
| "BIBREF9": { |
| "ref_id": "b9", |
| "title": "The Federalist Revisited: New Directions in Authorship Attribution. Literary and Linguistic Computing", |
| "authors": [ |
| { |
| "first": "D", |
| "middle": [], |
| "last": "Holmes", |
| "suffix": "" |
| }, |
| { |
| "first": "R", |
| "middle": [], |
| "last": "Forsyth", |
| "suffix": "" |
| } |
| ], |
| "year": 1995, |
| "venue": "", |
| "volume": "10", |
| "issue": "", |
| "pages": "111--127", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "D. Holmes, and R. Forsyth. 1995. The Federalist Revis- ited: New Directions in Authorship Attribution. Liter- ary and Linguistic Computing, 10, 111-127.", |
| "links": null |
| }, |
| "BIBREF10": { |
| "ref_id": "b10", |
| "title": "Automatic Detection of Text Genre", |
| "authors": [ |
| { |
| "first": "B", |
| "middle": [], |
| "last": "Kessler", |
| "suffix": "" |
| }, |
| { |
| "first": "G", |
| "middle": [], |
| "last": "Nunberg", |
| "suffix": "" |
| }, |
| { |
| "first": "H", |
| "middle": [], |
| "last": "Sch\u00fcze", |
| "suffix": "" |
| } |
| ], |
| "year": 1997, |
| "venue": "Proceedings of the Thirty-Fifth Annual Meeting of the Association for Computational Linguistics (ACL1997)", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "B. Kessler, G. Nunberg and H. Sch\u00fcze. 1997. Automatic Detection of Text Genre. Proceedings of the Thirty- Fifth Annual Meeting of the Association for Computa- tional Linguistics (ACL1997).", |
| "links": null |
| }, |
| "BIBREF11": { |
| "ref_id": "b11", |
| "title": "Text Genre Classification with Genre-Revealing and Subject-Revealing Features", |
| "authors": [ |
| { |
| "first": "Y", |
| "middle": [], |
| "last": "Lee", |
| "suffix": "" |
| }, |
| { |
| "first": "S", |
| "middle": [], |
| "last": "Myaeng", |
| "suffix": "" |
| } |
| ], |
| "year": 2002, |
| "venue": "Proceedings of ACM SIGIR Conference on Research and Development in Information Retrieval (SI-GIR2002)", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Y. Lee and S. Myaeng. 2002. Text Genre Classifica- tion with Genre-Revealing and Subject-Revealing Fea- tures. Proceedings of ACM SIGIR Conference on Re- search and Development in Information Retrieval (SI- GIR2002).", |
| "links": null |
| }, |
| "BIBREF12": { |
| "ref_id": "b12", |
| "title": "Representation and Learning in Information Retrieval Phd thesis", |
| "authors": [ |
| { |
| "first": "D", |
| "middle": [], |
| "last": "Lewis", |
| "suffix": "" |
| } |
| ], |
| "year": 1992, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "D. Lewis. 1992. Representation and Learning in Infor- mation Retrieval Phd thesis, Computer Science Dept- ment, Univ. of Massachusetts.", |
| "links": null |
| }, |
| "BIBREF13": { |
| "ref_id": "b13", |
| "title": "A Comparison of Event Models for Naive Bayes Text Classification", |
| "authors": [ |
| { |
| "first": "A", |
| "middle": [], |
| "last": "Mccallum", |
| "suffix": "" |
| }, |
| { |
| "first": "K", |
| "middle": [], |
| "last": "Nigam", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Presss", |
| "suffix": "" |
| } |
| ], |
| "year": 1998, |
| "venue": "Proceedings of AAAI-98 Workshop on \"Learning for Text Categorization", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "A. McCallum and K. Nigam. 1998. A Comparison of Event Models for Naive Bayes Text Classification. Proceedings of AAAI-98 Workshop on \"Learning for Text Categorization\", AAAI Presss.", |
| "links": null |
| }, |
| "BIBREF14": { |
| "ref_id": "b14", |
| "title": "Improving Multi-class Text Classification with Naive Bayes", |
| "authors": [ |
| { |
| "first": "J", |
| "middle": [], |
| "last": "Rennie", |
| "suffix": "" |
| } |
| ], |
| "year": 2001, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "J. Rennie. 2001. Improving Multi-class Text Classifi- cation with Naive Bayes. Master's Thesis. M.I.T. AI Technical Report AITR-2001-004. 2001.", |
| "links": null |
| }, |
| "BIBREF15": { |
| "ref_id": "b15", |
| "title": "Feature Engineering for Text Classification", |
| "authors": [ |
| { |
| "first": "S", |
| "middle": [], |
| "last": "Scott", |
| "suffix": "" |
| }, |
| { |
| "first": "S", |
| "middle": [], |
| "last": "Matwin", |
| "suffix": "" |
| } |
| ], |
| "year": 1999, |
| "venue": "Proceedings of the Sixteenth International Conference on Machine Learning (ICML' 99)", |
| "volume": "", |
| "issue": "", |
| "pages": "379--388", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "S. Scott and S. Matwin. 1999. Feature Engineering for Text Classification. In Proceedings of the Sixteenth In- ternational Conference on Machine Learning (ICML' 99), pp. 379-388.", |
| "links": null |
| }, |
| "BIBREF16": { |
| "ref_id": "b16", |
| "title": "Machine learning in automated text categorization", |
| "authors": [ |
| { |
| "first": "F", |
| "middle": [], |
| "last": "Sebastiani", |
| "suffix": "" |
| } |
| ], |
| "year": 2002, |
| "venue": "ACM Computing Surveys", |
| "volume": "34", |
| "issue": "1", |
| "pages": "1--47", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "F. Sebastiani. 2002. Machine learning in automated text categorization. ACM Computing Surveys, 34(1):1-47.", |
| "links": null |
| }, |
| "BIBREF17": { |
| "ref_id": "b17", |
| "title": "Automatic Text Categorization in Terms of Genre and Author", |
| "authors": [ |
| { |
| "first": "E", |
| "middle": [], |
| "last": "Stamatatos", |
| "suffix": "" |
| }, |
| { |
| "first": "N", |
| "middle": [], |
| "last": "Fakotakis", |
| "suffix": "" |
| }, |
| { |
| "first": "G", |
| "middle": [], |
| "last": "Kokkinakis", |
| "suffix": "" |
| } |
| ], |
| "year": 2000, |
| "venue": "Computational Linguistics", |
| "volume": "26", |
| "issue": "4", |
| "pages": "471--495", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "E. Stamatatos, N. Fakotakis and G. Kokkinakis. 2000. Automatic Text Categorization in Terms of Genre and Author. Computational Linguistics, 26 (4), 471-495.", |
| "links": null |
| }, |
| "BIBREF18": { |
| "ref_id": "b18", |
| "title": "Using Compression-Based Language Models for Text Categorization. Proceedings of", |
| "authors": [ |
| { |
| "first": "W", |
| "middle": [], |
| "last": "Teahan", |
| "suffix": "" |
| }, |
| { |
| "first": "D", |
| "middle": [], |
| "last": "Harper", |
| "suffix": "" |
| } |
| ], |
| "year": 2001, |
| "venue": "Workshop on Language Modeling and Information Retrieval", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "W. Teahan and D. Harper. 2001. Using Compression- Based Language Models for Text Categorization. Pro- ceedings of 2001 Workshop on Language Modeling and Information Retrieval.", |
| "links": null |
| }, |
| "BIBREF19": { |
| "ref_id": "b19", |
| "title": "Thumbs Up or Thumbs Down? Semantic Oritentation Applied to Unsupervised Classification of Reviews", |
| "authors": [ |
| { |
| "first": "P", |
| "middle": [], |
| "last": "Turney", |
| "suffix": "" |
| } |
| ], |
| "year": 2002, |
| "venue": "Proceedings of 40th Annual Conference of Association for Computational Linguistics", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "P. Turney. 2002. Thumbs Up or Thumbs Down? Seman- tic Oritentation Applied to Unsupervised Classification of Reviews. Proceedings of 40th Annual Conference of Association for Computational Linguistics (ACL 2002)", |
| "links": null |
| }, |
| "BIBREF20": { |
| "ref_id": "b20", |
| "title": "An Evaluation of Statistical Approaches to Text Categorization", |
| "authors": [ |
| { |
| "first": "Y", |
| "middle": [], |
| "last": "Yang", |
| "suffix": "" |
| } |
| ], |
| "year": 1999, |
| "venue": "Information Retrieval", |
| "volume": "1", |
| "issue": "1/2", |
| "pages": "67--88", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Y. Yang. 1999. An Evaluation of Statistical Approaches to Text Categorization. Information Retrieval, 1(1/2), pp. 67-88.", |
| "links": null |
| } |
| }, |
| "ref_entries": { |
| "FIGREF1": { |
| "text": "Influence of the order n on the classification performance", |
| "type_str": "figure", |
| "num": null, |
| "uris": null |
| }, |
| "FIGREF3": { |
| "text": "Figure 3: Influence of smoothing on accuracy", |
| "type_str": "figure", |
| "num": null, |
| "uris": null |
| }, |
| "FIGREF5": { |
| "text": "The entropy of different smoothing character level n-gram models. However, there are two exceptions-Greek authorship attribution and", |
| "type_str": "figure", |
| "num": null, |
| "uris": null |
| }, |
| "TABREF1": { |
| "num": null, |
| "html": null, |
| "type_str": "table", |
| "content": "<table/>", |
| "text": "Results on Greek authorship attribution even when they are based on the same character set." |
| }, |
| "TABREF3": { |
| "num": null, |
| "html": null, |
| "type_str": "table", |
| "content": "<table/>", |
| "text": "Results on Greek text genre classification" |
| }, |
| "TABREF5": { |
| "num": null, |
| "html": null, |
| "type_str": "table", |
| "content": "<table><tr><td/><td colspan=\"8\">: Topic detection results on English 20 Newsgroup</td></tr><tr><td>data</td><td/><td/><td/><td/><td/><td/><td/></tr><tr><td>n</td><td colspan=\"2\">Absolute</td><td colspan=\"2\">Good-Turing</td><td/><td>Linear</td><td colspan=\"2\">Witten-Bell</td></tr><tr><td/><td>Acc.</td><td>F-Mac</td><td>Acc.</td><td>F-Mac</td><td>Acc.</td><td>F-Mac</td><td>Acc.</td><td>F-Mac</td></tr><tr><td colspan=\"2\">1 0.77</td><td>0.77</td><td>0.76</td><td>0.77</td><td>0.76</td><td>0.76</td><td>0.77</td><td>0.77</td></tr></table>", |
| "text": "" |
| }, |
| "TABREF6": { |
| "num": null, |
| "html": null, |
| "type_str": "table", |
| "content": "<table/>", |
| "text": "" |
| }, |
| "TABREF8": { |
| "num": null, |
| "html": null, |
| "type_str": "table", |
| "content": "<table/>", |
| "text": "Japanese topic detection results" |
| } |
| } |
| } |
| } |