<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="145"/><title>N-gram Based Text Classification According To Authorship</title><pubinfo>Proceedings of the Student Research Workshop associated with RANLP 2011,pages 145-149, Hissar, Bulgaria, 13 September 2011.</pubinfo><author surname="Zečević" givenname="Andelka"><org  name="University of Belgrade" country="Montenegro" city="Serbia and"/></author></firstpageheader><frontmatter><p><b>N-gram Based Text Classification According </b><b>To</b><b> Authorship</b></p><p><b>Andelka Zecevic</b></p><p>Faculty of Mathematics, University of Belgrade, Serbia andjelkaz@matf.bg.ac.rs</p></frontmatter><abstract>Authorship attribution studies consider author's identification of an anonymous text. This is a long history problem with a great number of various approaches. Those ones based on n-grams single out by their performances and good results. A n-gram approach is language independent but the selection of a number <i>n </i>is actually not. The focus of this paper is determination of a set of optimal values for number <i>n </i>for specific task of classification of newspaper articles written in Serbian according to authorship. We combine two different algorithms: the first one is based on counting common n-grams and the another one is based on relative frequency of n-grams. Experimental results are obtained for pairs of n-gram and profile sizes and it can be concluded that for all profile sizes the best results are obtained for 3&lt;n&lt;7. </abstract></header><body><section number="1" title="Introduction"><p>Language is just one of many possible ways for expressing individuality. For researchers in the field of authorship attribution the focus of interests is how this uniqueness enacts on writing and how it can be measured. During the period of nontraditional approach to this problem the variety of features for quantifying the writing style are considered - from lexical to application-specific (Stamatatos, 2009). N-grams are treated as character features and they are widely used in statistical natural language processing.</p><p>From a machine learning point of view, the authorship attribution problem can be viewed as text classification task: automatically sorting a set of texts into classes from a predefined set (Sebastiani, 2001). Here, each class represents a concrete author.</p><p>A goal of this paper is to identify authors of anonymous articles from the local daily newspapers using n-gram based algorithm. The articles discuss similar topics, all are written in Serbian and published in the same period of time.</p><p>The scheme of our algorithm is depicted in Figure 1 and represents a classical profile-based algorithm:</p><p><b>Training Data</b> <b>New Article</b></p><p><b>Generate Profile </b>I</p><doubt alpha="88.2" length="17" tooSmall="True" monospace="0.0">Generate Profile!</doubt><p><b>Authors' Profiles</b></p><p><b>Article's Profile</b> <b>Measure Profile Distance</b></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">\</doubt><p><b>Profile Distances</b> <b>Find Minimum Distance</b></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">T</doubt><p><b>Selected Author</b></p><figure caption="Figure 1: The algorithm schema"></figure><p>the training data set is used for generating authors profiles, authors profiles are laid aside until a new article arrives. Then, the article profile is generated and compared to all authors' profiles. The system selects the author whose profile has the smallest distance to the article's profile.</p><p>The remainder of the paper is organized as follows. In Section 2 we define a byte level ngram, in Section 3 we discuss n-gram generation and propose a data structure for storing all relevant information.<page local="2" global="146"/> A text profile is defined in Section 4 while Section 5 introduces a distance measure between two profiles. Section 6 discusses measures for estimation of classification effectiveness. Section 7 summarizes obtained results and finally, Section 8 presents some conclusions and future directions.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">[</doubt></section><section number="2" title="N-grams"><p>A n-gram is a continuous sequence of <i>n </i>bytes or <i>n </i>characters or <i>n </i>words of a longer portion of a text. Therefore, we distinguish <i>byte level, character level </i>and <i>word level </i>n-grams. For example, for portion of a text <i>green tee </i>all character level 5-grams are: <i>green, reen_, een_t, en Je </i>and <i>njee </i>where the underscore character (_) represents a blank and all word level 1-grams are: <i>green </i>and <i>tee.</i></p><p>In this paper we will focus on byte level n-grams. Character byte representation depends on character encoding. We will consider only UTF-8 encoding. For example, for the English word <i>day </i>the appropriate sequence of bytes is 01100100 01100001 01111001 and for the Serbian word <i>sta </i>(English <i>what) </i>the sequence is 11000101 10100001 01110100 01100001. These two representations differ in size because there are a few Serbian letters (s, z, c, c, d) which are two bytes long. That means we can split them in two meaningless parts if we use byte level n-grams. Despite the fact that a great number of n-grams will contain both bytes we can benefit from this approach in aspect of more efficient memory usage.</p><p>In general, n-grams afford language independent processing, tracking of lexical and contextual information, more robust behaviour in the presence of different kinds of textual errors because errors affect only a limited number of n-grams (Cavnar and Trenkle, 1994) and automatic detection of words that share the same root form (Stamatatos, 2009).</p></section><section number="3" title="N-gram Generation"><p>The computational requirements of byte level n-grams extraction are minimal - a single pass through the text is sufficient and requires no special tools. Some text preprocessing such as character selection or conversion of letters to uppercase or lowercase can be done, but it is not the case in our approach.</p><p>Adjacent n-grams overlap and contain redundant information so the memory requirements are more intensive in comparison to methods that store only words. If the portion of a text is <i>K </i>byte length the number of n-grams is <i>K+1-N </i>so the total size of the memory is <i>(K+1-N)*N </i>bytes.</p><p>We decided to store all n-grams in a data structure called a trie or prefix tree (Aho et al., 1983; Sedgewick, 2002). A node of a trie (Figure 2) contains a single byte value and from the node position we discover the value of the corresponding n-gram - picking up one by one byte on the path from the root of the trie to that node. Besides the field <i>byte </i>containing the byte value, each node contains the field <i>count </i>with the number of occurrences. The field <i>isEnd </i>determines if the <i>byte </i>is the end byte of the n-gram or not and it is obilagatory field because we work with n-grams of fixed size. Two additional link fields are included - one to its children named <i>children </i>and one to the next node in the trie named <i>nextTrieNode</i>.</p><p><i>struct TrieNode{ char byte; unsigned int count; int isEnd;</i> <i>struct TrieNode* children[SIZE]; struct TrieNode * nextTrieNode;</i></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">}</doubt><figure caption="Figure 2: The node definition"></figure><p>The main advantage of using tries over using other data structures such as trees or hash tables is effective retrieval (looking up a n-gram takes worst case O(n) time) and the time for the operations insert, find and delete a node is almost indentical.</p></section><section number="4" title="Text Profile"><p>A text profile is a set of M most frequent n-grams. Precisely, it is a set of pairs</p><p>{(x1, f1), ... , (xm-1, fm-1)} (Keselj et al., 2003) where <i>xi </i>denotes a n-gram value and <i>fi </i>its relative frequency. The number <i>M </i>is called profile size.</p><p>For the purpose of classification we need text profile generation in the following steps: when we define authors' profiles and when a new article arrives for classification.</p><page local="3" global="147"/><p>Single author's profile is generated from its training data set. For each text in the training data set all n-grams are extracted and added to the author's trie. Every time a n-gram is added to the author's trie the number of its occurrences is increased by one. When done, all n-grams are put in the array and sorted into descending order by the number of occurrences. Only the first <i>M </i>n-grams are kept and their numbers of occurrences are divided by the total number of n-grams in training data set to obtain relative frequencies.</p><p>The process of generating a new article's profile is the same as above except there is no training data set but only the given article.</p></section><section number="6" title="Classification Effectiveness"><p>For estimating the effectiveness of a single class classification we use Fi measure:</p><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">Fx</doubt><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">P-RP+R</doubt><p>which attributes equal importance to precision P and recall R:</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">P</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">TP</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">, R</doubt><p><i>TP+FPi</i><i> </i><i>TP+FN</i><i> </i>Another measure we use is accuracy:</p><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">TP+TN</doubt><p><i>accuracy</i></p><p><i>TP+TN+FP+FN</i></p></section><section number="5" title="Distance Measure"><p>A distance measure used in this paper is where <i>A </i>is an author profile, a is an article profile, <i>x </i>is byte level n-gram and <i>/</i><i>a</i><i>(x) </i>and <i>fa(x) </i>are the relative frequencies of that n-gram in author and article profile. The same distance values are obtained if condition <i>x in A </i>is replaced with <i>x in a </i>cause only common n-grams are taken into account.</p><doubt alpha="44.4" length="9" tooSmall="False" monospace="0.0">d{A.a)=^A</doubt><doubt alpha="31.2" length="16" tooSmall="False" monospace="0.0">■2-:fM.r)-L(.r))</doubt><doubt alpha="54.5" length="11" tooSmall="False" monospace="0.0">fA(x)+fa(x)</doubt><p>This measure combines two measures originally proposed by Keselj et al. (2003) and Frantzeskou et al. (2006). The first one is <i>dissimilarity measure </i>and takes into account all n-grams of author's profile and article's profile. In case where at least one author's profile is shorter then profile size <i>M, </i>this function favors that author. The second measure is called <i>simplified profile intersection </i>and takes into account only the common n-grams of author's and article's profile. In case where one of the author's profile is longer then others, this function favors that author. In our case the first problem is avoided by using profiles intersection, while the second problem is avoided by calculating relative frequencies of n-grams.</p><p>When a new article arrives for classification, the distance among article's profile and each of the author's profile is calculated. The system applies i-nearest neighbour algorithm (Mitchell, 1997), picks the minimal distance and assigns the article to the winning author.</p><p>Values TP, TN, FP and FN are values from the contingency table: number of yes-yes, no-no, yes-no and no-yes labeled articles.</p><p>For overall estimation of effectiveness we used macroaverage of individual values (Sebastiani, 2001):</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">l</doubt><doubt alpha="61.5" length="13" tooSmall="False" monospace="0.0">-, accuracy =</doubt><p><i>accuracyi</i></p><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">cac</doubt><p>where <i>c </i>is the total number of authors.</p></section><section number="7" title="Results"><p>We tried to classify anonymous articles of three authors<footnote anchor="1"/>. A training data set for each author is approximately 100KB in size and contains respectively 20, 17 and 27 articles available on the Internet archive<footnote anchor="2"/>. The program is tested on two test data sets - the first one sizes approximately 220KB and consists of 45 articles (15 for each author) and the second one sizes approximately 330KB and consist of 60 articles (20 for each author). Table 1 and Table 2 represent obtained values in respect to accuracy and F1 measure for the second test set.</p><p>The system achieves accuracy over 80% for all n-gram sizes greater then 2 and the profile sizes greater then 500 n-grams. Accuracy increases with the size of the profile and the best results are obtained for 3&lt; n &lt;7.</p><p>The similar conclusion can be drawn from the Table 2. F1 measure values are over 80% for all n-gram sizes greater then 4 and the profile sizes greater then 1000.</p></section><section number="1" title="Authors names are: S. Bisevac, Z. Panovic and A. Roknic"></section><section number="2" title="http://www.danas.rs"><page local="4" global="148"/></section><section number="8" title="Conclusions and Future Directions"><p>The presented method is not novel but it gives some insights into results referring to Serbian. The algorithm has demonstrated good performance, but it should be applied to other languages to see how it works. Also a threshold existence should be examined in order to achieve precise and more effective classification according to authorship.</p><p>Table2: F1 measure in our calculation when TP=FP=FN=0, F1 measure is defined as 0<page local="5" global="149"/></p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Profile size</p></td><td class="cell"><p>N-gram size</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>2</p></td><td class="cell"><p>3</p></td><td class="cell"><p>4</p></td><td class="cell"><p>5</p></td><td class="cell"><p>6</p></td><td class="cell"><p>7</p></td><td class="cell"><p>8</p></td><td class="cell"><p>9</p></td><td class="cell"><p>10</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>20</p></td><td class="cell"><p>0.7</p></td><td class="cell"><p>0.68</p></td><td class="cell"><p>0.62</p></td><td class="cell"><p>0.64</p></td><td class="cell"><p>0.71</p></td><td class="cell"><p>0.7</p></td><td class="cell"><p>0.62</p></td><td class="cell"><p>0.63</p></td><td class="cell"><p>0.54</p></td><td class="cell"><p>0.58</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>50</p></td><td class="cell"><p>0.75</p></td><td class="cell"><p>0.82</p></td><td class="cell"><p>0.68</p></td><td class="cell"><p>0.68</p></td><td class="cell"><p>0.67</p></td><td class="cell"><p>0.71</p></td><td class="cell"><p>0.67</p></td><td class="cell"><p>0.62</p></td><td class="cell"><p>0.58</p></td><td class="cell"><p>0.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>100</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.66</p></td><td class="cell"><p>0.71</p></td><td class="cell"><p>0.72</p></td><td class="cell"><p>0.71</p></td><td class="cell"><p>0.75</p></td><td class="cell"><p>0.7</p></td><td class="cell"><p>0.7</p></td><td class="cell"><p>0.64</p></td><td class="cell"><p>0.67</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>500</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.84</p></td><td class="cell"><p>0.87</p></td><td class="cell"><p>0.86</p></td><td class="cell"><p>0.85</p></td><td class="cell"><p>0.91</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.84</p></td><td class="cell"><p>0.84</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1000</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.55</p></td><td class="cell"><p>0.87</p></td><td class="cell"><p>0.86</p></td><td class="cell"><p>0.86</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.82</p></td><td class="cell"><p>0.82</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1500</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.55</p></td><td class="cell"><p>0.91</p></td><td class="cell"><p>0.93</p></td><td class="cell"><p>0.93</p></td><td class="cell"><p>0.95</p></td><td class="cell"><p>0.91</p></td><td class="cell"><p>0.91</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.91</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2000</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.55</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.91</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3000</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.55</p></td><td class="cell"><p>0.91</p></td><td class="cell"><p>0.93</p></td><td class="cell"><p>0.94</p></td><td class="cell"><p>0.93</p></td><td class="cell"><p>0.96</p></td><td class="cell"><p>0.91</p></td><td class="cell"><p>0.91</p></td><td class="cell"><p>0.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4000</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.55</p></td><td class="cell"><p>0.81</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.93</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.95</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.91</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5000</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.55</p></td><td class="cell"><p>0.82</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.94</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.84</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Table 1: Accuracy</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Profile size</p></td><td class="cell"><p>N-gram size</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>2</p></td><td class="cell"><p>3</p></td><td class="cell"><p>4</p></td><td class="cell"><p>5</p></td><td class="cell"><p>6</p></td><td class="cell"><p>7</p></td><td class="cell"><p>8</p></td><td class="cell"><p>9</p></td><td class="cell"><p>10</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>20</p></td><td class="cell"><p>0.53</p></td><td class="cell"><p>0.54</p></td><td class="cell"><p>0.44</p></td><td class="cell"><p>0.46</p></td><td class="cell"><p>0.57</p></td><td class="cell"><p>0.53</p></td><td class="cell"><p>0.38</p></td><td class="cell"><p>0.42</p></td><td class="cell"><p>0.28</p></td><td class="cell"><p>0.35</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>50</p></td><td class="cell"><p>0.61</p></td><td class="cell"><p>0.72</p></td><td class="cell"><p>0.53</p></td><td class="cell"><p>0.53</p></td><td class="cell"><p>0.5</p></td><td class="cell"><p>0.53</p></td><td class="cell"><p>0.5</p></td><td class="cell"><p>0.39</p></td><td class="cell"><p>0.35</p></td><td class="cell"><p>0.37</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>100</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0.5</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.59</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.61</p></td><td class="cell"><p>0.51</p></td><td class="cell"><p>0.53</p></td><td class="cell"><p>0.41</p></td><td class="cell"><p>0.48</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>500</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0.75</p></td><td class="cell"><p>0.81</p></td><td class="cell"><p>0.8</p></td><td class="cell"><p>0.78</p></td><td class="cell"><p>0.86</p></td><td class="cell"><p>0.84</p></td><td class="cell"><p>0.79</p></td><td class="cell"><p>0.78</p></td><td class="cell"><p>0.76</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1000</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0.81</p></td><td class="cell"><p>0.8</p></td><td class="cell"><p>0.8</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.82</p></td><td class="cell"><p>0.82</p></td><td class="cell"><p>0.7</p></td><td class="cell"><p>0.71</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1500</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0.86</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.93</p></td><td class="cell"><p>0.86</p></td><td class="cell"><p>0.86</p></td><td class="cell"><p>0.83</p></td><td class="cell"><p>0.86</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2000</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.85</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.85</p></td><td class="cell"><p>0.84</p></td><td class="cell"><p>0.83</p></td><td class="cell"><p>0.86</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3000</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0.86</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.91</p></td><td class="cell"><p>0.89</p></td><td class="cell"><p>0.94</p></td><td class="cell"><p>0.86</p></td><td class="cell"><p>0.86</p></td><td class="cell"><p>0.85</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4000</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0.71</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.89</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.93</p></td><td class="cell"><p>0.83</p></td><td class="cell"><p>0.83</p></td><td class="cell"><p>0.86</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5000</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0.73</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.91</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.83</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.76</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></section><references><p>A. Aho, J. Hopcroft and D. Ulman. 1983. <i>Data Structures and Algorithms. </i>Pearson. Addison-Wesley. Paperback</p><p>A. Rahmoun and Z. Elberrichi. 2007. <i>Experimenting n-grams in Text Categorization. </i>Issue of International Arab Journal of Information Technology, Vol 4, N°.4 :</p><p>377-385.</p><p>E. Stamatatos. 2009. <i>A Survey of Modern Authorship Attribution Methods. </i>Journal of the American Society for Information Science and Technology, 60(3): 538­556. Wiley.</p><p>F. Sebastiani. 2001. <i>Machine Learning in Automated Text Categorization. </i>ACM Computing Surveys, 34(1 ):147.</p><p>G. Frantzeskou, E. Stamatatos, S. Gritzalis and S. Katsikas. 2006. <i>Effective identification of source code authors using byte-level information. </i>In Proceedings of the 28th International Conference on Software Engineering, 893-896. ACM Press.</p><p>R. Sedgewick. 2002. <i>Algorithms in C. </i>Adison-Wesley.</p><p>T. Mitchell. 1997. <i>Machine Learning. </i>McGraw Hill.</p><p>V Keselj, F. Peng, N. Cercone and C. Thomas. 2003. <i>N-gram based author profiles for authorship attribution. </i>Pacific Association for Computational Linguistics, 255-264, Halifax, Canada.</p><p>W. Cavnar and J. Trenkle. 1994. <i>N-gram-Based Text Categorization. </i>Proceedings of SDAIR-94, 3rd Annual Symposium on Document Analysis and Information Retrieval.</p></references></body></article>