<?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="740"/><title>Bilingual Experiments with an Arabic-English Corpus for Opinion Mining</title><pubinfo>Proceedings of Recent Advances in Natural Language Processing,pages 740-745, Hissar, Bulgaria, 12-14 September 2011.</pubinfo><author surname="Rushdi-Saleh" givenname="Mohammed"><org  name="University of Jaen" country="Spain" city="Jaen"/></author><author surname="Martín-Valdivia" givenname="M. Teresa"><org  name="University of Jaen" country="Spain" city="Jaen"/></author><author surname="Ureña-López" givenname="L. Alfonso"><org  name="University of Jaen" country="Spain" city="Jaen"/></author><author surname="Perea-Ortega" givenname="José M."><org  name="University of Jaen" country="Spain" city="Jaen"/></author></firstpageheader><frontmatter><p><b>Bilingual Experiments with an Arabic-English Corpus for</b></p><p><b>Opinion Mining</b></p><p>Mohammed Rushdi-Saleh M. Teresa Martin-Valdivia</p><p>SINAI research group SINAI research group</p><p>University of Jaén University of Jaén</p><p>msaleh@ujaen.es maite@ujaen.es</p><p>L. Alfonso Urena-Löpez José M. Perea-Ortega</p><p>laurena@ujaen.es jmperea@ujaen.es</p></frontmatter><abstract>Recently, Opinion Mining (OM) is receiving more at­tention due to the abundance of forums, blogs, e­commerce web sites, news reports and additional web sources where people tend to express their opinions. There are a number of works about Sentiment Analysis (SA) studying the task of identifying the polarity, whether the opinion expressed in a text is positive or negative about a given topic. However, most of research is focused on English texts and there are very few re­sources for other languages. In this work we present an Opinion Corpus for Arabic (OCA) composed of Arabic reviews extracted from specialized web pages related to movies and films using this language. Moreover, we have translated the OCA corpus into English, generating the EVOCA corpus (English Version of OCA). In the experiments carried out in this work we have used dif­ferent machine learning algorithms to classify the polar­ity in these corpora showing that, although the experi­ments with EVOCA are worse than OCA, the results are comparable with other English experiments, since the loss of precision due to the translation is very slight. </abstract></header><body><section number="1." title="Introduction"><p>Nowadays, the interest in Opinion Mining (OM) has grown significantly due to different factors. On the one hand, the rapid evolution of the World Wide Web has changed our view of the Internet. It has turned into a collaborative framework where technological and social trends come together, resulting in the over exploited term Web 2.0. On the other hand, the tre­mendous use of e-commerce services has been ac­companied by an increase in freely available online reviews and opinions about products and services. A customer who wants to buy a product usually searches information on the Internet trying to find other con­sumer analyses. In fact, web sites such as Amazon<footnote anchor="1"/>, Epinions<footnote anchor="2"/> or IMDb<footnote anchor="3"/>, can affect the customer decision.</p><p>http://www.amazon.com ! http://www.epinions.com</p><p>Moreover, the automatic Sentiment Analysis (SA) is useful not only for individual customer but also for any company or institution. However, the huge amount of information makes necessary to accom­plish new methods and strategies to tackle the prob­lem.</p><p>Thus, SA is becoming one of the main research areas that combines Natural Language Processing (NLP) and Text Mining (TM). This new discipline attempts to identify and analyze opinions and emo­tions. It includes several subtasks such as subjectivity detection, polarity classification, review summariza­tion, humor detection, emotion classification, senti­ment transfer, and so on [9]. However, most of works related to OM are oriented to use English language. Perhaps due to the novelty of the task, there are very few papers analyzing the opinions using other lan­guages different to English. In this paper, we present the experiments accomplished with an Opinion Cor­pus for Arabic (OCA) collected from different web pages with comments about movies. In addition, we have used automatic machine translation tools to translate OCA corpus into English. We have generat­ed different classifiers using Support Vector Machine and Naïve Bayes in order to determinate the polarity of the opinions. The experiments carried out with the</p><p>English Version of OCA (EVOCA) show that, al­though we lost precision in the translation, the results are comparable to other works using English texts. So, we can use this procedure in order to determine the polarity of an Arabic corpus by using English translation. This is important because most of re­sources are in English and we can take advantage of this situation.</p><p>The paper is organized as following: Next section presents some papers about OM using non-English language. Section 3 and Section 4 describe the OCA corpus and its English version (EVOCA), respective­ly.<page local="2" global="741"/> In Section 5, accomplished experiments are showed and results are analyzed. Finally, conclusion and future work is presented.</p><footnote label="3"> http://www.imdb.com</footnote></section><section number="2." title="Related works"><p>Although opinions and comments in the Internet are expressed in any language, most of research in OM is focused on English texts. However, languages such as Chinese, Spanish or Arabic, are ever more present on the web<footnote anchor="4"/>. Thus, it is important to develop resources for helping researcher to work with these languages.</p><p>There are some interesting papers that have stu­died the problem using non-English collections. For example, Denecke [5] worked on German comments collected from Amazon. These reviews were trans­lated into English using standard machine translation software. Then the translated reviews were classified as positive or negative, using three different classifi­ers: LingPipe7, SentiWordNet [6] with classification rule, and SentiWordNet with machine learning.</p><p>Zhang et al. [12] applied Chinese sentiment anal­ysis on two datasets. In the first one euthanasia re­views were collected from different web sites, while the second dataset was about six product categories collected from Amazon (Chinese reviews). Ghorbel and Jacot [7] used a corpus with movie re­views in French. They applied a supervised classifica­tion combined with SentiWordNet in order to deter­minate the polarity of the reviews.</p><p>Agic et al. [2] presented a manually annotated corpus with news on the financial market in Croatia. Boldrini et al. [4] aimed to build up a corpus with a fine-gained annotation scheme for the detection of subjective elements. The data were collected manual­ly from 300 blogs in three different languages: Span­ish, Italian and English.</p><p>Regarding opinion mining for Arabic language, Ahmad et al. [3] performed a local grammar approach for three languages: Arabic, Chinese and English us­ing financial news. They selected and compared the distribution of words in a domain-specific document to the distribution of words in a general corpus.</p><p>Finally, Abbasi et al. [1] accomplished a study for sentiment classification on English and Arabic inappropriate content. Specifically, they applied their methodologies on a U.S. supremacist forum for Eng­lish and a Middle Eastern extremist group for Arabic language.</p></section><section number="3." title="OCA: Opinion Corpus for Arabic"><p>Despite the importance of the Arabic language on the Internet, there are very few web pages which special­ize in Arabic reviews. The most common Arabic opi­nion sites in the Internet are related to movies and films, although these blogs also present several obstacles to their being used in sentiment analysis tasks. Some of these difficulties are stated below:</p><p><b>• Nonsense and non related comments. </b>Many reviews in different web pages are not related to the topic. People attempt to comment on any­thing, even with unrelated words or nonsense. For instance, instead of comment an item, the user just types a word:</p><p>Thaaaaaaanks= <i>jsjjjjsjf^</i></p><p><b>• Romanization of Arabic. </b>Many comments use the Roman alphabet. Each phoneme in Arabic can be replaced by its counterpart in the Roman alphabet. This can be due to non-use of Arabic keyboards for people who comment on Arabic topics from abroad. For instance, Table 1 shows a fragment explaining the problem of commenting on a topic using the Roman alphabet. There are also possible variants in the case of Romanization of Arabic for the above example, taking into ac­count the diacritics in the Arabic language. How­ever, a native speaker could still understand this sentence.</p><table caption="Table 1. Different variants of Roman alphabet tran­scriptions"></table><p><b>• Comments in different languages. </b>It is also possible to find international languages in Arabic web pages, so you could read comments in Eng­lish, Spanish or French mixed with Arabic sen­tences.</p><p>In order to generate the Opinion Corpus for Arabic we have extracted the reviews from different web pages about movies. OCA consists of 500 reviews in Arab­ic, of which 250 are considered as positive reviews and the other 250 as negative opinions. This process has consisted of collecting reviews from several Arab­ic blog sites and web pages. Table 2 presents the number of reviews according to negative or positive classification from each web page, the name of the web page and the highest score used in the rating sys­tem.</p><footnote label="4"> http://www.internetworldstats.com</footnote><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>English</p></td><td class="cell"><p><i>Qatar is a great country</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Arabic</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Roman alphabet 1</p></td><td class="cell"><p><i>Qatar dawla athema</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Roman alphabet2</p></td><td class="cell"><p><i>Qatr dawlah 3athema</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Roman alphabet3</p></td><td class="cell"><p><i>9atar dawlah 3athemah</i></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></tr></table><page local="3" global="742"/><table caption="Table 2. Distribution of reviews crawled from different"></table><p><b>web pages</b></p><table caption="Table 3. Statistics on the OCA opinion corpus"></table><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">Total</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">250</doubt><p>We have removed HTML tags and special cha­racters as well as spelling mistakes were corrected manually. Next, a processing of each review was car­ried out which consisted of tokenizing, removing Arabic stop words, stemming and filtering those to­kens whose length was less than two characters. Fig­ure 1 shows the different steps followed in our ap­proach in order to generate the OCA corpus and Table 3 shows some statistics on such corpus.</p><p>On the other hand, there are important issues that must be taken into account in these blogs:</p><p><b>• Rating system. </b>We found that there is no com­mon system of rating among these blogs. Some of them use a rating scale of 10 points, so reviews with less than five points are classified as negative while those with a rating between five and 10 points are classified as positive. Other blogs use a 5-rating scale. In these cases, we considered the movies with three, four and five points as positive, while those with less than three points were classi­fied as negative. This classification was based on a deep study of the reviews which were rated as neutral. Finally, we also found binary classifica­tions such as <i>good </i>or <i>bad.</i></p><p><b>• Cultural and political emotions. </b>Culture in Arabic countries can also affect the behavior of the reviewers. For instance, an "Antichrist" movie is rated with 1 point from 10 in one of the Arabic blogs, while the same movie on IMDb is rated at 6.7 out of 10.</p><p><b>• Movie and actor names in English. </b>There are different ways of naming movies and actors in the reviews. In some cases, the names are translated into Arabic, while others keep the names in Eng­lish and the reviews in Arabic.</p></section><section number="4." title="EVOCA: English Version of OCA"><p>In order to compare the experiment for Arabic and English, we have translated OCA into English using an automatic Machine Translation (MT) tool freely available. Specifically, we have used the online trans­lator provided by PROMT<footnote anchor="5"/>.</p><p>The processing followed to carry out the transla­tion consisted of splitting the text of the reviews in blocks of 500 characters to fit with the maximum length allowed by the online translator. Secondly, after the translation, extra UTF-8 invalid characters were removed and, finally, the translated reviews were generated from the blocks belonging to each of them. Figure 2 summarizes the processing followed to generate the EVOCA corpus.</p><p>The new corpus EVOCA contains the same num­ber of positive and negative reviews that OCA corpus, with a total of 500 reviews. Table 4 shows some sta­tistics for the EVOCA corpus.</p><table caption="Table 4. Statistics on the EVOCA opinion corpus"></table><p>Available at http://translation2.paralink.com<page local="4" global="743"/></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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>Negative</b></p></td><td class="cell"><p><b>Positive</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total <b>documents</b></p></td><td class="cell"><p>250</p></td><td class="cell"><p>250</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total <b>tokens</b></p></td><td class="cell"><p>94,556</p></td><td class="cell"><p>121,392</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total <b>sentences</b></p></td><td class="cell"><p>4,881</p></td><td class="cell"><p>3,137</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></tr></table><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>Name</b></p></td><td class="cell"><p><b>web page</b></p></td><td class="cell"><p><b>Rating</b></p></td><td class="cell"><p><b>PR</b></p></td><td class="cell"><p><b>NR</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>system</b></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>Cinema Al Rasid</p></td><td class="cell"><p>http://cinema.al -rasid.com</p></td><td class="cell"><p>10</p></td><td class="cell"><p>36</p></td><td class="cell"><p>1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>Film Reader</p></td><td class="cell"><p>http://filmreade r.blogspot.com</p></td><td class="cell"><p>5</p></td><td class="cell"><p>0</p></td><td class="cell"><p>92</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Hot Mov-</p></td><td class="cell"><p>http://hotmovie</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>ie Re­views</p></td><td class="cell"><p>ws.blogspot.co m</p></td><td class="cell"><p>5</p></td><td class="cell"><p>45</p></td><td class="cell"><p>4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4</p></td><td class="cell"><p>Elcinema</p></td><td class="cell"><p>http://www.elci</p></td><td class="cell"><p>10</p></td><td class="cell"><p>0</p></td><td class="cell"><p>56</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>nema.com</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5</p></td><td class="cell"><p>Grind</p></td><td class="cell"><p>http://grindh.co</p></td><td class="cell"><p>10</p></td><td class="cell"><p>38</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>House</p></td><td class="cell"><p>m</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>6</p></td><td class="cell"><p>Mzyon-dubai</p></td><td class="cell"><p>http://www.mz yondubai.com</p></td><td class="cell"><p>10</p></td><td class="cell"><p>0</p></td><td class="cell"><p>15</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>7</p></td><td class="cell"><p>Aflamee</p></td><td class="cell"><p>http://aflamee.c</p></td><td class="cell"><p>5</p></td><td class="cell"><p>0</p></td><td class="cell"><p>1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>om</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>8</p></td><td class="cell"><p>Grind</p></td><td class="cell"><p>http://grindfilm</p></td><td class="cell"><p>10</p></td><td class="cell"><p>0</p></td><td class="cell"><p>8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Film</p></td><td class="cell"><p>.blogspot.com</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>9</p></td><td class="cell"><p>Cinema</p></td><td class="cell"><p>http://www.cin</p></td><td class="cell"><p>bad/good</p></td><td class="cell"><p>0</p></td><td class="cell"><p>1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Gate</p></td><td class="cell"><p>gate.net</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>10</p></td><td class="cell"><p>Emad Ozery Blog</p></td><td class="cell"><p>http://emadozer</p></td><td class="cell"><p>10</p></td><td class="cell"><p>0</p></td><td class="cell"><p>1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>y.blogspot.com</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>11</p></td><td class="cell"><p>Fil Fan</p></td><td class="cell"><p>http://www.filf</p></td><td class="cell"><p>5</p></td><td class="cell"><p>81</p></td><td class="cell"><p>20</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>an.com</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>12</p></td><td class="cell"><p>Sport4Eve r</p></td><td class="cell"><p>http://sport4eve r.maktoob.com</p></td><td class="cell"><p>10</p></td><td class="cell"><p>0</p></td><td class="cell"><p>1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>13</p></td><td class="cell"><p>DVD4Ara</p></td><td class="cell"><p>http://dvd4arab</p></td><td class="cell"><p>10</p></td><td class="cell"><p>11</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>bPos</p></td><td class="cell"><p>.maktoob.com</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>14</p></td><td class="cell"><p>Gamraii</p></td><td class="cell"><p>http://www.ga</p></td><td class="cell"><p>10</p></td><td class="cell"><p>39</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>mraii.com</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Shadows</p></td><td class="cell"><p>http://shadowsa</p><p>ndphan-toms.blogspot. com</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>15</p></td><td class="cell"><p>and Phan-</p></td><td class="cell"><p>10</p></td><td class="cell"><p>0</p></td><td class="cell"><p>50</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>toms</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></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></tr></table><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Negative</b></p></td><td class="cell"><p><b>Positive</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total <b>documents</b></p></td><td class="cell"><p>250</p></td><td class="cell"><p>250</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total <b>tokens</b></p></td><td class="cell"><p>122,135</p></td><td class="cell"><p>153,581</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Avg. tokens per review</p></td><td class="cell"><p>488.54</p></td><td class="cell"><p>614.32</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total <b>sentences</b></p></td><td class="cell"><p>5,030</p></td><td class="cell"><p>3,483</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Avg. sentences per review</p></td><td class="cell"><p>20.12</p></td><td class="cell"><p>13.93</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></tr></table><figure caption="Figure 1. Steps followed in the generation and validation of the OCA corpus"></figure></section><section number="5." title="Experiments and Results"><p>For the experiments, we have used the Rapid Miner<footnote anchor="6"/>software with its text mining plug-in which contains different tools designed to assist in the preparation of text documents for mining tasks (tokenization, stop word removal and stemming, among others). Rapid Miner is an environment for machine learning and data mining processes.</p><p>We have applied two of the most used classifiers: Support Vector Machines (SVM) and Naïve Bayes (NB).</p><p>SVM [11] is based on the structural risk minimi­zation principle from the computational learning theory, and seek a decision surface to separate the training data points into two classes and makes deci­sions based on the support vectors that are selected as the only effective elements in the training set.</p><p>On the other hand, NB algorithm [8] is based on the Bayes theorem. Due to its complex calculation, the algorithm has to make two main assumptions: first, it considers the Bayes denominator invariant, and second, it assumes that the input variables are conditional independence.</p><p>In our experiments, the 10-fold cross-validation has been used in order to evaluate the classifier. This evaluation has been carried out on three main meas­ures: precision (P), recall (R) and F1 measure [10].</p><p>Moreover, for each machine learning algorithm, we have analyzed how the use of stemmer affects the experiments. TFTDF has been used as weighting scheme. We have also accomplished several experi­ments using different n-grams models. However, the obtained results with bi-grams and trigrams were very similar to unigrams. For this reason we have only shown the best results obtained with unigrams. Re­sults for SVM and NB are shown in Table 5 and Ta­ble 6, respectively.</p><p>As we can see, taking into account the F1 meas­ure, all the experiments with OCA overcome EVOCA except when we use SVM and stemmer. In fact, this is the only case where stemmer obtains a better result although the improvement is very slight (+1.54%). Anyway, the best result is achieved using SVM with­out stemmer over the OCA corpus with 0.9073 of F1 measure.</p><footnote label="6"> http://rapid-i.com</footnote><page local="5" global="744"/><figure caption="Figure 2. Processing followed to generate and validate the EVOCA corpus"></figure><p>However, it is interesting to note that, in the SVM experiments, the loss of precision due to the transla­tion is very little. The highest difference is 4.31% when we do not apply stemmer, while it is 1.54% when the stemmer is applied. In general, the results with EVOCA, near to 90%, are very good comparing them with other works using SVM and English corpo­ra [9].</p><table caption="Table 5. Results with SVM"></table><p>As regard the machine learning algorithm, it is clear that SVM works better in all cases. Taking into account the best results on the OCA corpus, SVM improves 2.49% the result obtained with NB (both without applying stemmer). On the EVOCA corpus the difference is higher for SVM +15.37% and +9.73%, using stemmer and without using it, respec­tively. Although the differences between SVM and NB over the OCA corpus are small, when they are applied over EVOCA, NB loses too much precision. In this case, the translation is affecting highly the re­sults.</p><p>Finally, we have analyzed the impact of the stemmer in the experiments. As can be observed in both Table 5 and Table 6, in all cases the stemming process gets worse results except when we use SVM on the EVOCA corpus (+1.63% for stemming). For the OCA corpus, not use the stemmer always im­proves the results when we apply it (+4.22% using SVM and +4.46% using NB), while we obtain an im­provement of 3.46% on the EVOCA corpus using</p><p>NB.</p></section><section number="6." title="Conclusion"><p>In this paper we have presented an Arabic corpus for opinion mining along with its English translation. OCA and EVOCA corpora are freely available for the research community<footnote anchor="7"/>. The OCA corpus is composed of Arabic reviews obtained from specialized Arabic web pages related to movies and films. Then, we have generated the EVOCA corpus, which is the English translation of the OCA corpus using an automatic machine translation tool. Both corpora include a total of 500 reviews, 250 positives and 250 negatives. In addition, we have accomplished several experiments over the corpora using two different machine learning algorithms (SVM and Naïve Bayes) and applying a stemming process.<page local="6" global="745"/> The results obtained show that, although the precision with the EVOCA are lower, they are comparable with other sentiment analysis researches using English texts. This loss of precision due to the translation is very slight (-4.31% when stemmer is not applied) and therefore it is very inter­esting for the future because we could apply English resources for opinion mining such as SentiWorNet in order to improve the results. On the other hand, we have shown that the use of the stemming process is not recommended to work with these corpora.</p><footnote label="7">OCA and EVOCA corpora are freely available at http://sinai.ujaen.es/wiki/index.php/Recursos</footnote><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>Stem</b></p></td><td class="cell"><p><b>P</b></p></td><td class="cell"><p><b>R</b></p></td><td class="cell"><p><b>F1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>OCA</p></td><td class="cell"><p>Yes</p></td><td class="cell"><p>0.8614</p></td><td class="cell"><p>0.8800</p></td><td class="cell"><p>0.8706</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>No</p></td><td class="cell"><p>0.8699</p></td><td class="cell"><p>0.9480</p></td><td class="cell"><p><b>0.9073</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>EVOCA</p></td><td class="cell"><p>Yes</p></td><td class="cell"><p>0.9007</p></td><td class="cell"><p>0.8680</p></td><td class="cell"><p>0.8840</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>No</p></td><td class="cell"><p>0.8561</p></td><td class="cell"><p>0.8840</p></td><td class="cell"><p>0.8698</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>Table 6. Results with NB</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>Stem</b></p></td><td class="cell"><p><b>P</b></p></td><td class="cell"><p><b>R</b></p></td><td class="cell"><p><b>F1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>OCA</p></td><td class="cell"><p>Yes</p></td><td class="cell"><p>0.8106</p></td><td class="cell"><p>0.8880</p></td><td class="cell"><p>0.8475</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>No</p></td><td class="cell"><p>0.8274</p></td><td class="cell"><p>0.9520</p></td><td class="cell"><p><b>0.8853</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>EVOCA</p></td><td class="cell"><p>Yes</p></td><td class="cell"><p>0.7100</p></td><td class="cell"><p>0.8320</p></td><td class="cell"><p>0.7662</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>No</p></td><td class="cell"><p>0.7323</p></td><td class="cell"><p>0.8640</p></td><td class="cell"><p>0.7927</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></tr></table></section><section number="7." title="Acknowledgments"><p>This work has been partially supported by a grant from the Fondo Europeo de Desarrollo Regional (FEDER), project TEXT-COOL 2.0 (TIN2009-13391-C04-02) from the Spanish Government, a grant from the Andalusian Government, project GeOasis</p><doubt alpha="62.0" length="50" tooSmall="False" monospace="0.0">(P08-TIC-41999), and a grant from the Instituto de</doubt><p>Estudios Giennenses, project Geocaching Urbano (RFC/IEG2010). Also, another part of this project was funded by Agencia Espanola de Cooperaciön Interna-cional para el Desarrollo MAEC-AECID.</p></section><references><p>[1] Abbasi, A., Chen, H., &amp; Salem, A. (2008). Sentiment analysis in multiple languages: Feature selection for opinion classification in Web forums. ACM Trans. Inf. Syst. 26 (3).</p><doubt alpha="65.4" length="214" tooSmall="False" monospace="0.0">[2] Agic, Z., Ljubesic, N., &amp; Tadic, M. (2010). Towards Sentiment Analysis of Financial Texts in Croatian. In N. Calzolari, K. Choukri, B. Maegaard, J. Mariani, J. Odijk, S. Piperidis, M. Rosner &amp; D. Tapias (Eds.),</doubt><p>Language Resources and Evaluation (LREC). Euro­pean Language Resources Association.</p><p>[3] Ahmad, K., Cheng, D., &amp; Almas, Y. (2006). Multi­lingual sentiment analysis of financial news streams. Proceedings of Science (GRID2006).</p><p>[4] Boldrini, E., Balahur, A., Martinez-Barco, P., &amp; Mon-toyo, A. (2009). Emotiblog: an annotation scheme for emotion detection and analysis in non-traditional tex­tual genres. In R. Stahlbock, S.F. Crone &amp; S. Less­mann (Eds.), DMIN (pp. 491-497). CSREA Press.</p><p>[5] Denecke, K. (2008). Using SentiWordNet for multi­lingual sentiment analysis. ICDE Workshops (pp. 507-512). IEEE Computer Society.</p><doubt alpha="53.6" length="56" tooSmall="False" monospace="0.0">[6]  Esuli, A., &amp; Sebastiani, F. (2006). SentiWordNet: A</doubt><p>Publicly Available Lexical Resource for Opinion Min­ing. Proceedings of the 5th Conference on Language Resources and Evaluation (LREC) (pp. 417-422).</p><p>[7] Ghorbel, H., &amp; Jacot, D. (2010). Sentiment analysis of French movie reviews. Proceedings of the 4th interna­tional Workshop on Distributed Agent-based Retriev­al Tools (DART 2010). Geneva, Italy.</p><p>[8]   Mitchell, T. (1997). Machine Learning. McGraw-Hill.</p><p>[9] Pang, B., &amp; Lee, L. (2008). Opinion mining and sen­timent analysis. Foundations and Trends in Informa­tion Retrieval 2 (1-2) (pp. 1-135).</p><p>[10] Sebastiani, F. (2002). Machine Learning in Auto­mated Text Categorization. ACM Computing Sur­veys, 34(1), 1.</p><p>[11] Vapnik, V. (1995). The Nature of Statistical Learning Theory. Springer-Verlag, New York.</p><p>[12] Zhang, C., Zeng, D., Li, J., Wang, F.-Y., &amp; Zuo, W. (2009). Sentiment analysis of Chinese documents: From sentence to document level. Journal of the American Society for Information Science and Tech­nology (JASIST), 60(12), 2474-2487.</p></references></body></article>