<!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>Misogyny identification through SVM at IberEval 2018</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jose Sebastián Canós</string-name>
          <email>josecan@inf.upv.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universitat Politècnica de València</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <fpage>229</fpage>
      <lpage>233</lpage>
      <abstract>
        <p>This paper explains the author's approach to the task Automatic Misogyny Identification at IberEval 2018 whose objective is to identify cases of aggressiveness and hate speech towards women. It describes the system submitted to the task, which is based on a support vector machine model, its development and the results obtained.</p>
      </abstract>
      <kwd-group>
        <kwd>Misogyny identification</kwd>
        <kwd>Twitter</kwd>
        <kwd>Support vector machine</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        The objective of the task on Automatic Misogyny Identification at IberEval 2018 is to
identify cases of aggressiveness and hate speech towards women. Nowadays in social
media people can develop and express their hatred easily without endangering
themselves, leaving many cases of harassment. One regular target of this hatred are women,
and there are investigations that study how and in which forms this misogyny is
expressed [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], but there have not been many published efforts to automatically identify
misogyny in social media as the one by [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        The task of misogyny identification shares some similarities with sentiment analysis
or stance detection [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], in the sense that it must detect whether a text is positive or
negative to a target, in this case to identify misogyny. The complexity of the task can
strive in the different meanings of some keywords where they are used in different
contexts.
      </p>
      <p>In the following sections this paper will describe the task (Section 2), the submitted
system’s approach (Section 3), and the results obtained on the task (Section 4). At the
end (Section 5) some conclusions will be presented.
The task Automatic Misogyny Identification is performed over a collection of tweets,
two corpora are available in different languages, Spanish and English, whose results
are evaluated separately. The task includes two subtasks. Subtask A is to classify the
tweets as either misogynous or not misogynous, it is evaluated using the standard
accuracy measure. Subtask B is to classify according to the type of misogyny, and the
target of the message. The categories of misogynistic behavior are five: Stereotype &amp;
Objectification, Dominance, Derailing, Sexual Harassment &amp; Threats of Violence,
2
Discredit. The target classification is binary, Active if the target is specific and Passive
if the target is generic. The evaluation of the second subtask is the macro average F1
score as follows:
 1 =
 1(
ℎ
 
) +  1(</p>
      <p>)
2
(1)
The distribution of misogynistic tweets, behavior categories and target for both Spanish
and English tweets in the training corpora is shown in Table 1. Some behavior
categories are not very represented, &lt;2% of misogynistic tweets pertain to the category
Derailing. There are some differences between the two languages in the presence of
misogynistic tweets of the category Dominance, and &gt;85% of the Spanish misogynistic
tweets are Active, i.e. refer to a specific target.
The system’s approach starts with a preprocessing of the tweets, then each tweet is
vectorized by tf-idf features. At the next step the system classifies each tweet for
subtask A, the tweets classified as misogynistic in this first subtask are then finally
classified for subtask B, a classification by type of misogyny and target of the message.
3</p>
      <p>Replace multiple concatenated exclamation and question marks by the keyword
MIXED_MARKS.</p>
      <p>Replace URLs by the keyword URL.</p>
      <p>Replace user mentions by the keyword USER.</p>
      <p>Replace misogynistic hashtags by the keyword MISO_HASHTAG. A hashtag
was considered misogynistic if it appears only in several misogynistic tweets of
the training corpora. Misogynistic hashtags in English are those that contain any
of the words: bitch, whore, hoe, cunt, womenare, womensuck. Misogynistic
hashtags in Spanish are those that contain any of the words: feminazi, perra.</p>
      <p>Replace the rest of the hashtags by the keyword HASHTAG.
The system model uses tf-idf feature vectors, that are built from the tweets’ unigrams.
For subtask A, that is to classify if a tweet is misogynistic, all tweets are used to extract
the vocabulary. On the other hand, for subtask B, that is to classify the misogynistic
behavior and the target, only the misogynistic tweets are used to extract vocabulary.
Which percentage of terms form the vocabulary according to its document frequency
was empirically decided after the development of the system and its experimentation.</p>
      <p>The system’s classifier is based on support vector machine (SVM), it uses a linear
kernel, and, except for the English part of misogynistic behavior classification, it uses
a one-vs-one classifier instead of one-vs-rest. The system classifies if a tweet is
misogynistic for the first subtask, only if the tweet is classified as misogynistic then the
system classifies its behavior category and its target. The system employs a separately
trained classifier for misogyny, behavior and target.
4</p>
    </sec>
    <sec id="sec-2">
      <title>Development and Results</title>
      <p>
        During its development the system was evaluated using 10-fold cross-validation. The
range of terms that form the vocabulary according to its document frequency was tuned
for each language to maximize accuracy and F1 score. In Table 2, for each subtask, the
percentages of minimum and maximum document frequency among the rest of terms
are presented. If the value for minimum document frequency is 20%, the terms that
formed the vocabulary must not be the 20% least document frequent, analogously with
the maximum.
4
The exceptional case where a one-vs-rest classifier offered best results than the
one-vsone classifier was for the language English in the misogynistic behavior classification.
This can be due to the use of a much larger vocabulary. Only one run of the system
over the test corpora was submitted to the shared task [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] for each language under the
team name JoseSebastian. The results and rankings are shown in Table 3 and Table 4.
Some disparity can be seen between the results for both languages. This system
obtained much better results for Spanish than English among other teams. One possible
explanation could be the different choice of misogynistic hashtags for the two
languages. Another possible explanation could be that misogynistic words are more
accentuated than their counterparts specially in Spanish. Although among all the teams
and runs submitted, the best accuracy for misogynistic tweets classification was
obtained in English, with 91.32% correct guesses.
This paper has described the system submitted to the task on Automatic Misogyny
Identification at IberEval 2018. It employs a classifier based on support vector machine,
with a linear kernel, trained separately for each subtask. This system obtained
pronounced differences in the results over the test corpora between the languages Spanish
and English. Some possible explanations could be the different choice of misogynistic
hashtags as features, or a pronounced accentuation of misogynistic words in one of the
languages respect to the other.
5
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Taulé</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martí</surname>
            ,
            <given-names>M. A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F. M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bosco</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patti</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Overview of the task on stance and gender detection in tweets on Catalan independence at IberEval 2017</article-title>
          .
          <source>In: Proceedings of the Second Workshop on Evaluation of Human Language Technologies for Iberian Languages (IberEval</source>
          <year>2017</year>
          ), Murcia, Spain,
          <source>September 19, CEUR Workshop Proceedings. CEUR-WS.org</source>
          ,
          <year>2017</year>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Aineto-García</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Larriba-Flor</surname>
            ,
            <given-names>A.M.:</given-names>
          </string-name>
          <article-title>Stance detection at ibereval 2017: A biased representation for a biased problem</article-title>
          .
          <source>In: Proceedings of the Second Workshop on Evaluation of Human Language Technologies for Iberian Languages (IberEval</source>
          <year>2017</year>
          ), Murcia, Spain,
          <source>September 19, CEUR Workshop Proceedings. CEUR-WS.org</source>
          ,
          <year>2017</year>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Hewitt</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tiropanis</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bokhove</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>The problem of identifying misogynist language on Twitter (and other online social spaces)</article-title>
          .
          <source>In: Proceedings of the 8th ACM Conference on Web Science</source>
          , Hannover, Germany, May 22. ACM. pp.
          <fpage>333</fpage>
          -
          <lpage>335</lpage>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Fersini</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Anzovino</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Overview of the Task on Automatic Misogyny Identification at IberEval</article-title>
          .
          <source>In: Proceedings of the Third Workshop on Evaluation of Human Language Technologies for Iberian Languages (IberEval</source>
          <year>2018</year>
          ),
          <article-title>co-located with 34th Conference of the Spanish Society for Natural Language Processing (SEPLN</article-title>
          <year>2018</year>
          ).
          <source>CEUR Workshop Proceedings. CEUR-WS.org, Seville, Spain, September</source>
          <volume>18</volume>
          ,
          <year>2018</year>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Anzovino</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fersini</surname>
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Automatic Identification and Classification of Misogynistic Language on Twitter</article-title>
          . In:
          <string-name>
            <surname>Silberztein</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Atigui</surname>
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kornyshova</surname>
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Métais</surname>
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Meziane</surname>
            <given-names>F</given-names>
          </string-name>
          . (eds)
          <source>Natural Language Processing and Information Systems. NLDB 2018. Lecture Notes in Computer Science</source>
          , vol
          <volume>10859</volume>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>