<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Text Classification Using Association Rules, Dependency Pruning and Hyperonymization</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yannis Haralambous</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Philippe Lenca</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institut Mines Telecom, Telecom Bretagne, UMR CNRS 6285 Lab-STICC Technopoˆle Brest Iroise CS 83818</institution>
          ,
          <addr-line>29238 Brest Cedex 3</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <fpage>65</fpage>
      <lpage>80</lpage>
      <abstract>
        <p>We present new methods for pruning and enhancing itemsets for text classification via association rule mining. Pruning methods are based on dependency syntax and enhancing methods are based on replacing words by their hyperonyms of various orders. We discuss the impact of these methods, compared to pruning based on tfidf rank of words.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Automatic text classification is an important text mining task, due to the huge
number of text documents that we have to manage daily. Text classification has
a wide variety of applications such as Web document and email classification.
Indeed, most of the Web news services daily provide a large number of articles
making them impossible to be organized manually [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Automatic subject
classification [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and SPAM filtering [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] are two additional examples of the interest
of automatic text classification.
      </p>
      <p>Automatic text classification can be defined as below. Given a set of
documents such that each document is labeled with a class value, learn a model that
assigns a document with unknown class to one or more particular classes. This
can also be done by assigning a probability value to each class or by ranking the
classes.</p>
      <p>
        A wide variety of classical machine learning techniques have been used for
text classification. Indeed, texts may be represented by word frequencies vectors,
and thus most of the quantitative data methods can be used directly on the
notorious “bag-of-words” model (cf. [
        <xref ref-type="bibr" rid="ref27 ref3">27,3</xref>
        ]).
      </p>
      <p>
        Choosing a classifier is a multicriteria problem. In particular one has often
to make a trade-o↵ between accuracy and comprehensibility. In this paper, we
are interested in both criteria with a deeper interest in comprehensibility. We
are thus interested in rule-based approaches and especially in class association
rules algorithms. Several studies have already successfully considered association
rule-based approaches in text mining (e.g., [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ], [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ]). This framework is
suitable for considering some statistical characteristics (e.g., high-dimensionality,
sparsity. . . ) of the bag-of-words model where a document is represented as a set
of words with their associated frequency in the document.
      </p>
      <p>
        However a text is more than a set of words and their frequencies. Enhancing
the bag-of-words approach with linguistic features has also attracted several
works (e.g., [
        <xref ref-type="bibr" rid="ref11 ref12 ref13 ref22">12,11,13,22</xref>
        ], [
        <xref ref-type="bibr" rid="ref10 ref16 ref23">23,16,10</xref>
        ], [
        <xref ref-type="bibr" rid="ref21 ref6">21,6</xref>
        ]).
      </p>
      <p>We here propose a class association rules based approach enriched by
linguistic knowledge. The paper is organized as follows: after introducing the
techniques we are going to use (class association rules § 1.1, dependencies § 1.2,
hyperonymization § 1.3) we describe our main algorithms (for training § 2.1,
classifying § 2.2 and evaluating § 2.3); follows the experimental section, where we
give results obtained by tfidf pruning § 3.2, dependency-based pruning § 3.3 and
hyperonymization § 3.4, and, finally, we end up by a conclusion and perspectives
for future work § 4.
1</p>
      <p>Proposed model for text classification
Let a corpus be a set C = {D1, . . . , Dn} of documents. Let C be a set of classes.</p>
      <sec id="sec-1-1">
        <title>An annotated corpus is a pair (C, class) where class : C ! C is a function that maps each document Di to a (predefined) class of C.</title>
      </sec>
      <sec id="sec-1-2">
        <title>A document D 2 C is a set of sentences S. The corpus C can be considered</title>
        <p>as a set of sentences S = {S1, . . . , Sm} if we go through the forgetful functor
(which forgets the document to which the sentence belongs). Repeated sentences
in the same document, or identical sentences in di↵erent documents are
considered as distinct, i.e., there is a function ◆ : S ! C which restores the forgotten
information. We extend the class function to S by class(S) := class(◆ (S)).</p>
        <p>A sentence S is a sequence of words w (sometimes we will consider S simply
as a set, without changing the notation). Let W = SS2 S Sw2 S{w} be the set of
all words of C.
1.1</p>
        <sec id="sec-1-2-1">
          <title>Class association rules and text classification</title>
        </sec>
      </sec>
      <sec id="sec-1-3">
        <title>Let I be a set of objects called items and C a set of classes. A transaction T is a</title>
        <p>pair ({i1, . . . , in}, c), where {i1, . . . , in} ✓ I and c 2 C . We denote by T the set
of transactions, by items(T ) the set of items (or “itemset”) of T and by class(T )
the class of T .</p>
        <p>Let I be an itemset. The support of I is defined by
supp(I) := #{T 2T | I✓ items(T )} .</p>
        <p>#T</p>
      </sec>
      <sec id="sec-1-4">
        <title>Let 2 [0, 1] be a value called minimum support. An itemset I is called frequent</title>
        <p>if its support exceeds .</p>
        <p>The confidence of a transaction t is defined as
conf(t) := #{T 2T | items(t)✓ items(T )^ class(t)=class(T )} .</p>
        <p>
          #{T 2T | items(t)✓ items(T )}
Let  2 [
          <xref ref-type="bibr" rid="ref1">0, 1</xref>
          ] be a value called minimum confidence. A class association rule (or
“CAR”) r = ({i1, . . . , in}, c) [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] is a transaction with frequent itemset and a
confidence exceeding  .
        </p>
        <p>To classify text with CARs, we consider words as being items, documents as
being itemsets and pairs of documents and classes as being transactions. The
advantage of this technique is that CARs can be easily understood and hence
potentially improved by the user, especially if the classifier is tuned so that it
produces humanly reasonable number of rules. Once the classifier is trained, to
classify a new sentence we first find all CARs whose items are contained in the
sentence, and then use an aggregation technique to choose a predominant class
among those of the CARs we found.</p>
        <p>An important issue of CARs is that the complexity is exponential with
respect to the itemset size, and hence we need to keep it bounded in specific ranges,
independently of the size of documents to classify. Using entire documents as
transactions is computationally out of reach, therefore pruning techniques play
an important rˆole. Our approach consists in (a) restricting CARs to the sentence
level, (b) prune sentences by using morphosyntactic information (cf. § 1.2) and
modifying itemsets using semantic information (cf. § 1.3).
1.2</p>
        <sec id="sec-1-4-1">
          <title>Itemset pruning using dependencies</title>
        </sec>
      </sec>
      <sec id="sec-1-5">
        <title>One can prune sentences either by using word frequencies (cf. § 3.2) or by using</title>
        <p>information obtained by morphosyntactic parsing (cf. § 3.3). In this paper we
introduce the latter approach, in the frame of dependency grammar.</p>
        <p>
          Dependency grammar [
          <xref ref-type="bibr" rid="ref19 ref28">28,19</xref>
          ] is a syntactic theory, alternative to
phrasestructure analysis [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] which is traditionally taught in primary and secondary
education. In phrase-structure syntax, trees are built by grouping words into
“phrases” (with the use of intermediate nodes NP, VP, etc.), so that the root
of the tree represents the entire sentence and its leaves are the actual words.
In dependency grammar, trees are built using solely words as nodes (without
introducing any additional “abstract” nodes). A single word in every sentence
becomes the root (or head ) of the tree. An oriented edge between two words is a
dependency and is tagged by a representation of some (syntactic, morphological,
semantic, prosodic, etc.) relation between the words. For example in the sentence
“John gives Mary an apple,” the word “gives” is the head of the sentence and
we have the following four dependencies:
head
        </p>
        <p>dobj
nsubj
iobj
det
John
gives</p>
        <p>Mary
an
apple.
where tags nsubj, dobj, iobj, det denote “noun subject,” “direct object,”
“indirect object” and “determinant.”</p>
      </sec>
      <sec id="sec-1-6">
        <title>Let S be a sentence and D be the set of dependency tags: {nsubj, ccomp,</title>
        <p>prep, dobj, . . . } A dependency is a triple (w1, w2, d) where w1, w2 2 S and d 2 D .
Let Dep(S) denote the set of dependencies of S and root(S) the head of S.
Pruning will consist in defining a morphosyntactic constraint i.e. a condition
on dependencies (and POS tags) of words, the fulfillment of which is necessary
for the word to be included in the itemset.</p>
        <p>But before describing pruning algorithms and strategies, let us first present
a second technique used for optimizing itemsets. This time we use semantic
information. We propose to replace words by their hyperonyms, expecting that
the frequencies of the latter in the itemsets will be higher than those of the
former, and hence will improve the classification process.
1.3</p>
        <sec id="sec-1-6-1">
          <title>Hyperonymization</title>
          <p>
            The WordNet lexical database [
            <xref ref-type="bibr" rid="ref20">20</xref>
            ] contains sets of words sharing a common
meaning, called synsets, as well as semantic relations between synsets, which
we will use to fulfill our goal. More specifically, we will use the relations of
hyperonymy and of hyperonymic instance. The graph having synsets as nodes,
and hyperonymic relations as edges, is connected and rooted: starting with an
arbitrary synset, one can iterate these two relations until attaining a sink. Note
that in the case of nouns it will invariably be the synset 00001740 {entity} while
for verbs there are approx. 550 di↵erent verb sinks.
          </p>
        </sec>
      </sec>
      <sec id="sec-1-7">
        <title>Let W be the WordNet lexical database, s 2 W a synset and h : W ! 2W</title>
        <p>the hyperonymic or hyperonymic instance relation. We define an hyperonymic
chain CH(s) as a sequence (si)i 0 where s0 = s and si 2 h(si 1), for all i 1.
Hyperonymic chains are not unique since a given synset can have many
hyperonyms. To replace a word by the most pertinent hyperonym, we have to identify
the most significant hyperonymic chains of it.</p>
        <p>
          The wn-similarity project [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ] has released synset frequency calculations
based on various corpora. Let lf(s) denote the logarithmic frequency of synset s
in the BNC English language corpus [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] and let us arbitrarily add
infinitesimally small values to the frequencies so that they become unique (s 6= s0 )
lf(s) 6= lf(s0)). We use frequency as the criterion for selecting a single
hyperonymic chain to represent a given synset, and hence define the most significant
hyperonymic chain MSCH(s) as the hyperonymic chain (si)i 0 of s such that
si = arg maxs2 h(si 1) lf(s), for all i 1. The chain MSCH(s) is unique thanks
to the uniqueness of synset frequencies.
        </p>
        <p>Our CARs are based on words, not synsets. Hence we need to extend MSCHs
to words. Let w be a lemmatized word. We denote by Synsets(w) ⇢ W the set
of synsets containing w. If the cardinal #(Synsets(w)) &gt; 1 then we apply a
standard disambiguation algorithm to find the most appropriate synset sw for
w in the given context. Then we take (si)i = MSCH(sw) and for each synset
si in this chain we define hi(w) = proj1(si) (i &gt; 0), that is the projection
of si to its first element, which by WordNet convention is the most frequent
word in the synset. The function vector h⇤ : W ! W (with h0 ⌘ Id) is called
hyperonymization, and hi(w) is the i-th order hyperonym of w.</p>
        <sec id="sec-1-7-1">
          <title>Algorithm 1: Training</title>
          <p>Data: An annotated corpus C, values of minimum support and minimum
confidence 
Result: A set of CARs R = ({R1, . . . , RN }, conf) where items(Ri) ⇢ W ,
class(Ri) 2 C , and conf(Ri) is the confidence of rule Ri
Train(C, ,  ):</p>
          <p>S := forgetful(C); S0 := ; ;
for S 2 S do</p>
          <p>S0 := Hyperonymize (Prune (Lemmatize (S)));
class(S0) := class(◆ (S));</p>
          <p>S0 := S0 [ { S0};
end</p>
          <p>R := Apriori (S0, ,  );
end
2</p>
          <p>Operational implementations for document
classification
Our text classifier operates by first training the classifier on sentences and then
classifying the documents by aggregating sentence classification. These two
procedures are described in Sections 2.1 and 2.2 respectively. Specific evaluation
procedure is presented in Section 2.3.
2.1</p>
        </sec>
        <sec id="sec-1-7-2">
          <title>Training</title>
          <p>The Train algorithm (cf. Alg. 1) takes as input an annotated corpus C and
values of minimum support and minimum confidence  . It returns a set of
CARs together with their confidence values.</p>
          <p>The first part of the algorithm consists in processing the corpus, to obtain
ecient and reasonably sized transactions. Three functions are applied to every
sentence:</p>
        </sec>
      </sec>
      <sec id="sec-1-8">
        <title>1. Lemmatize is standard lemmatization: let P be the set of POS tags of the</title>
        <p>
          TreeTagger system [
          <xref ref-type="bibr" rid="ref26">26</xref>
          ] (for example, NP stands for “proper noun, singular”,
VVD stands for “verb, past tense”, etc.), and let W0 be the set of lemmatized
forms of W (for example, “say” is the lemmatized form of “said”); then we
define : W ! (W [ W 0) ⇥ P , which sends a word w to the pair (w0, p)
where w0 is the lemmatized form of w (or w itself, if the word is unknown
to TreeTagger ) and p is its POS tag.
2. Prune is a function which prunes the lemmatized sentence so that only a
small number of (lemmatized) words (and POS tags) remains. Several
sentence pruning strategies will be proposed and compared (cf. § 3.2 and 3.3).
3. Hyperonymize is a function which takes the words in the pruned itemset and
replaces them by the members of their most significant hyperonymic chains.
        </p>
      </sec>
      <sec id="sec-1-9">
        <title>Several strategies will also be proposed and compared (cf. § 3.4).</title>
        <p>Algorithm 2: Classification</p>
        <p>Data: A set of CARs R, a document D0
Result: The predicted class predclass(D0), variety , dispersion
Classify(R, D0):
for S 2 D0 do
if 9 r 2 R</p>
        <p>RS :=
such that items(r) ⇢ S then</p>
        <p>arg max conf(r);
r2R^ items(r)⇢ S
end
end
predclass(D0) := arg max
c2C</p>
        <p>X</p>
        <p>conf(RS);
class(2RDS0)=c</p>
        <p>S
:= #{c 2 C | (class(RS) = c) ^ (conf(RS) &gt; 0)};
:= max X conf(RSi ) min X
c2C c2C
clasSsi(R2DSi0)=c
clasSsi(R2DSi0)=c
conf(RSi );
end</p>
        <p>
          The second part of Alg. 1 uses the apriori algorithm [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] with the given values
of minimum support and minimum confidence and output restrictions so as to
generate only rules with item c 2 C in the consequent. It returns a set R of
CARs and their confidence.
        </p>
        <p>It should be noted that this algorithm operates on individual sentences,
hereby ignoring the document level.
2.2</p>
        <sec id="sec-1-9-1">
          <title>Classification</title>
          <p>The Classify algorithm (cf. Alg. 2) uses the set of CARs produced by Train
to predict the class of a new document D0 and furthermore provides two values
measuring the quality of this prediction: variety and dispersion .</p>
          <p>The first part of the algorithm takes each sentence S of the document D0
and finds the most confident CAR that can be applied to it (i.e., such that the
itemset of the rule is entirely contained in the itemset of the sentence). At this
stage we have, for every sentence: a rule, its predicted class and its confidence.</p>
          <p>Our basic unit of text in Train is sentence, therefore CARs generated by
Alg. 1 produce a class for each sentence of D0. An aggregation procedure is thus
needed in order to classify the document. This is done by taking class by class
the sum of confidence of rules and selecting the class with the highest sum.</p>
          <p>Although this simple class-weighted sum decision strategy is reasonable, it is
not perfect and may lead to wrong classification. This strategy will be optimally
sure and robust if (a) the number of classes is minimal, and (b) the values when
summing up confidence of rules are suciently spread apart. The degree of
fulfillment of these two conditions is given by the parameters variety (the number
of classes for which we have rules), and dispersion (the gap between the most
confident class and least confident one). These parameters will contribute to
comparison among the di↵erent approaches we will investigate.</p>
        </sec>
        <sec id="sec-1-9-2">
          <title>Algorithm 3: Evaluation</title>
          <p>Data: An annotated corpus C, initial values of minimal support 0 and
confidence  0, standard number of rules ⇢ 0
Result: Values of average precision P , recall R, F-measure F . Values of average
number of rules ⇢ , variety and dispersion
SingleEvaluate(C, ,  ):
(C1, . . . , C10) := Partition (Shuffle (C),10);
/* tenfold cross validation */
for I 2 { 1, . . . , 10} do
(RI , I , I ) := Train (C \ C1, ,  );
for D 2 CI do</p>
          <p>predclass(D) := Classify (RI , D);
end
for c 2 C do</p>
          <p>RI (c) := #{d2 CI|(predclass(d)=c)^ (class(d)=c)} ;</p>
          <p>#{d2 CI|class(d)=c}
PI (c) := #{d2 CI|(predclass(d)=c)^ (class(d)=c)} ; FI (c) := R2RI(Ic()c+)PPII((cc)) ;
#{d2 CI|predclass(d)=c}
end
end
for c 2 C do</p>
          <p>(R(c), P (c), F (c)) := 110 PI10=1(RI (c), PI (c), FI (c));
end
(⇢, , ) := 110 PI10=1(#RI , I , I );
(R, P , F ) := #1C Pc2C (R(c), P (c), F (c));
end
Evaluate(C, 0,  0, ⇢ 0):
(,  ) := FindOptimal(C, 0,  0, ⇢ 0);
(R, P , F , ⇢, , ) := SingleEvaluate(C, ,  );
end
2.3</p>
        </sec>
        <sec id="sec-1-9-3">
          <title>Evaluation</title>
          <p>We evaluate the classifier (Alg. 3), by using 10-fold cross validation to obtain
average values of recall, precision, F-measure, variety and dispersion. This is
done by algorithm SingleEvaluate, once we specify values of minimal support
and minimal confidence.</p>
          <p>Comparing rule-based classification methods is problematic because one can
always increase F-measure performance by increasing the number of rules, which
results in overfitting them. To avoid this phenomenon and compare methods in
a fair way, we fix a number of rules ⇢ 0 (we have chosen ⇢ 0 = 1,000 in order to
produce a humanly reasonably readable set of rules) and find values of minimal
support and confidence so that F-measure is maximal under this constraint.</p>
          <p>Function FindOptimal will launch SingleEvaluate as many times as
necessary on a dynamic grid of values (,  ) (starting with initial values ( 0,  0)), so
that, at the end, the number of rules produced by Train is as close as possible
to ⇢ 0 (we have used #R 2 [⇢ 0 2, ⇢ 0 + 2]) and F is maximal.
Algorithm 4: Tfidf-based corpus pruning</p>
          <p>Data: An annotated corpus (considered as a set of sentences) S
Result: The pruned corpus S0
Prune(S, N ):</p>
          <p>S0 := ; ;
for S 2 S do
for w 2 S do
end
end
3</p>
          <p>Experimental results on Reuters corpus
In this section, we investigate three methods: (a) pruning through a purely
frequentist method, based on tfidf measure (§ 3.2); (b) pruning using
dependencies (§ 3.3); (c) pruning using dependencies followed by hyperonymic
extension (§ 3.4).
3.1</p>
        </sec>
        <sec id="sec-1-9-4">
          <title>Preliminaries</title>
          <p>
            In the Reuters [
            <xref ref-type="bibr" rid="ref1">1</xref>
            ] corpus we have chosen the 7 most popular topics (GSPO =
sports, E12 = monetary/economic, GPOL = domestic politics, GVIO = war,
civil war, GDIP = international relations, GCRIM = crime, law enforcement,
GJOB = labor issues) and extracted the 1,000 longest texts of each.
          </p>
          <p>
            The experimental document set is thus a corpus of 7,000 texts of length
between 120 and 3,961 words (mean 398.84, standard variation 169.05). The
texts have been analyzed with the Stanford Dependency Parser [
            <xref ref-type="bibr" rid="ref17">17</xref>
            ] in collapsed
mode with propagation of conjunct dependencies.
3.2
          </p>
        </sec>
        <sec id="sec-1-9-5">
          <title>Tfidf-based corpus pruning</title>
          <p>Tfidf-based corpus pruning consists in using a classical Prune function as defined
in Alg. 4. It will be our baseline for measuring performance of dependency- and
hyperonymy-based methods.</p>
          <p>Note that this definition of the tfidf measure diverges from the legacy one by
the fact that we consider not documents but sentences as basic text units. This
is because we compare tfidf-generated CARs to those using syntactic
information, and syntax is limited to the sentence level. Therefore, in order to obtain a
fair comparison, we have limited term frequency to the sentence level and our
“document frequency” is in fact a sentence frequency.</p>
        </sec>
      </sec>
      <sec id="sec-1-10">
        <title>Having calculated TfidfS(w) for every w 2 S 2 S, we take N words from</title>
        <p>each sentence with the highest tfidf values, and use them as transaction items.
The performance of this method depends on the value of N . On Fig. 1 the reader
can see the values of three quantities as functions of N :
1. F-measure: we see that F-measure increases steadily and reaches a maximum
value of 83.99 for N = 10. Building transactions of more than 10 words (in
decreasing tfidf order) deteriorates performance, in terms of F-measure;
2. variety: the number of predicted classes for sentences of the same document
progressively increases but globally remains relatively low, around 3.1, except
for N = 12 and N = 13 where it reaches 4.17;
3. dispersion: it increases steadily, with again a small outlier for N = 12,
probably due to the higher variety obtained for that value of N .</p>
        <p>tye .03
ir
aV .52
0
8
0
7
5
6</p>
        <p>5 10 15
N (tfidf words per transaction)
20</p>
        <p>5 10 15
N (tfidf words per transaction)
20</p>
        <p>5 10 15
N (tfidf words per transaction)
20</p>
        <p>Furthermore, each investigated method will generate transactions of various
sizes. It is fair to compare them with tfidf-based methods with similar
transactions sizes. Therefore we will use the results displayed in Fig. 1 to compare the
performance of subsequent methods with the one of the tfidf-based method of
similar transaction size. Table 1 presents the results obtained by applying the
tdfif-based pruning method, with a single word per transaction (N = 1).
MinSupp=0.006, MinConf=67.6, Var.=1.36, Disp.=21.53, AvgTransSize=1.00
3.3</p>
        <sec id="sec-1-10-1">
          <title>Methods based on dependencies</title>
          <p>In this section we investigate several strategies using the dependency structure
of sentences. Our general approach (cf. Alg. 5) keeps only words of S that fulfill
Algorithm 5: Dependency-based corpus pruning</p>
          <p>Data: An annotated corpus S and a morphosyntactic contraint</p>
          <p>: S ! { true, false}
Result: The pruned corpus S0
Prune(S, ):</p>
          <p>S0 := ; ;
for S 2 S do</p>
          <p>S0 := ; ;
for w 2 S do
if (w) = true then</p>
          <p>S0 := S0 [ { w}
end</p>
          <p>Strategy I0 Our first strategy will be to keep only the head of each sentence
(which, incidentally, is a verb in 85.37% of sentences of our corpus). This
corresponds to the constraint (w) ⌘ (w = root(S)). Results are given on Table 2a.</p>
          <p>Although the recall of GSPO is quite high (a possible interpretation could
be that sports use very specific verbs), F-measure is quite low when we compare
it to the one of the tfidf-based method of the same average itemset length,
namely 65.69%.</p>
          <p>Strategy I1 The second strategy consists in keeping words connected to the
head by a (single) dependency of type nsubj (= nominal subject). This occurs in
79.84% of sentences of our corpus. The constraint is then (w) ⌘ (9 (w, root(S),
nsubj) 2 Dep(S)). Results are given on Table 2b.</p>
          <p>Note that the slightly higher than 1 transaction size is probably due to the
rare cases where there are more than one nsubj dependencies pointing to the
head. The scores rise dramatically when compared to those of the strategy based
only on the head of the sentence. The average F-measure (71.80%) is significantly
higher than the tfidf-based performance for the same average transaction size
(65.69%). This shows that using a dependency property to select a word is a better
choice than the one provided by the frequentist tfidf-based method. Note that the
case of nsubj is unique: if we take ccomp (= clausal complement) instead of
nsubj, the performance falls even below the level of strategy I0 (Table 2c).
Strategy I2 The third strategy considers all nouns (POS tags starting with
N) at distance 1 from the head in the dependency graph. Such dependencies
occur in 59.24% of the sentences of our corpus. This corresponds to (x) ⌘
((9 (x, root(S), d) 2 Dep(S)) ^ (POS(x) = N⇤ )). Results are given on Table 2d.</p>
          <p>The result seems better than the one of strategy I1 (Table 2b). However, if
we take transaction size into account, it is in fact merely equivalent to—and
hence not better than, as it was the case for I1—the tfidf-based method with the
same transaction size. Once again we see a very high recall rate for the sports
category.
Algorithm 6: Corpus hyperonymization</p>
          <p>Data: A dependency-pruned corpus S0, an hyperonymic function</p>
          <p>MSCH : W ! W N, the hyperonymic order N
Result: The hyperonymically extended corpus S00
Hyperonymize(S0, MSCH, N ):</p>
          <p>S00 := ; ;
for S0 2 S0 do</p>
          <p>S00 := ; ;
for w 2 S0 do
if projN (MSCH(w)) 6= ; then</p>
          <p>S00 := S00 [ { projN (MSCH(w))}
else
end
end
end</p>
          <p>S00 := S00 [ { S00}
end</p>
          <p>S00 := S00 [ { w}</p>
          <p>One could be tempted to check the performance of taking verbs (instead of
nouns) at distance 1 from the head. Indeed, verbs at that position are more
frequent than nouns: they occur in 62.94% of the sentences of our corpus.
Nevertheless, the results are not as good (Table 2e). This shows that despite their
high frequency, verbs contain less pertinent information than nouns at the same
distance from the head.
3.4</p>
        </sec>
        <sec id="sec-1-10-2">
          <title>Methods based on dependencies and hyperonyms</title>
          <p>In this section we add semantic information by the means of hyperonyms, using
the hyperonymization function h (§ 1.3). The preprocessing is done by Alg. 6:
hi(w) is an N -th order hyperonym of w, if it exists in WordNet. In case there is no
N -th order hyperonym, the word remains unchanged. We call N the hyperonymic
factor of our itemset transformation.</p>
          <p>Strategy II1 This strategy considers hyperonymic factor N = 1. We thus
first apply strategy I1 and then hyperonymization h1. Results are presented on
Table 3a.</p>
          <p>The performance is globally inferior to the one of Strategy I1 (in which,
F-measure attained 71.80%). It is interesting to note that the recall of class
GJOB has decreased significantly (48.96% vs. 58.27%): in other words, using
hyperonyms when dealing with labor issues results into failure to recognize 9.31%
of the documents as belonging to the domain; one could say that terms used
in GJOB lose their “labor specificity” already at first-order hyperonymization.
On the other hand, the (already high in I1) recall of GSPO has increased even
more, compared to I1 (from 78.76% to 82.20%): it seems that sports terminology
remains in the domain even after hyperonymization, and replacing specific terms
by more general ones has increased their frequency as items, and hence improved
recall. We have the same phenomenon with the recall of GDIP (which increased
from 66.97% to 71.32%), and also slightly with the recalls of E12 and GVIO.
Strategy II2 This strategy is similar to strategy II1 but uses hyperonymic
factor N = 2. Results are presented on Table 3b.</p>
          <p>The performance is globally inferior to the one of II1 (where we used
firstorder hyperonyms), with two minor exceptions: the recall of GDIP that increased
by 0.65% and the precision of GVIO that increased by 1.6%. What is noteworthy
however, is the fact that the recalls of GDIP and GSPO are still higher than the
ones of strategy I1 (no hyperonyms).</p>
          <p>To better understand the behavior of the system when climbing the
hyperonymic chain by replacing words by hyperonyms of increasingly higher order
(and returning to the original word when there are no hyperonyms left) we
calculated the performance for N -th order hyperonyms for 1  N  12. Note that
when N &gt; 12 the amount of remaining hyperonyms is negligible and the
strategy is similar to strategy I1 (no hyperonyms). On Fig. 2, the reader can see the
evolution of recall (black), precision (red) and F-measure (blue) for the average
of all class, and then specifically for GSPO and for GDIP. Dashed lines represent
the recall, precision and F-measure of strategy I1.</p>
          <p>In the average case, the e↵ect of hyperonymization of orders 1–4 is to
decrease performance. After N = 5, the global number of hyperonyms available
in WordNet rapidly decreases so that the situation gradually returns to the one
of I1 (no hyperonyms) and we see curves asymptotically converging to I1 lines
from underneath.</p>
          <p>Not so for GSPO, the GSPO recall curve of which is above the I1 value for
most N (N = 1, 2, 6–8 and 10–12).</p>
          <p>The phenomenon is even better illustrated in the case of GDIP: as the reader
can see on the figure, the complete GDIP recall curve is located above the I1
one. It seems that in these two cases (GDIP and, to a lesser extent, GSPO),
)rde 58
(
.rce 80
P
/)e 57
u
l
.(sb 70
a
-em 65
F
/)kc 06
a
l.(b 55 2
c
e
R
iison 58
c
/reP 80
ison 58
i
c
/reP 08
rsue 75
a
-em 70
F
ll/ca 65
e
RO 06</p>
          <p>P
4 6 8 10 12 SG 55 2
N (hyperonym degree)
rseu 57
a
-em 70
F
ll/a 65
c
ePR 06</p>
          <p>I
4 6 8 10 12 DG 55 2
N (hyperonym degree)</p>
          <p>4 6 8 10 12
N (hyperonym degree)
Fig. 2. F-1 measure for hyperonymization of orders 1  N  12: the average case,
class GSPO, class GDIP
hyperonyms of all orders have a positive impact on the classifier. Unfortunately
this impact only concerns recall and is compensated by bad precision, so that
F-measure is still inferior to the I1 case.
4</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Conclusion and future work</title>
      <p>In this paper we have investigated the use of association rules for text
classification by applying two new techniques: (a) we reduce the number of word features
through the use of morphosyntactic criteria in the framework of dependency
syntax; for that we keep words dependent from the head by specific dependencies
and/or having specific POS tags (b) we replace words by their hyperonyms of
di↵erent orders, which we have calculated out of WordNet using frequencies and,
in some cases, disambiguation. We have obtained positive results for case (a), in
particular when we compare dependency-based single-item rules with tfidf-based
ones. In case (b) the results we share in this paper are less ecient but still
interesting, especially we found classes for which hyperonymization significantly
improves recall.</p>
      <p>This work opens several perspectives, among which:
— examine why these particular classes are favorable to hyperonymization,
whether this is related to the structure of WordNet or to linguistic properties of
the domain;</p>
      <p>— explore partial hyperonymization i.e., is it possible to hyperonymize only
specific items according to the needs of the classifier?1 How do we choose, on
the word level, if we should rather keep the original word (to increase precision)
or switch to some hyperonym (to increase recall)?</p>
      <p>— we have used only recall and precision as quality measures of our rules,
and our evaluation is strongly dependent on these measures since the selection
of the 1,000 rules we keep is entirely based upon them. There are other quality
1 Indeed, by hyperonymizing all words one wins on one side and loses on the other:
for example “dalmatian” and “poodle” will both be replaced by “dog”, but “dog”
occurrences will be replaced by “canid”. It would be more preferable to keep the
word “dog” in the second case, so that we have a real increase in frequency.
measures available, how do they apply and how can they be compared and
combined? How robust are the results?</p>
      <p>— and finally: how can we optimize the distinctive feature of association rules,
namely the fact of being intelligible by the user? How can the user’s experience
(and linguistic knowledge) be incorporated in the enhancement of rules to obtain
the best possible result from his/her point of view?</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Reuters</surname>
            <given-names>corpus</given-names>
          </string-name>
          , volume
          <volume>1</volume>
          ,
          <string-name>
            <surname>english</surname>
            <given-names>language</given-names>
          </string-name>
          ,
          <year>1996</year>
          -
          <volume>08</volume>
          -20 to 1997-
          <volume>08</volume>
          -19, http:// about.reuters.com/researchandstandards/corpus/statistics/index.asp
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>British</given-names>
            <surname>National Corpus</surname>
          </string-name>
          (
          <year>1994</year>
          ), http://www.natcorp.ox.ac.uk
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Aggarwal</surname>
            ,
            <given-names>C.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhai</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>A Survey of Text Classification Algorithms</article-title>
          ,
          <source>chap. 6</source>
          , pp.
          <fpage>163</fpage>
          -
          <lpage>222</lpage>
          . Mining Text Data, Springer
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Ahonen</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heinonen</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Klemettinen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Verkamo</surname>
            ,
            <given-names>A.I.</given-names>
          </string-name>
          :
          <article-title>Applying data mining techniques in text analysis</article-title>
          .
          <source>TR C-1997-23</source>
          , Department of Computer Science, University of Helsinki (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Borgelt</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Ecient implementations of apriori and eclat</article-title>
          .
          <source>In: Workshop of Frequent Item Set Mining Implementations (FIMI</source>
          <year>2003</year>
          ), Melbourne, FL, USA (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Ferrer</surname>
          </string-name>
          i Cancho, R., Sol´e, R.V., K¨ohler, R.:
          <article-title>Patterns in syntactic dependency networks</article-title>
          .
          <source>Physical Review E 69</source>
          ,
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Cherfi</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Napoli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toussaint</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>A Conformity Measure Using Background Knowledge for Association Rules</article-title>
          : Application to Text Mining, pp.
          <fpage>100</fpage>
          -
          <lpage>115</lpage>
          . IGI Global (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Chomsky</surname>
          </string-name>
          , N.:
          <article-title>Syntactic structures</article-title>
          .
          <source>Mouton</source>
          (
          <year>1957</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>W.W.</given-names>
          </string-name>
          :
          <article-title>Learning rules that classify e-mail</article-title>
          .
          <source>In: AAAI Spring Symposium on ML and IR</source>
          (
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Curran</surname>
            ,
            <given-names>J.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moens</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Scaling context space</article-title>
          .
          <source>In: Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics</source>
          . pp.
          <fpage>231</fpage>
          -
          <lpage>238</lpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Do</surname>
            ,
            <given-names>T.N.Q.:</given-names>
          </string-name>
          <article-title>A graph model for text analysis and text mining</article-title>
          .
          <source>Master Thesis</source>
          , Universit´e de Lorraine, (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Jaillet</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Laurent</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Teisseire</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Sequential patterns for text categorization</article-title>
          .
          <source>Intell. Data Anal</source>
          .
          <volume>10</volume>
          (
          <issue>3</issue>
          ),
          <fpage>199</fpage>
          -
          <lpage>214</lpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Kovacs</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Baksa-Varga</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          :
          <article-title>Dependency-based mapping between symbolic language and Extended Conceptual Graph</article-title>
          .
          <source>In: 6th International Symposium on Intelligent Systems and Informatics</source>
          . pp.
          <fpage>1</fpage>
          -
          <lpage>6</lpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Lang</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Newsweeder: Learning to filter netnews</article-title>
          .
          <source>In: International Conference on Machine Learning</source>
          . pp.
          <fpage>331</fpage>
          -
          <lpage>339</lpage>
          . Morgan Kaufmann (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hsu</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          , Ma, Y.:
          <article-title>Integrating classification and association rule mining</article-title>
          .
          <source>In: Proc. of the Int. Conf. on Knowledge Discovery and Data Mining (New York)</source>
          . pp.
          <fpage>80</fpage>
          -
          <lpage>86</lpage>
          (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Lowe</surname>
          </string-name>
          , W.:
          <article-title>Towards a theory of semantic space</article-title>
          .
          <source>In: Proceedings of the Twenty-Third Annual Conference of the Cognitive Science Society</source>
          . pp.
          <fpage>576</fpage>
          -
          <lpage>581</lpage>
          (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17. de Marne↵e, M.C.,
          <string-name>
            <surname>MacCartney</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Manning</surname>
          </string-name>
          , C.D.:
          <article-title>Generating typed dependency parses from phrase structure parses</article-title>
          .
          <source>In: LREC 2006</source>
          . pp.
          <fpage>449</fpage>
          -
          <lpage>454</lpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Mehran</surname>
            <given-names>Sahami</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Susan</given-names>
            <surname>Dumais</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.H.</given-names>
            ,
            <surname>Horvitz</surname>
          </string-name>
          , E.:
          <article-title>A bayesian approach to filtering junk email</article-title>
          .
          <source>In: AAAI Workshop on Learning for Text Categorization. AAAI Technical Report WS-98-05</source>
          (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Mel0ˇcuk</surname>
            ,
            <given-names>I.A.</given-names>
          </string-name>
          :
          <article-title>Dependency syntax : theory and practice</article-title>
          . Albany: State University Press of New York (
          <year>1987</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Miller</surname>
            ,
            <given-names>G.A.</given-names>
          </string-name>
          :
          <article-title>WordNet: A lexical database for English</article-title>
          .
          <source>Communications of the ACM</source>
          <volume>38</volume>
          (
          <issue>11</issue>
          ),
          <fpage>39</fpage>
          -
          <lpage>41</lpage>
          (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Nivre</surname>
          </string-name>
          , J.:
          <article-title>Dependency Grammar and Dependency Parsing</article-title>
          .
          <source>MSI report 05133. School of Mathematics and Systems</source>
          Engineering, V¨axjo¨ University, (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Ordon</surname>
          </string-name>
          <article-title>˜ez-</article-title>
          <string-name>
            <surname>Salinas</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gelbukh</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Information Retrieval with a Simplified Conceptual Graph-</article-title>
          <source>Like Representation 6437(Chapter 9)</source>
          ,
          <fpage>92</fpage>
          -
          <lpage>104</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23. Pado´,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Lapata</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          :
          <article-title>Dependency-based construction of semantic space models</article-title>
          .
          <source>Computational Linguistics</source>
          <volume>33</volume>
          (
          <issue>2</issue>
          ),
          <fpage>161</fpage>
          -
          <lpage>199</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Pedersen</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Information content measures of semantic similarity perform better without sense-tagged text</article-title>
          .
          <source>In: Proceedings of the 11th Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL HLT</source>
          <year>2010</year>
          ). pp.
          <fpage>329</fpage>
          -
          <lpage>332</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Roche</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , Az´e, J.,
          <string-name>
            <surname>Matte-Tailliez</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          , Kodrato↵,
          <string-name>
            <surname>Y.</surname>
          </string-name>
          :
          <article-title>Mining texts by association rules discovery in a technical corpus</article-title>
          .
          <source>In: Intelligent Information Processing and Web Mining</source>
          . pp.
          <fpage>89</fpage>
          -
          <lpage>98</lpage>
          . Advances in Soft Computing, Springer Verlag (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>Schmid</surname>
          </string-name>
          , H.:
          <article-title>Probabilistic part-of-speech tagging using decision trees</article-title>
          .
          <source>In: Proceedings of International Conference on New Methods in Language Processing</source>
          , Manchester, UK (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <surname>Sebastiani</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <article-title>: Machine learning in automated text categorization</article-title>
          .
          <source>ACM Comput. Surv</source>
          .
          <volume>34</volume>
          (
          <issue>1</issue>
          ),
          <fpage>1</fpage>
          -
          <lpage>47</lpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28. Tesni`ere, L.: E´l´ements de syntaxe structurale.
          <source>Klincksieck</source>
          (
          <year>1959</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29. Za¨ıane,
          <string-name>
            <given-names>O.R.</given-names>
            ,
            <surname>Antonie</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.L.</surname>
          </string-name>
          :
          <article-title>Classifying text documents by associating terms with text categories</article-title>
          .
          <source>In: Australasian Database Conference. CRPIT</source>
          , vol.
          <volume>5</volume>
          . Australian Computer Society (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>