<!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>Extraction of Semantic Activities from Twitter Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sue E. Kase Army Research Lab APG</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sue.e.kase.civ@mail.mil</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Aleksey Panasyuk Air Force Research Lab Rome</institution>
          ,
          <addr-line>NY, 13441</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Erik Blasch Air Force Research Lab Rome</institution>
          ,
          <addr-line>NY, 13441</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Liz Bowman Army Research Lab APG, MD</institution>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2013</year>
      </pub-date>
      <abstract>
        <p>- With the growing popularity of Twitter, numerous issues surround the usefulness of the technology for intelligence, defense, and security. For security, Twitter provides a real-time opportunity to determine unrest and discontent. For defense, twitter can be a source of opensource intelligence (INT) information related to areas of contested environments. However, the semantic content, location of tweets, and richness of the information requires big data analysis for understanding the use of the information for intelligence. In this paper, we describe some results in using twitter data to determine events, the semantic implications of the results from the data, as well as discuss pragmatic uses of twitter data for multi-INT data fusion. The results collected during the period of Egypt Arab spring conclude that (1) many tweets are clutter or noise in analysis, (2) location information does not always convey the accuracy of the information, and (3) the aggregate processing of the twitter data results in real-time trends of possible events that warrant more conventional information gathering.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>INTRODUCTION</p>
      <p>Over the last decade, there has been a surge of the use of
constrained messages sizes in 140 characters or less, known as
“tweets.”  The  popularity  of  tweets  has  three  emerging  issues: 
(1) big data as the number of users grows, (2) semantic
extraction of meaningful content from cryptic phrases and
nonstandard terminology, and (3) the large amount of semantic
clutter that reduces the signal-to-noise ratio of identifying
salient content (e.g., key words of phrases).</p>
    </sec>
    <sec id="sec-2">
      <title>A. Twitter as a source of Intelligence</title>
      <p>While the use of open source information becomes popular
such as Facebook, imagery, and text; it is well established that
tweets are being used by anyone anywhere from distributed
mobile platforms. The presentation of different semantic
formats and the number of users require pragmatic approaches
to searching and deriving meaningful content from tweets.
Meaningful content is further exacerbated as the source of
tweets does not always correspond to the location of the user;
however, timing and general trends over many users can
determine the status of an emerging event.</p>
      <p>Twitter data, while popular, suffers from various content
issues that have to be solved with advanced and tailored
methods. Examples of problems include users with hidden
meanings, masked source of origin, possible deceit and
deception, as well as non-descriptive and non-important
discussions of social issues (e.g., where to go for dinner).
However, tweets do provide a forum where users can express
their social and political views, news reports of immediate
actions that are not available to the regular media, and links of
semantic content such as to video collected and posted to the
web from cell phones.</p>
      <p>It is the interplay between the availability and enormity of
tweets to that of extraction of meaningful content that is
derived from users close to the action. Tweets provide reports
that are not available from other intelligence sources of
information.</p>
    </sec>
    <sec id="sec-3">
      <title>B. Twitter Semantic Extraction</title>
      <p>
        An approach taken by most search engines over twitter data
is to organize documents and their terms in a Vector Space
Model (VSM) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. A Vector Space Model is a two
dimensional array. The rows of this array are a list of terms
from all documents that a user is searching through. The
columns are the names of documents. The VSM ranks all
terms using frequency analysis utilizing the bag of words
hypothesis. Bag of words hypothesis states that two
documents tend to be similar if they have an equivalent
distribution of analogous words [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. In this way, a search
engine query can be seen as a vector of terms which can be
used with a VSM in order to find documents that are closest to
this vector via some distance measure.
      </p>
      <p>
        With successful implementation of VSM by the search
engines, researchers have attempted to apply VSMs to other
areas of natural language processing (NLP). For a long time it
had been considered that to understand the meaning of words
it is enough to consider statistical word usage, the so called
statistical sematic hypothesis [
        <xref ref-type="bibr" rid="ref3 ref4">3,4</xref>
        ]. The benefit of VSMs is
that they easily consume large amounts of data and require far
less labor than other approaches [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. For example, Rapp [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]
developed a vector representation of word meanings mainly
from British National Corpus. The British National Corpus is
not a lexicon but is simply a text corpus containing 100
million words annotated with parts of speech
(www.natcorp.ox.ac.uk/). Rapp’s  VSM  was  used  on  multiple 
choice questions from Test of English as a Foreign Language
(TOEFL) achieving a score of 92.5% where the average
human score was 64.5% [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. TOEFL is a well-structured text
making preprocessing and identification of terms an easy task.
However, Twitter is more complicated as the text is
unstructured.
      </p>
      <p>
        Twitter has a lot of informal and abbreviated text. For
example, current tools, while practical on news articles and
similar types of well written documents, perform quite poorly
for Part-of-Speech (POS) tagging and Named Entity
Recognition (NER) when applied to tweets. The accuracy of
tools falls from 97% accuracy for news articles to about 80%
for tweets [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. In [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], Finin et al. experiment with
crowdsourcing for POS tagging on tweets. Crowdsourcing is
made  available  by  a  service  such  as  Amazon’s  Mechanical 
Turk which allows for tasking and collecting results from a
“crowd”  of  people  that  are  willing  to  do  the  work  by  hand. 
Others [
        <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
        ] propose lexical normalization of tweets which
may be useful as a preprocessing step for the upstream tasks
like POS tagging. In [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], Gouws at al. try to properly tag
parts of Twitter speech. They mention that it is hard to tag
words within Twitter because of the conversational nature of
text, lack of conventional orthography, and limit of 140
characters. Messages on Twitter are filled with grammatical
errors, abbreviations, slang, words in another language, and
URLs. The authors take a number of steps to give them an
advantage such as using the Metaphone algorithm [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] in
order to remove alternative spelling for words, developed
expression-style rules for capturing known structures like
URLs, keeping capitalized words that follow an expected
distribution, as well as using known lexicons such as
WordNet in conjunction with their algorithms, etc. In trying to
understand statistical semantics in Twitter, the authors use
unsupervised word representations as extra word features. 1.9
million features from 134,000 unlabeled tweets are used to
construct these distributional features via an approach outlined
in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Even though the training set is limited to 1000 records
(tweets), the unsupervised word representations capture
enough content to achieve nearly 90% accuracy on the 500
testing records.
      </p>
      <p>
        To perform further analysis such as sentiment analysis, it
would make sense to perform all of the steps in the papers
cited i.e. set of tweets needs to be found, the features from
tweets are extracted, preprocessed, tagged, and statistical
analysis is performed. Sentiment analysis can be used in order
to identify anger, tension, and other emotions that may be tied
to significant offline events [
        <xref ref-type="bibr" rid="ref14 ref15">14, 15</xref>
        ]. Tweets can even be used
for predicting events like earthquakes [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] and box office sales
[
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. Twitter has a lot of data, about 400 million tweets per
day, which is beyond what human beings can handle even
with crowdsourcing. Finding relevant text is becoming
increasingly challenging such that there is a growing need for
automatic text understanding that scales to the Web. There are
systems known such as open Information Extraction (IE)
systems that are being developed to address text understanding
[
        <xref ref-type="bibr" rid="ref18 ref19 ref20">18, 19, 20</xref>
        ], but in order to use such systems we need to know
the features of interest.
      </p>
      <p>The rest of the paper is as follows. In Section II, we
describe the use case of Twitter data from the Egyptian
uprising. In Section III, we discuss how the data is structured.
Section IV and VI describe analytics and visualization,
respectively. Finally, Section VII describes conclusions.</p>
      <p>II.</p>
      <p>TWEETS FROM THE ARAB SPRING SCENARIO</p>
      <p>
        The Egyptian uprising of 2011 is an example of an
important historical event which has been captured via social
media sites such as Facebook and Twitter. Some argue that
without social media, like Twitter, the uprising would have not
achieved the same level of success [
        <xref ref-type="bibr" rid="ref21">21, 22</xref>
        ]. Social media
allowed countless participants to be involved. Twitter has
become an important social media site since its inception in
2006. It is a micro blogging service which allows users to post
messages up to 140 characters in length. Once a message is
posted, any twitter user in the world can see it, repost it, and
reply to it. A user may search for messages based on topic or
person of interest. A user may choose to “follow” another user 
which will cause all of the messages posted by a user that is
being followed tob e displayed on that user’s  Twitter timeline.
      </p>
      <p>In regards to Egypt, January 25th 2011 had become known
as  the  “day  of  rage”  with  protests  in  Cairo.  Social  media  and 
Internet played such a key role that the Egyptian government
had begun limiting Internet access on January 27th [23]. Egypt
related topics continued circulation until February 11 when
President Mubarak resigned. During the course of events, it
was noted that information was coming from tweets, but the
intelligence sources were not mobilized to use the technology
and even if available, to what extent that content could be
gleamed from the experience of multiple users presenting
tweets.</p>
      <p>
        In this paper we attempt to analyze 738,717 tweets from
that time period in 2011. The Egypt Twitter data has been
grouped into 10 classes by Army Research Lab (ARL) [
        <xref ref-type="bibr" rid="ref22">24</xref>
        ].
The 10 classes come from ranking the Twitter data using the
Tri-HITS model described in [
        <xref ref-type="bibr" rid="ref23">25</xref>
        ]. Tri-HITS paper describes an
algorithm for ranking tweets not only based on the textual
content within the tweet but by also considering the referenced
web documents and popularity of users. The results of the
TriHITS model show improvement over popular algorithms such
at TextRank [
        <xref ref-type="bibr" rid="ref24">26</xref>
        ]. Once the Egypt tweets are ranked they are
equally broken down into 10 groups with first group being the
tweets that had a ranking that beat 90% of other tweets, second
group being the tweets that beat 80% of tweets but are not part
of first group, and so on. Given these initial classes we
investigated whether the features behind those classes made
sense and could be used for deeper searches by the analyst. Our
interests for this data had been whether we could use it as a
source for proactive situational analysis.
      </p>
      <p>In relation to the above methods, our novel approach is to
apply a VSM model to the groupings made by the Tri-HITS
model in order to extract top one hundred features associated
with each grouping. The top features that are extracted can be
used for evaluating the quality of grouping and can be used by
the analyst when searching for similar events. The algorithm is
fast and straight forward to implement and does not require
human in the loop involvement. To the best of our knowledge
we are not aware of papers applying a VSM model on rankings
generated with Tri-HTTS model for the Egypt data.</p>
      <sec id="sec-3-1">
        <title>STRUCTURING DATA</title>
      </sec>
      <sec id="sec-3-2">
        <title>The first task was to properly structure the data within a</title>
      </sec>
      <sec id="sec-3-3">
        <title>MySQL database. This is the environment that we have been using:</title>
        <p>•
•
•
•</p>
      </sec>
      <sec id="sec-3-4">
        <title>Windows 7 64 bit</title>
      </sec>
      <sec id="sec-3-5">
        <title>Eclipse 4.2.0 with Python IDE plugin (PyDev)</title>
      </sec>
      <sec id="sec-3-6">
        <title>Python 2.7.x with MySQL-python connector</title>
      </sec>
      <sec id="sec-3-7">
        <title>MySQL 5.5 with MySQL Workbench 5.2 CE</title>
      </sec>
      <sec id="sec-3-8">
        <title>Each tweet is limited to 140 characters and is associated</title>
        <p>with some class label. Figure 1 shows the basic tweet to class
label structure. There are a total of 10 classes c0, c1, …,  c9.
Tokenize Approach A. Feature = anything that is no more
than 50 characters in length and that contains only digits
and ascii_letters i.e. any other characters are removed.</p>
      </sec>
      <sec id="sec-3-9">
        <title>There were a total of 782,713 features using this approach.</title>
      </sec>
      <sec id="sec-3-10">
        <title>For example:</title>
        <p>http://www.google.com is converted to</p>
        <p>httpwwwgooglecom which becomes our feature.</p>
        <p>Tokenize Approach B. Feature = Twitter hashtags (Twitter
topic  that  begins  with  “#”)  and  Twitter  at -mentions
(atmentions  begin  with  “@”). There were a total of 106,322
features using this approach.</p>
      </sec>
      <sec id="sec-3-11">
        <title>For example: #egypt and @youtube would be the structure of our features. Figure 1. Tweet to Class Data</title>
        <p>
          Figure 2 shows a vision for all of the main steps listed in
the referenced papers. The first step is to find information of
interest whether it is related to some event, an organization, a
product, etc. Open IE systems can help retrieve the data we are
interested in, if we have a broad enough set of terms that cover
the topic of interest. The event of interest for us is the Egypt
uprising data supplied by the ARL [
          <xref ref-type="bibr" rid="ref22">24</xref>
          ]. We  don’t  use  an  IE 
system in this paper, but it would be the goal to use the terms
extracted from this research with an IE system in the future in
order to find related events.
        </p>
        <p>The second step is to tokenize, i.e. extract features. Most
often terms of interest are separated by white space, but
researchers need to consider how they want to treat URLs,
punctuation, and multiword features such as  “ daylight
savings”. We had two approaches. Our first approach had been
to simply use white space as delimiter, join on punctuation,
and disregard features over 50 characters in length (this gets
rid of most websites). Our second approach was to focus on
specific topics and people on Twitter:</p>
        <p>
          The third step is to normalize. Normalizing reduces similar
features. For instance it is common to use a stemmer in order
to turn words like fixing, fixed, fixer fix. The Metaphone
algorithm mentioned in [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] will map words from a set like
{thangs thanks thanksss thanx thinks thnx} to a single key, but
sometimes this is not desirable as {war we’re wear were where 
worry} are also mapped to a single key. A researcher may also
choose to remove common stop words like “the”. Normalizing 
will typically increase recall (when system identifies a relevant
tweet as relevant), but decrease precision (when a tweet that is
identified as relevant is truly relevant). In this paper, the only
normalization we do is to turn everything to lowercase and
consider only printable characters.
        </p>
      </sec>
      <sec id="sec-3-12">
        <title>The fourth step is to perform annotation, for example roll</title>
        <p>can be tagged as a verb roll/VB (to rotate around an axis) or
a noun roll/NN (a small loaf of bread). Annotation is the
inverse of normalization so it tends to improve precision and
decrease recall. Annotation can be performed using well
established lexicons that contain basic rules of grammar for
such operations; examples include WSJ and Brown corpora as
well as WordNet and Moby lexicons. In this paper we have
not attempted any annotation.</p>
        <p>The fifth step is to use the features in a frequency matrix. It
begins by recording how many times each feature appears in
each class. Table 1 is the result of an SQL query which orders
features by total times used over all classes using tokenizing
approach A.</p>
        <p>
          Instead of using classical frequency, most papers use the
term frequency multiplied by inverse document frequency
(TFIDF) [
          <xref ref-type="bibr" rid="ref25">27</xref>
          ]. In this way the greatest ranking is when the feature
is frequent for a particular class and not frequent in all other
classes, calculated as:
        </p>
        <p>The sixth step is to rank features. The counts can then be
used to calculate probabilities and to rank features. Classical
frequency only considers how probable a term is to occur
within a class. For example consider that the feature "to" was
seen 1000 times for class 1 and 2000 times for class 2. Classic
accuracy is going to be: "to" appears 1000/3000 = 33.33% of
time in class 1, and 2000/3000 = 66.66% of time for class 2.</p>
        <p>Classic accuracy could be taken to mean that the feature
"to" is associated with class 2 with 66.66% accuracy. But
consider that class 1 had a total of 5000 records and class 2
had a total of 10000 records. This additional information tells
us that "to" had appeared in every record of class 1 and every
record of class 2. Hence "to" is not a relevant feature.
Besides using the TF-IDF measure we rank features by
calculating how each feature contributes to each class using
the following percent contribution formula:</p>
        <p>Feature  i  contribution  to  class  j</p>
        <p>Total  times  feature  i  appeared  for  class  j
( Total  number  of  tweets  in  class  j )
=</p>
        <p>Total  times  feature  appeared  for  class  N
( Total  number  of  tweets  in  class  N )
(where n is the number of classes involved)
Both measures consider the number of records in all classes
which is better than using classical frequency. Using the
percent contribution formula on the example from above, we
see that class 1 and class 2 evenly contribute to this ratio, i.e.:
denominator = 1000/5000 + 2000/10000 = 2000/5000
%contribution by "to" feature from class 1 =</p>
        <p>(1000/5000)/(denominator) = 50%
%contribution by "to" feature from class 2 =</p>
        <p>(2000/10000)/(denominator) = 50%
TF-IDF will rank these two classes as equals as well:
(1000/5000)*(log(2/2)) = 0
(2000/10000)*(log(2/2)) = 0</p>
        <p>Table 1 is used to generate measures for each feature using
classical accuracy, percent contribution, and TF-IDF. Table 2
shows the calculation for the three measures for the feature
“cairo”. The examples had been shown using data from
tokenization approach A, but the same approach and tables are
produced when performing tokenization approach B.</p>
        <p>IV.</p>
        <p>RANKING FEATURES</p>
        <p>Given a score for each feature, we are able to go through all
of the original tweets and classify the tweet using the feature
within the tweet that has the highest score. We keep track of
how many times a feature is used. Ordering on times that the
feature had been used to predict a class gives us a ranking of
all the features. Table 3 shows top features used by the three
measures.</p>
        <p>Classical Accuracy</p>
        <p>Percent Contribution</p>
        <p>From the table, we see that TF-IDF has identified many
stopwords as important because those features are a big
percentage of the tweets. We see that percentage contribution
used  the  feature  “i"  less  than  classical  accuracy  (score  for 
feature  “i”  is  slightly  less  by  perce nt contribution) and the
feature  “square”  more  than  classical  accuracy  (score  for 
feature  “square”  is  ranked  slightly  higher  by  percent 
contribution. Percent contribution should be more accurate
because it takes into account number of records within each
class when calculating its scores.</p>
        <p>When looking at top 100 features associated with each class
there is a clear difference between classes as we go from class
c0 to class c9. Features seem to be going from clear topics
during the Egypt revolution to features corresponding to
personal tweets. Tables 5 and 6 show percent contribution
measure top features for classes c0, c1, c8 and c9 for
tokenization approach A and B (respectively).
c9_Feature</p>
        <p>#fb
@nevinezaki
@etharkamal
@mamoudinijad
@khalawa69
@amrwaked
@saraaayman
@theonly
warman
#grammys
@terradaki
#feb11 #weather … @travellerw
#alarabiya @huffington … @mosaa
post berizing
#ghonim @shmpongo … @litfreak #iheard
@guardian @washington … @marionnette90 #mbmemories
post
@addtoany @adel_salib … @samiyusuf #prayforegypt
Table 6: Top Features Percent Contribution</p>
        <p>(tokenization Approach B)</p>
        <p>Having found ranked features for each class, the analyst can
verify if the features captured make sense and use those
features in order to filter and collect more data from Twitter.</p>
        <p>V.</p>
        <sec id="sec-3-12-1">
          <title>ANALYZING OVERALL ERROR</title>
          <p>Twitter is a large noisy data source. There are 400 million
tweets a day with most of the messages not relevant to the
analyst. Simply grabbing a lot of data and trying to fit a model
to the messages is not relevant. An analyst needs to first
understand how to query Twitter just as an ordinary human
being knows how to query the World Wide Web. Querying
Twitter is equivalent to understanding the types of features
(query terms) to use. We have illustrated a means of ranking
features and then using those features for classifying a 10 class
problem. Calculating accuracy is simple in the sense that we
can just count how many times we have accurately identified a
record vs. number of records attempted. The features are
ranked by the overall accuracy for the 10 classes achieving
0.695% for percent contribution error, but the final classifier
had hundreds of thousands of features that appeared only once.
For this reason we choose to look at only the top 1000
features, with accuracies shown in Table 7 and 8.
…
…
…
…
…</p>
          <p>The actual accuracy is whether the features that were
extracted make sense and can these features be used for
finding relevant tweets that are of interest to the analyst. We
have seen that the features identified distinguish classes. We
saw for instance, that class c9 carries features that are
associated with more personal messages and class c0 carries
features that are closely associated with the Egypt uprising
news topics (all other classes are somewhere in between).
Going through the messages by hand in the classes we see that
c0 may contain tweets that should not be associated with class
c0, such as:
a) “OMFGCould you believe it? My wife just purchased an 
Iphone for 42US$!!! http://moourl.com/5td4g Cairo
#famouslies White Stripes DiPietro”
b) “WOW  OMG  JUST  WOW  -- search Twitter annnd
Google side by side - http://bit.ly/hBxUBC ####
#ifyouonlyknew Cairo Charles Barkley”</p>
          <p>Likewise other classes probably have tweets that have been
misclassified. We use the top 100 features to reclassify the ten
classes, but it is up to the analyst to determine if those features
are enough (tweets that do not have the features are thrown
away).</p>
          <p>Among other things that might help in extracting useful
tweets and increasing accuracy include analyzing how many
times a tweet has been reposted (retweeted), how many people
replied to it, and considering the geospatial component so that
we focus only on tweets from a certain area. A way to filter
irrelevant tweets would be to get rid of tweets that consist of
features that are mentioned by less than N number of people
(bottom up approach). This can be established through
regression to determine a threshold. Another way is to try and
understand most important features extracted and include the
features from all of the tweets that mention those features (a
top down approach). Filtering would get rid of spam and
selfcentered messages that do not give any insight in
understanding the event of interest. In the next section we
consider allowing the user to focus on features coming from a
specific geo-location.</p>
          <p>VI.</p>
        </sec>
        <sec id="sec-3-12-2">
          <title>VISUALIZATION</title>
          <p>Tweets have a geospatial component to them so that they
may be shown on a map. We have used JavaScript and Google
Map API in order to visually present Twitter data for the
Egypt dataset. The intention was to allow a user to click and
drill down into tweets corresponding to some geographic
location. In this way a user could perform analysis on how the
features in one geographic location are different from tweets
associated with a different geographic locations. The thought
is that there will be more conversations in the local area where
the event is actually taking place then in the rest of the world.</p>
          <p>Based on the latitudes and longitudes in the Egypt dataset,
we divide the world into a ten by ten grid. This grid serves
effectively as a histogram and displays rings that correspond
to number of tweets coming from a particular area (the center
of the ring is the center for the particular cell on grid and so</p>
          <p>Classic Accuracy
Percent Contribution
It should be kept in mind that this is a 10 class problem so
random guessing would produce around 10% accuracy.
TFIDF actually exhibits worse errors rates because there are few
classes so that many features appear in all classes and thus get
ranked 0.
some circles may appear on water, Figure 3). The Egyptian
government limited Internet access so we actually see that
most tweets that do have a geospatial location are from around
the world (in particular from South Africa).</p>
          <p>
            For the Egypt dataset, unfortunately only about 1% of data
had a geo location associated with it, but this is typical as less
than three percent of all tweets have geo-location information
[
            <xref ref-type="bibr" rid="ref26">28</xref>
            ]. Here the user would select the Egypt province in order to
focus on tweets from that area. The top 20 features would be
used  to  filter  tweets  that  don’t  have  a  geolocation  in  order  to 
identify the next top 20 features. This iterative process
discovers more and more tweets, avoids spam, and simplifies
the computational requirements by not having to consider
hundreds of thousands of tweets simultaneously. Results are
still to follow in methods to appropriately use geographical
information associated with tweets.
          </p>
          <p>The benefit to using geo-location is that the user can focus
on main features corresponding to the area of interest vs.
discussions about the topic in neighboring regions. For
example a victory in a sporting event will be discussed
differently in the hometown vs. the rest of the country. The
features coming from hometown will probably be positive
about the hometown team. These features can then be used for
finding towns that have similar feelings about the sport’s team.
This is an iterative process whereby more and more features
can be discovered but at the root of those features will be the
features associated with the hometown. The features can be
listed in a hierarchical fashion and can be a means of
organizing based on features and locations. Unfortunately only
1% of features have geo-locations, again results are still to
follow for ranking using this approach.
VII. DISCUSSION AND CONCLUSIONS</p>
          <p>In this paper, we explored the use of Twitter as a source of
intelligence for determining the status of a pending, emerging,
or on-going event. We believe Twitter can be queried for
relevant data similar to queries performed on the World Wide
Web. In order to make queries, an analyst should have a list of
key features (query terms) related to some event of interest. In
an attempt to extract those key features, we investigated a 10
pre-labeled class dataset by the ARL covering the Egypt
uprising. The features from the labeled classes are used in a
frequency matrix so that ranked features can be used to
identify other relevant tweets (like Vector Space Model
[VSM]). Once top features are identified, an analyst can use an
open IE system to make queries for relevant tweets just as a
person is searching for web documents on Google. These extra
tweets are used to get at an even more robust feature set. Each
loop generates a list of features that an analyst has to go
through and approve. In this way, we foresee an iterative
process between the analyst (feature approver), VSM (feature
rankings), and an Open IE system (Twitter queries) in order to
create catalogs of useful features for semantic analysis of
activities. Catalogs of useful features can then be used for
filtering and identifying events and activities of interest.</p>
          <p>VIII. ACKNOLEDGEMENTS</p>
          <p>We thank Sue E. Kase and Liz Bowman at the Army
Research Lab and Mike Hinman at the Air Force Research
Lab for their help in getting access to the Egypt data.</p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Manning</surname>
            ,
            <given-names>C. D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Raghavan</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Schutze</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          (
          <year>2008</year>
          ). Introduction to Information Retrieval. Cambridge University Press, Cambridge, UK.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Salton</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wong</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>C.-S.</given-names>
          </string-name>
          (
          <year>1975</year>
          ).
          <article-title>A vector space model for automatic indexing</article-title>
          .
          <source>Communications of the ACM</source>
          ,
          <volume>18</volume>
          (
          <issue>11</issue>
          ),
          <fpage>613</fpage>
          -
          <lpage>620</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Weaver</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          (
          <year>1955</year>
          ).
          <article-title>Translation</article-title>
          . In Locke, W., &amp;
          <string-name>
            <surname>Booth</surname>
            ,
            <given-names>D</given-names>
          </string-name>
          . (Eds.),
          <source>Machine Translation of Languages: Fourteen Essays</source>
          . MIT Press, Cambridge, MA.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Furnas</surname>
            ,
            <given-names>G. W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Landauer</surname>
            ,
            <given-names>T. K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gomez</surname>
            ,
            <given-names>L. M.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Dumais</surname>
            ,
            <given-names>S. T.</given-names>
          </string-name>
          (
          <year>1983</year>
          ).
          <article-title>Statistical semantics: Analysis of the potential performance of keyword information systems</article-title>
          .
          <source>Bell System Technical Journal</source>
          ,
          <volume>62</volume>
          (
          <issue>6</issue>
          ),
          <fpage>1753</fpage>
          -
          <lpage>1806</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Turney</surname>
            ,
            <given-names>P. D.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Pantel</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>2010</year>
          ).
          <article-title>From frequency to meaning: Vector space models of semantics</article-title>
          .
          <source>Journal of Artificial Intelligence Research</source>
          , Vol.
          <volume>37</volume>
          , Issue 1, pp.
          <fpage>141</fpage>
          -
          <lpage>188</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Rapp</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          (
          <year>2003</year>
          ).
          <article-title>Word sense discovery based on sense descriptor dissimilarity</article-title>
          .
          <source>In Proceedings of the Ninth Machine Translation Summit</source>
          , pp.
          <fpage>315</fpage>
          -
          <lpage>322</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Ritter</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Clark</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mausam</surname>
          </string-name>
          , and
          <string-name>
            <surname>Etzioni</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          (
          <year>2011</year>
          )
          <article-title>Named Entity Recognition in Tweets: An Experimental Study</article-title>
          .
          <source>Proc. of the Conf. on Empirical Methods in Natural Language Processing</source>
          , pp.
          <fpage>1524</fpage>
          -
          <lpage>1643</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Finin</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Murnane</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Karandikar</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , Keller, N.,
          <string-name>
            <surname>Martineau</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Dredze</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2010</year>
          ).
          <article-title>Annotating named entities in Twitter data with crowdsourcing</article-title>
          .
          <source>In Proceedings of the NAACL HLT 2010 Workshop on Creating Speech</source>
          and
          <article-title>Language Data with Amazon's Mechanical Turk .</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Han</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Baldwin</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          (
          <year>2011</year>
          ).
          <article-title>Lexical normalization of short text messages: Makn sens a #twitter. In 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies</article-title>
          , pp.
          <fpage>368</fpage>
          -
          <lpage>378</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Gouws</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Metzler</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cai</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Hovy</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          (
          <year>2011</year>
          ).
          <article-title>Contextual bearing on linguistic variation in social media</article-title>
          .
          <source>In Proceedings of the Workshop on Language in Social Media</source>
          , pp.
          <fpage>20</fpage>
          -
          <lpage>29</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Gimpel</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schneider</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>O</given-names>
            'Connor,  B.,
            <surname>Das</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Mills</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Eisenstein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Heilman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Yogatama</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Flanigan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            , and
            <surname>Smith</surname>
          </string-name>
          ,
          <string-name>
            <surname>N. A.</surname>
          </string-name>
          (
          <year>2011</year>
          ).
          <article-title>Part-of-speech tagging for twitter: Annotation, features, and experiments</article-title>
          .
          <source>In 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies</source>
          , pp.
          <fpage>42</fpage>
          -
          <lpage>47</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Philips</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          (
          <year>1990</year>
          ).
          <article-title>Hanging on the Metaphone</article-title>
          .
          <source>Computer Language</source>
          ,
          <volume>7</volume>
          (
          <issue>12</issue>
          ), pp.
          <fpage>39</fpage>
          -
          <lpage>44</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Turian</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ratinov</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Bengio</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          (
          <year>2010</year>
          ).
          <article-title>Word representations: a simple and general method for semisupervised learning</article-title>
          .
          <source>In Proc. of Association for Computational Linguistics</source>
          ., pp.
          <fpage>384</fpage>
          -
          <lpage>394</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Barbosa</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Feng</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          (
          <year>2010</year>
          ).
          <article-title>Robust sentiment detection on Twitter from biased and noisy data</article-title>
          .
          <source>In Proc. of Conf. on Computational Logistics (COLING)</source>
          , pp.
          <fpage>36</fpage>
          -
          <lpage>44</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Bollen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pepe</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Mao</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          (
          <year>2009</year>
          ).
          <article-title>Modeling public mood and emotion: Twitter sentiment and socioeconomic phenomena</article-title>
          .
          <source>arXiv.org, arXiv:0911.1583v0911 [cs.CY] 0919 Nov</source>
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Sakaki</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Okazaki</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Matsuo</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          (
          <year>2010</year>
          )
          <article-title>Earthquake shakes Twitter users: real-time event detection by social sensors</article-title>
          .
          <source>In Proceedings of the 19th international conference on World wide web</source>
          , WWW '
          <volume>10</volume>
          , p p.
          <fpage>851</fpage>
          -
          <lpage>860</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Asur</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Huberman</surname>
            ,
            <given-names>B. A.</given-names>
          </string-name>
          (
          <year>2010</year>
          )
          <article-title>Predicting the Future with Social Media</article-title>
          .
          <source>Proc.  IEEE/WIC/ACM  Int'l  Conf  on  Web  Intelligence and Intelligent Agent Technology</source>
          , pp.
          <fpage>492</fpage>
          -
          <lpage>499</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>Etzioni</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fader</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Christensen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soderland</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , and Mausam. (
          <year>2011</year>
          ).
          <article-title>Open information extraction: the second generation</article-title>
          .
          <source>In International Joint Conference on Artificial Intelligence.</source>
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Mausam</surname>
            , Schmitz,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soderland</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bart</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <article-title>and</article-title>
          <string-name>
            <surname>Etzioni</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          (
          <year>2012</year>
          )
          <article-title>Open language learning for information extraction</article-title>
          .
          <source>In Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning</source>
          , pp.
          <fpage>523</fpage>
          -
          <lpage>534</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <surname>Gamallo</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Garcia</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Fernandez-Lanza</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          (
          <year>2012</year>
          )
          <article-title>Dependency-based open information extraction</article-title>
          .
          <source>In Proceedings of the Joint Workshop on Unsupervised and Semi-Supervised Learning in NLP</source>
          , pp.
          <fpage>10</fpage>
          -
          <lpage>18</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <surname>Beaumont</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>2011</year>
          )
          <article-title>The truth about Twitter, Facebook, and the uprisings in the Arab world</article-title>
          .
          <source>The Guardian (Feb. 25</source>
          ,
          <year>2011</year>
          ); http://www.guardian.co.uk/world/2011/feb/25/twitter-facebookuprisings
          <string-name>
            <surname>-</surname>
          </string-name>
          arab-libya [12]
          <string-name>
            <surname>Ghonim</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          (
          <year>2011</year>
          )
          <article-title>Interviewed by Harry Smith. Wael Ghonim and  Egypt's  new  age  revolution</article-title>
          .
          <source>  60 Minutes (Feb. 13</source>
          ,
          <year>2011</year>
          ); http://www.cbsnews.com/stories/2011/02/13/60minutes/main20 031701.shtml?tag=contentMain;contentBody [22]  Al  Jazeera.  Timeline: 
          <article-title>Egypt's  revolution  (Feb</article-title>
          . 
          <volume>14</volume>
          , 
          <year>2011</year>
          ) ;; http://english.aljazeera.net/news/middleeast/2011/01/201112515 334871490.html
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [24]
          <string-name>
            <surname>Kase</surname>
            ,
            <given-names>S. E.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Bowman</surname>
            ,
            <given-names>L. ARL Egypt</given-names>
          </string-name>
          <string-name>
            <surname>Twitter Data Set</surname>
          </string-name>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [25]
          <string-name>
            <surname>Hongzhao</surname>
            <given-names>Huang</given-names>
          </string-name>
          , Arkaitz Zubiaga, Heng Ji, Hongbo Deng, Dong Wang, Hieu Khac Le, Tarek Abdelzaher, Jiawei Han,
          <string-name>
            <given-names>Alice</given-names>
            <surname>Leung</surname>
          </string-name>
          ,
          <source>John Hancock and Clare Voss</source>
          .
          <year>2012</year>
          .
          <article-title>Tweet Ranking based on Heterogeneous Networks</article-title>
          .
          <source>Proc. 24th International Conference on Computational Linguistics (COLING2012).</source>
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [26]
          <string-name>
            <surname>Mihalcea</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          and Tarau,
          <string-name>
            <surname>P.</surname>
          </string-name>
          (
          <year>2004</year>
          ).
          <article-title>Textrank: Bringing order into texts</article-title>
          .
          <source>In Proceedings of EMNLP</source>
          , volume
          <volume>4</volume>
          . Barcelona: ACL.
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [27]
          <string-name>
            <surname>Jones</surname>
            ,
            <given-names>K. S.</given-names>
          </string-name>
          (
          <year>1972</year>
          ).
          <article-title>A statistical interpretation of term specificity and its application in retrieval</article-title>
          .
          <source>Journal of Documentation</source>
          ,
          <volume>28</volume>
          (
          <issue>1</issue>
          ),
          <fpage>11</fpage>
          -
          <lpage>21</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [28]
          <string-name>
            <surname>Leetaru</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cao</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Padmanabhan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Shook</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          (
          <year>2013</year>
          ).
          <article-title>Mapping the global twitter heartbeat: The geography of twitter</article-title>
          .
          <source>First Monday</source>
          ,
          <volume>18</volume>
          (
          <issue>5</issue>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>