<!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>Towards a language independent Twitter bot detector</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jonas Lundberg</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jonas Nordqvist</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mikko Laitinen</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science, Linnaeus University</institution>
          ,
          <addr-line>V ̈axj ̈o</addr-line>
          ,
          <country country="SE">Sweden</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Mathematics, Linnaeus University</institution>
          ,
          <addr-line>V ̈axj ̈o</addr-line>
          ,
          <country country="SE">Sweden</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>School of Humanities, University of Eastern Finland</institution>
          ,
          <addr-line>Joensuu</addr-line>
          ,
          <country country="FI">Finland</country>
        </aff>
      </contrib-group>
      <fpage>308</fpage>
      <lpage>319</lpage>
      <abstract>
        <p>This article describes our work in developing an application that recognizes automatically generated tweets. The objective of this machine learning application is to increase data accuracy in sociolinguistic studies that utilize Twitter by reducing skewed sampling and inaccuracies in linguistic data. Most previous machine learning attempts to exclude bot material have been language dependent since they make use of monolingual Twitter text in their training phase. In this paper, we present a language independent approach which classifies each single tweet to be either autogenerated (AGT) or human-generated (HGT). We define an AGT as a tweet where all or parts of the natural language content is generated automatically by a bot or other type of program. In other words, while AGT/HGT refer to an individual message, the term bot refers to non-personal and automated accounts that post content to online social networks. Our approach classifies a tweet using only metadata that comes with every tweet, and we utilize those metadata parameters that are both language and country independent. The empirical part shows good success rates. Using a bilingual training set of Finnish and Swedish tweets, we correctly classified about 98.2% of all tweets in a test set using a third language (English).</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        In recent years, big data from various social media applications have turned the
web into a user-generated repository of information in ever-increasing number
of areas. Because of the relatively easy access to tweets and their metadata,
Twitter4 has become a popular source of data for investigations of a number of
phenomena. These include for instance studies of the Arab Spring [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], various
political campaigns [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ], of Twitter as a tool for emergency communication [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ],
and using social media data to predict stock market prices [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. In linguistics,
various mono- [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and multilingual text corpora of tweets [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] have been built
recently and used in a wide range of subfields (e.g. dialectology, language
variation and change). The problem of establishing a Twitter text corpus for small
languages (e.g., Croatian) is discussed in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
4 www.twitter.com
      </p>
      <p>One special characteristic of Twitter and many other social media
applications is the presence of bot accounts, i.e. non-personal and automated accounts
that post content to online social networks. A bot refers to a heterogeneous set
of account types which post tweets automatically. The popularity of Twitter as
an instrument in public debate has led to a situation in which it has become an
ideal target of spammers and automated programs. It has been estimated that
around 5-10% of all users are bots5, and that these accounts generate about
2025% of all tweets posted6. For research purposes, bots present a serious problem
because they reduce data accuracy and may dramatically skew the results of
analyses using social media data.</p>
      <p>
        Consequently, bot detection has been discussed in various papers in computer
sciences [
        <xref ref-type="bibr" rid="ref11 ref12 ref13 ref14 ref15 ref9">9, 11–15</xref>
        ]. In sociolinguistics, previous studies have relied on a range
of methods when dealing with bots. For instance, Huang et al. [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] recognize
their presence but include them in the results (also true for Laitinen et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]).
Coats [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] utilizes a method in which material from certain types of devices is
excluded.
      </p>
      <p>
        In computer science, the various bot detection approaches typically apply
machine learning based on account properties and/or tweet metadata. A typical
method is to focus on classifying whether a user account is a bot or not. These
attempts tend to make use of historical (timeline) data to compute properties
like tweets per day, or statistical measures (e.g. entropy or χ2-test, [
        <xref ref-type="bibr" rid="ref11 ref12 ref9">9, 11, 12</xref>
        ]) to
identify periodic patterns in the tweeting behavior on an account level. Another
approach in previous attempts is to use the actual Twitter text keyed in by the
author as an input parameter in the classification. This results in the classifier
becoming language dependent since the classifiers are trained on a monolingual
set of tweets (English in most cases). While these approaches may result in
sufficient precision and recall rates, these approaches have two practical problems.
(1) The language dependency requires a new classifier (using a new training set)
for each new language. (2) As such, the systems cannot easily classify tweets in
real-time, as a part of the Twitter downloading stream, since they make use of
historical data that must be downloaded in advance. This makes it difficult to
integrate such an application into a digital language infrastructure that makes
social media data available for researchers in the humanities.
      </p>
      <p>This paper presents a language independent approach for detecting AGTs.
This language independency stems from the fact that the actual Twitter text
is not used as an input feature in the classifier. In fact, the algorithm classifies
each tweet using only select attributes in the metadata which are available for
each tweet. This feature not only makes our approach simple and light, but
it also makes it possible to classify tweets in real-time as a part of a Twitter
downloading system.
5
www.nbcnews.com/business/1-10-twitter-accounts-fake-say-researchers2D11655362
6 sysomos.com/inside-twitter/most-active-twitter-user-data/
Example tweet
I was out walking
with #something
https://somewhere.com
New year perfect photo
#something #somethingelse
https://somewhere.com</p>
      <p>Comment Class
8.02 km This tweet is generated by an app AGT
#somethingelse and by adding ‘I was out walking’ it</p>
      <p>adds natural language to the tweet.</p>
      <p>frame!! This tweet is generated by an app HGT
@location but not considered an AGT since it
does not add any natural language.</p>
      <p>The natural language was originally
produced in the app by the user.</p>
    </sec>
    <sec id="sec-2">
      <title>Language independent AGT detection</title>
      <p>
        The dataset to be used here is collected using the same parameters as in the
Nordic Tweet Stream (NTS) corpus [
        <xref ref-type="bibr" rid="ref17 ref8">8, 17</xref>
        ]. The NTS uses the Twitter
Streaming API to collect tweets by specifying a geographical region covering the five
Nordic countries. This corpus is a real-time monitor corpus designed for
sociolinguistic studies of variability in the Nordic region. Our research carried out
using the material has primarily been related to charting the use of English in
the area, investigating its grammatical variability, and modelling social networks
in multilingual settings [
        <xref ref-type="bibr" rid="ref18 ref19">18, 19</xref>
        ]. The data stream has specific characteristics that
influence bot-recognition tools. First, it consists of high velocity data, as we
capture nearly 40,000 tweets per day. Second, an additional characteristic is
heterogeneity, and we work with a natural language stream that is highly
multilingual. To illustrate, in the first 301 days of streaming, there were nearly 70
languages present, but 20 most frequent languages made up of 98.2% of the
material. The most frequently used languages were English, Swedish, and Finnish,
and the ensuing work focuses on these languages to develop tools for future work.
2.2
      </p>
      <p>
        Defining autogenerated tweets
We follow [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and define autogenerated tweets (AGT) as tweets where all or
part of the natural language content is generated automatically by a bot, an
application or any other type of program. Moreover, by definition we do not
automatically include tweets posted by an application, since we only include
those for which the application supplements some natural language content to
the tweet. For example, a bot (or an app) that is retweeting a non-AGT is not
producing a new AGT since it is not adding any natural language. Thus, AGTs
in our definition come in two flavors. Tweets generated from pure bot accounts,
such as weather bots, job bots, news bots, etc. The second type consists of tweets
generated by applications and programs that are maintained and managed by
humans. An opposite of an AGT is HGT (a human-generated tweet). Figure 1
above presents two examples of AGTs and HGTs according to our definition.
See [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] for more details and examples related to this definition.
      </p>
      <p>Establishing Ground Truth
The three datasets used in this paper are a random sample of: (1) 5,000 English
tweets collected during a 10 days period in January 2017, (2) 5,000 Swedish
tweets collected during a 10 days period in January 2017, and (3) 5,000 Finnish
tweets collected during a 4 days period in April 2018.</p>
      <p>The manual AGT/HGT annotation was made by persons very knowledgable
in the languages they handled. Native speakers for the Swedish and Finnish
datasets. In addition to the AGT definition and a lot of examples, each group
of persons where given an excel sheet which, for each tweet, contained the user
name, the actual Twitter text and a web link of type
giving the annotater a chance to see the tweet in a context, among other tweets
published by same user. The web link gives the annotater a very good
understanding of what type of user that was publishing the tweet.</p>
      <p>The Finnish and Swedish are mainly used for training whereas the English
tweets are utilized to evaluate the language independence of the classifier. While
this is the first attempt to test the algorithm, the results of the pilot study using
these three languages should be interpreted with some degree of caution. We plan
on expanding the set of languages to other unseen languages in our future work.
More importantly, the raw data used here can be made available upon request
to those interested to allow replicability and encourage future comparisons.
2.4</p>
      <p>Tweet properties used in the classification
The input to the AGT classifier consists of 10 tweet properties attaining
numerical and nominal values that can be computed directly using the tweet metadata.
These properties are selected as indicators that can be used (one at the time, or
in combination) to identify non-human behavior. For instance, one should expect
that humans have more followers than bots, or that AGTs tend to contain more
URLs. The ten properties are:
– isReply - boolean indicating if the tweet is a reply
– isRetweet - boolean indicating if the tweet is a retweet
– accountReputation - number of followers divided by the number of friends and
followers
– hashtagDensity, urlDensity, mentionDensity - number of hashtag/URL/mention
entities, respectively, divided by the total number of the words in the tweet
– statusesPerDay - total number of user’s tweets divided by account age in days
– favoritesPerDay - number of tweets favorited by user divided by account age
– deviceType - nominal variable based on the type of source used to post the tweet:
1. mobile: Twitter for Iphone, Twitter for Android etc.
2. web: Twitter Web Client, Tweetbot for Mac etc.
3. app: Instagram, Tumblr, Foursquared etc.
4. smm: Hootsuite, TweetDeck, dlvr.it, etc.
5. bot: Trendsmap Alerting, SpotifyNowPlaying, etc.
6. unknown: not classified sources.</p>
      <p>
        Apart from the nominal deviceType property, these properties have been
discussed and evaluated in [
        <xref ref-type="bibr" rid="ref11 ref12 ref15 ref21 ref9">9, 11, 12, 15, 21</xref>
        ].
      </p>
      <p>The tweet metadata contains an attribute source that identifies what type
of an app or program that was used to post the tweet. We manually classified
150 most frequently used sources in our training set into five categories, 1-5, as
defined in the deviceType attribute. These 150 sources cover about 97% of the
training set, while the remaining (unlabelled) sources were uniformly labelled
unknown. The device type smm stands for Social Media Management. That is,
they are tools for managing content on multiple accounts on social networks.</p>
      <p>Device Type
mobile (1)
web (2)
app (3)
smm (4)
bot (5)
unknown (6)</p>
      <p>Swedish
65 (0.1)
21 (6.3)
2.7 (9.6)
6.6 (40.4)
0.7 (93.5)
2.5 (49.4)</p>
      <p>Finnish</p>
      <p>English
62 (3.3) 51 (0.01)
23 (7.5) 19 (0.4)
2.1 (18) 8.2 (10)
5.4 (29) 0.3 (52)
3.5 (96) 21 (99.9)
3.1 (74) 0.001 (77)</p>
      <p>The deviceType property turns out to be the backbone of our AGT
classification (see Section 3.3). Table 1 shows the different device types that were used
in the different datasets and what percentage of AGTs we find in each type. For
example, 65% of all tweets in the Swedish dataset were posted using device type
1 (mobile) and only 0.1% of these tweets are labelled as AGTs. A noteworthy
feature is that device types 1 (mobile) and 2 (web) dominate. They are used to
post about 85% of all tweets. Notice also that the percentage of AGTs for these
tweets (especially for type 1) is very low (0.01-3.3% depending on language).
Hence, a tweet of type 1 or 2 is very likely to be a HGT. However, device type 5
(bot) is a clear (93.5-99.9%) indication of AGTs. This leaves three device types
to be problematic. They are 3 (app), 4 (smm), and 6 (unknown), all of which can
be either AGTs or HGTs. For these types, additional information drawn from
the other properties is needed to make a classification.
2.5</p>
      <p>
        Methodology in AGT classification
All classifiers are developed and evaluated using the Weka machine learning
toolkit [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ]. Rather than evaluating all applicable machine learning algorithms,
we tested a few models but soon realized that tree-based models outperform
the other available algorithms. Similar results (i.e. that tree-based models are
suitable for tweet classification tasks) are reported in [
        <xref ref-type="bibr" rid="ref11 ref21 ref22 ref9">9, 11, 21, 22</xref>
        ]. The results
presented below are generated using two different tree-based models: J48 and
Random Forest.
      </p>
      <p>
        J48 is an open-source Java implementation of the C4.5 algorithm by Quinlan
[
        <xref ref-type="bibr" rid="ref24">24</xref>
        ]. Given a set of training data, the algorithm returns a decision tree in which
313
each split is made to increase the information gain by use of entropy. Random
Forest [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ] is an ensemble method, which utilizes de-correlated decision trees to
produce a consensus model.
      </p>
      <p>
        The metrics we use to evaluate the results of the classifiers are the error
rate (%), and precision and recall [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. Precision is the positive predictive value,
i.e. the proportion of correctly classified instances among the total number of
instances classified as AGTs. Recall or true positive rate is the proportion of
correctly identified AGTs among the total number of AGTs.
2.6
      </p>
      <p>
        Single language results
The number of tweets labelled as AGT varies between the languages: English
(22.5%), Swedish (6.4%), and Finnish (11.4%). Table 2 shows brief classification
results for classifiers trained (using 4,000 tweets) and tested (using 1,000) on
the same language. The results are not as accurate as other more elaborated
approaches for monolingual AGT detection (e.g. [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]), but still surprisingly good
considering that only ten easily extracted metadata properties were used. These
results show that English AGTs are rather easy to detect (accuracy 99.2%). A
more detailed study of the English dataset shows that a large portion of the
English AGTs are posted by bot accounts (e.g. weather bots) that are easily
identified by the device type (5, bot) used to generate them.
      </p>
      <p>Error Rate (%) Precision</p>
      <p>Recall
English
Swedish
Finnish
0.82
2.80
4.75
0.991
0.790
0.865
0.973
0.767
0.701</p>
      <p>As shown in the previous paragraph, the Swedish tweet dataset has the
lowest AGT ratio (6.4%) and fewer AGTs generated by pure bot accounts than
the English and the Finnish datasets. The most significant characteristic of the
Swedish AGTs is that many are posted by SMM tools (type 4) that
companies/organizations use to promote news published on their own websites. This
type of AGTs are harder to detect but accuracy can be increased by including
information of their device type (4) and combined with other properties (e.g.
accountReputation or statusesPerDay )</p>
      <p>Detecting AGTs in the Finnish dataset turns out to be the most difficult
(i.e. recall being the lowest). Whereas Swedish newspapers often use SMM tools
to promote news on Twitter, it looks like that many Finnish newspapers in our
sample often take a more hands-on approach and manually share their
newspaper web content on their Twitter account. Therefore, detecting this behavior
automatically is difficult since the used device type often is of types (1 or 2) that
we usually associate with HGTs, such as Twitter for Iphone or Twitter Web
Client.
314</p>
      <p>The fact that each dataset (language) has its own characteristics makes a
classifier trained on a certain language less accurate when used to detect AGTs in
another language. For example, Table 3 shows the result of applying the Finnish
and Swedish classifiers on the English tweets. Notice that both classifiers are less
accurate then the classifier (denoted English in Table 2) that was trained using
English tweets.
In this part, Section 3.1 presents the results of training an AGT classifier using
a bilingual training set (Swedish and Finnish). Section 3.2 tests the classifier on
a third unseen language, English, which is the dominant language in the NTS.
In the training phase, we use the Swedish and Finnish datasets, a total of 10,000
tweets. The training results in terms of error rate, precision, and recall for each
evaluated classifier (approximated by a separate 10-fold cross-validation) are
shown in Table 4.</p>
      <p>RF-SP</p>
      <p>J48-SP</p>
      <p>J48-HP
results presented here are not as accurate as the monolingual results presented
for Swedish and Finnish in Table 2. Hence, while working with multilingual data
streams may have benefits for sociolinguistic research, adding new languages to
the classifier comes with a price. The classifier accuracy suffers even when it has
been trained on a set that contains the same languages as the test set.
3.2</p>
      <p>Testing on an unseen language
Our objective is to develop a light language independent application for AGT
detection. The application should work on any language no matter if they are
used in the training phase. Here we look into the results using the three most
frequent languages in the NTS data. The classifiers were trained on a dataset
with two languages (Swedish and Finnish), and Table 5 below shows the results
of applying the classifiers on the English dataset.</p>
      <p>The first thing to notice is that the standard pruning (RF-SP) results using a
bilingual training set are better than the results using monolingual training sets
in Table 3. Hence, a classifier trained on two languages outperforms classifiers
trained on a single language when applied on tweets in an unseen language.
While the result only applies to English tweets, the finding is encouraging since
it indicates that by adding a few more languages to the training set we can
expect a better result for yet unseen languages.</p>
      <p>The second thing to notice, and a major surprise, is that contrary to the
training results in Table 4, the simple model of J48-HP outperforms the more
complex models (RF-SP and J48-SP). This indicates over-fitting, so that the
complex models produced by RF-SP and J48-SP are much too specialized on the
training languages Swedish and Finnish, and that the more coarse-grained
J48HP model focusing on only the essential information better adopts to handling
a new language.
3.3</p>
      <p>A closer look at J48-HP
Another criterion for our light language independent application for AGT
detection is its suitability for digital humanities infrastructures, such as handling
high-velocity data of the NTS. Our empirical findings suggest that the
coarsegrained J48-HP model is the best model for classifying tweets in an unseen
language by avoiding over-fitting to the languages used in the training data.
Another advantage from the digital infrastructure perspective is that it is rather
favoritesPerDay &lt;= 0.068
| statusesPerDay &lt;= 10.4
| | urlDensity &lt;= 0.05: HGT
| | urlDensity &gt; 0.05
| | | isRetweet = 0
| | | | deviceType = 1: HGT
| | | | deviceType = 2
| | | | | mentionDensity &lt;= 0.026: HGT
| | | | | mentionDensity &gt; 0.026
| | | | | | isReply = 0
| | | | | | | accountRep &lt;= 0.48: AGT
| | | | | | | accountRep &gt; 0.48
| | | | | | | | accountRep &lt;= 0.95: HGT
| | | | | | | | accountRep &gt; 0.95: AGT
| | | | | | isReply = 1: HGT
| | | | deviceType = 3: HGT
| | | | deviceType = 4
| | | | | urlDensity &lt;= 0.11: HGT
| | | | | urlDensity &gt; 0.11: AGT
| | | | deviceType = 5: AGT
| | | | deviceType = 6
| | | | | statusesPerDay &lt;= 0.37
| | | | | | accountRep &lt;= 0.27: AGT
| | | | | | accountRep &gt; 0.27: HGT
| | | | | statusesPerDay &gt; 0.37: AGT
| | | isRetweet = 1: HGT
| statusesPerDay &gt; 10.4
| | deviceType = 1: HGT
| | deviceType = 2: HGT
| | deviceType = 3: HGT
| | deviceType = 4
| | | urlDensity &lt;= 0.052
| | | | statusesPerDay &lt;= 42.7: HGT
| | | | statusesPerDay &gt; 42.7: AGT
| | | urlDensity &gt; 0.052: AGT
| | deviceType = 5: AGT
| | deviceType = 6: AGT
favoritesPerDay &gt; 0.068: HGT
easy to comprehend and therefore probably more robust (having low variance).
Figure 2 below shows the entire model.</p>
      <p>The J48-HP decision tree uses favoritesPerDay &gt; 0.068 to identify
accounts with a typical human behavior (they like other posts) and marks all
tweets published by these accounts as HGTs. It then separates the accounts
into active (statusesPerDay &gt; 10.4) and not-so-active (statusesPerDay &lt;=
10.4). Next, it uses the deviceType property as the base and the other
proper317
ties mainly to identify non-human behavior for more problematic device types,
as presented in Section 2.4 (i.e. device types 2, 4, and 6).
4</p>
    </sec>
    <sec id="sec-3">
      <title>Summary and future work</title>
      <p>Handling and processing heterogeneous and highly variable natural language
data is rarely without problems. Additional complications are added when
processing needs to be done in real-time for high-velocity data. Our goal has been to
present ongoing efforts to build a language independent classifier for detecting
autogenerated tweets (AGTs) written in any language.</p>
      <p>Here we piloted one system and trained one AGT classifier using a training
set consisting of tweets in two languages, Swedish and Finnish. We evaluated
the classifier using a third dataset of English tweets. The classifier is in principle
language independent since it does not use the actual Twitter text but only relies
on language and country independent metadata that are available in each tweet.</p>
      <p>
        The results, considering this straightforward approach, are surprisingly7
accurate: Error rate (1.84%), Precision (0.998), and Recall (0.920). However, the
results are not as accurate as monolingual Twitter classifiers using the Twitter
text and user timeline information, which is downloaded separately (e.g. [
        <xref ref-type="bibr" rid="ref11 ref9">9, 11</xref>
        ]),
but we propose that they can increase data accuracy in many fields in the
humanities. Moreover, they are most likely sufficiently accurate for many digital
humanities research projects that would like to filter out AGTs from their datasets.
Lastly, our approach is also useful for online AGT detection and handling large
Twitter datasets where the time needed to download user timeline information
might be problematic because of speed and/or volume.
      </p>
      <p>The results also indicate that better results for unseen languages can be
achieved by using a training set with several languages. Hence, as a part of
future work we plan to add 2-3 more languages to the training set. This obviously
requires (wo)manpower, and we acknowledge the help from the students Hanna
Kernen and Irene Taipale at the University of Eastern Finland for their help
with labeling the Finnish dataset used here.</p>
      <p>The results show that the most simple model (J48-HP) outperformed more
complex models, which had better training results, when applied to an unseen
language. This finding indicates over-fitting with respect to the languages used
in the training data. The fact that the test set is qualitatively different from
the training set is not a standard scenario in machine learning and needs to be
addressed in future studies.</p>
      <p>
        In this paper we trained the classifier using Swedish and Finnish tweets, and
evaluated the approach using English tweets. Exploring other combinations (e.g.
train on Finnish and English, evaluate using Swedish) as well as including more
languages is also future work.
7 Compared with much more elaborated monolingual approaches, such as [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1. D.G. Campbell, ”
          <article-title>Egypt Unsh@ckled - Using Social Media to@#:) the System: how 140 Characters Can Remove a Dictator in 18 Days”</article-title>
          ,
          <string-name>
            <surname>Cambria</surname>
            <given-names>Books</given-names>
          </string-name>
          , United Kingdom,
          <year>2011</year>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>A.</given-names>
            <surname>Tumasjan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Sprenger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Sandner</surname>
          </string-name>
          , I. Welpe, ”
          <article-title>Predicting Elections with Twitter: What 140 Characters Reveal about Political Sentiment”</article-title>
          ,
          <source>Int. AAAI Conference on Web and Social Media</source>
          , pp.
          <fpage>178</fpage>
          -
          <lpage>185</lpage>
          ,
          <year>2010</year>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>D.</given-names>
            <surname>Gayo Avello</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.T.</given-names>
            <surname>Metaxas</surname>
          </string-name>
          , E. Mustafaraj, ”
          <article-title>Limits of electoral predictions using Twitter”</article-title>
          ,
          <source>International AAAI Conference on Weblogs and Social Media</source>
          , pp.
          <fpage>490</fpage>
          -
          <lpage>493</lpage>
          ,
          <year>2011</year>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>J.N.</given-names>
            <surname>Sutton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Palen</surname>
          </string-name>
          , I. Shklovski, ”
          <article-title>Backchannels on the front lines: Emergency uses of social media in the 2007 Southern California Wildfires”</article-title>
          ,
          <source>International Conference on Information Systems for Crisis Response and Management</source>
          , 2008
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>T.</given-names>
            <surname>Sakaki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Okazaki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Matsuo</surname>
          </string-name>
          , ”
          <article-title>Earthquake shakes Twitter users: real-time event detection by social sensors”</article-title>
          ,
          <source>International conference on World wide web (WWW'10)</source>
          , pp.
          <fpage>851</fpage>
          -
          <lpage>860</lpage>
          ,
          <year>2010</year>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>J.</given-names>
            <surname>Bollen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Mao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zeng</surname>
          </string-name>
          , ”
          <article-title>Twitter mood predicts the stock market”</article-title>
          ,
          <source>Journal of Computational Science</source>
          , vol.
          <volume>2</volume>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          ,
          <fpage>2011</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7. T. Scheffler, ”A German Twitter Snapshot”,
          <source>International Conference on Language Resources and Evaluation (LREC'14)</source>
          ,
          <year>2014</year>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>M.</given-names>
            <surname>Laitinen</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lundberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Levin</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Lakaw, ”
          <article-title>Creating the Nordic tweet stream: A real-time monitor corpus of rich and big language data”</article-title>
          .
          <source>Journal of Universal Computer Science</source>
          , vol.
          <volume>23</volume>
          , pp.
          <fpage>1038</fpage>
          -
          <lpage>1056</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>J.</given-names>
            <surname>Lundberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Nordqvist</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Matosevic “
          <article-title>On-the-fly Detection of Autogenerated Tweets ”</article-title>
          , arXiv preprint
          <year>1802</year>
          .
          <volume>01197</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. N. Ljubeˇsic, Nikola and
          <string-name>
            <given-names>D.</given-names>
            <surname>Fiˇser</surname>
          </string-name>
          , T. Erjavec, “
          <article-title>TweetCaT: a tool for building Twitter corpora of smaller languages ”</article-title>
          ,
          <source>Proceedings of LREC</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>Z.</given-names>
            <surname>Chu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gianvecchio</surname>
          </string-name>
          , S. Jajodia, ”
          <article-title>Detecting Automation of Twitter Accounts: Are you a Human, Bot</article-title>
          , or Cyborg?”,
          <source>Transactions on Dependable and Secure Computing</source>
          , vol.
          <volume>9</volume>
          , pp.
          <fpage>811</fpage>
          -
          <lpage>824</lpage>
          ,
          <year>2012</year>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>C.M. Zhang</surname>
          </string-name>
          , V. Paxson, ”
          <source>Detecting and analyzing automated activity on Twitter”, International Conference on Passive and Active Network Measurement</source>
          , pp.
          <fpage>102</fpage>
          -
          <lpage>111</lpage>
          ,
          <year>2011</year>
          ,
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>N.</given-names>
            <surname>Chavoshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Hamooni</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Abdullah, ”
          <article-title>Identifying correlated bots in Twitter”</article-title>
          ,
          <source>Int. Conference on Social Informatics</source>
          , pp.
          <fpage>14</fpage>
          -
          <lpage>21</lpage>
          ,
          <year>2016</year>
          ,
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>F.</given-names>
            <surname>Morstatter</surname>
          </string-name>
          , L. Wu,
          <string-name>
            <given-names>T.</given-names>
            <surname>Nazer</surname>
          </string-name>
          ,
          <string-name>
            <surname>K.M. Carley</surname>
          </string-name>
          , H. Liu, ”
          <article-title>A new approach to bot detection: striking the balance between precision and recall”</article-title>
          ,
          <source>International Conference on Advances in Social Networks Analysis and Mining</source>
          , pp.
          <fpage>533</fpage>
          -
          <lpage>540</lpage>
          ,
          <year>2016</year>
          ,
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15. V.S. Subrahmanian et al, ”
          <article-title>The DARPA Twitter Bot Challenge”</article-title>
          , Computer,
          <source>The IEEE Computer Society</source>
          , pp.
          <fpage>38</fpage>
          -
          <lpage>46</lpage>
          , vol.
          <volume>49</volume>
          ,
          <year>2016</year>
          ,
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Diansheng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A</given-names>
            <surname>Kasakoff</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Grieve</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>“Understanding US regional linguistic variation with Twitter data analysis” Computers, Environment and Urban Systems</article-title>
          , vol.
          <volume>59</volume>
          , pp.
          <fpage>244255</fpage>
          ,
          <year>2016</year>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>M. Laitinen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Lundberg</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Levin</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Martins</surname>
          </string-name>
          .
          <year>2018</year>
          , “
          <article-title>The Nordic Tweet Stream: A Dynamic Real-Time Monitor Corpus of Big and Rich Language Data”</article-title>
          ,
          <source>Proc. of Digital Humanities in the Nordic Countries 3rd Conference</source>
          , Helsinki, Finland, March 7-
          <issue>9</issue>
          ,
          <fpage>2018</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>M. Laitinen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Lundberg</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Levin</surname>
            ,
            <given-names>A</given-names>
          </string-name>
          . Lakaw, “
          <article-title>Revisiting weak ties: using presentday social media data in variationist studies”</article-title>
          . In Tanja Sily, Minna Palander-Collin, Arja Nurmi, Anita Auer (eds.),
          <source>Exploring Future Paths for Historical Sociolinguistics</source>
          , Amsterdam: John Benjamins, pp
          <fpage>303325</fpage>
          ,
          <year>2017</year>
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>M. Laitinen</surname>
            ,
            <given-names>J. Lundberg.</given-names>
          </string-name>
          “
          <article-title>ELF and social networks: Evidence from a thirdgeneration ELF corpus”</article-title>
          .
          <source>In Anna Mauranen and Svetlana Vetchinnikova (eds.)</source>
          ,
          <article-title>Language Change: The Impact of English as a Lingua Franca</article-title>
          . Cambridge: Cambridge University Press,
          <year>2018</year>
          , Forthcoming
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20. S. Coats, ”
          <article-title>Grammatical frequencies and gender in Nordic Twitter Englishes”</article-title>
          , Michael Beiwenger (eds.).
          <source>Proceedings of the 4th Conference on CMC and Social Media Corpora for the Humanities</source>
          , Ljubljana: U. of Ljubljana Academic Publishing, pp.
          <fpage>12</fpage>
          -
          <lpage>66</lpage>
          ,
          <year>2016</year>
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.D.</given-names>
            <surname>Eoff</surname>
          </string-name>
          , J. Caverlee, ”
          <article-title>Seven Months with the Devils: A Long-Term Study of Content Polluters on Twitter”</article-title>
          ,
          <source>International AAAI Conference on Weblogs and Social Media</source>
          ,
          <year>2011</year>
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>M. Mccord</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Chuah</surname>
          </string-name>
          , ”
          <article-title>Spam detection on Twitter using traditional classifiers”</article-title>
          ,
          <source>International Conference on Autonomic and Trusted Computing</source>
          , pp.
          <fpage>175</fpage>
          -
          <lpage>186</lpage>
          ,
          <year>2011</year>
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>M. Hall</surname>
          </string-name>
          et al.,
          <source>The Weka Data Mining Software: An Update, SIGKDD Explorations Newsletter</source>
          , vol.
          <volume>11</volume>
          , pp.
          <fpage>10</fpage>
          -
          <lpage>18</lpage>
          ,
          <year>2009</year>
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>J.R. Quinlan</surname>
          </string-name>
          <article-title>”C4.5 : Programs for machine learning”</article-title>
          , Morgan Kaufmann Publishers,
          <year>1993</year>
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25. L. Breiman, ”
          <source>Random Forests” Machine Learning</source>
          , vol.
          <volume>45</volume>
          , pp.
          <fpage>5</fpage>
          -
          <lpage>32</lpage>
          ,
          <year>2001</year>
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>D. M. W. Powers</surname>
          </string-name>
          , ”
          <article-title>Evaluation: From precision, recall and f-measure to ROC, informedness, markedness &amp; correlation”</article-title>
          ,
          <source>Journal of Machine Learning Technologies</source>
          , vol.
          <volume>2</volume>
          , pp.
          <fpage>37</fpage>
          -
          <lpage>63</lpage>
          ,
          <year>2011</year>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>