A Smart System for Twitter Corpus Collection, Management and Visualization

A Smart System for Twitter Corpus Collection, Management and Visualization

Gaspar Brogueira, Fernando Batista, Joao P. Carvalho
Copyright: © 2017 |Pages: 20
DOI: 10.4018/IJTHI.2017070102
(Individual Articles)
No Current Special Offers


Social networks have become popular and are now becoming an alternate mean of communication, used to share information on various topics, ranging from politics or sports to simple aspects of everyday life. Twitter messages (tweets) are shared in real time and are essentially public, making them a useful source of information for areas such as tourism, marketing, health, and safety. This paper describes an information system that involves the creation and storage of a corpus of tweets, written in European Portuguese and published within the Portuguese territory. The system also involves a REST API that allows access to the stored information, and a web-based dashboard that makes it possible to analyze and visualize indicators concerning the stored data.
Article Preview


A large part of today's society lives hyper-connected. Despite their distance, people are linked to their friends and to other people whose lives they want to follow, either through photos posted on Instagram, content shared on Twitter or Facebook, or even videos uploaded on YouTube. The existing frameworks make it now possible to widely expose interests, tastes and other characteristics through social networks, and facilitate the way someone can follow a person's life, either by its geographical location widespread via Foursquare, by the vacation photographs on Flickr, or by the communities in which one participates. The social network, as defined by Boyd et al. (2007), is a web-based service that allows a person to build a public or semi-public profile within a defined system and manage a list of users with whom it maintains a connection. Such person accesses both to its list of connections and connections of other users by viewing their status updates. Social networks tend not only to become an environment to follow the life of friends, but also an interaction platform with companies, brands, applications or services. The importance of social networks in the contemporary society is undeniable. Common practices in social networks include advertising an event and comment or disclose an idea, making them a privileged environment to the expression of individual opinions and consequently one of the main trainers of social perception as well as of the world around us. Today, important events are often commented on social networks, even before they become “public notice” and even news agencies have had to adapt and begin using social networks as a source of information.

Despite their importance, many questions about the effect of social networks in society are yet to be properly analyzed, mostly due to the lack of extensive and flexible data collections, storing information shared on social networks during certain periods of time. The existence of extensive data collections makes it possible to properly process and analyze the information in a wider range of different perspectives. Such information constitutes a valuable resource that can be used for analyzing questions, such as: what issues, hot topics or events were shared on over the time on social networks; who are the main actors within the themes; the origin and spread of topics (timeline); what makes certain event become important in social networks; how long it takes for an event to have an impact on social networks and society; and the role of the “main players” in the spread of events. The creation of such data collections is far from a trivial problem, involving many technical obstacles, ranging from the restrictions imposed by each one of the social networks on the data access to the required dedicated and intelligent hardware and software platforms.

This paper describes an architecture for collecting, storing, analyzing, and processing tweets produced in Portugal and written in European Portuguese. The resulting Information System combines four modules to collect, store, view, and access the data. The proposed architecture overcomes most of the limitations imposed by Twitter, and makes it possible retrieve most of the required data over the time. Based on the proposed system, we have created a massive dataset of tweets, written in Portugal by Portuguese users. All the available information concerning a tweet is stored in our dataset, thus keeping the information suitable for a large spectrum of studies. The existing database can be easily accessed, not only by complex queries, written by a developer, but also by researchers that can use the REST API in order to focus their studies in more specific subjects. Based on a dataset achieved by the proposed architecture, an analysis over 28 Million Portuguese geolocated tweets, produced in Portugal in a 1-year period, was recently concluded. The extracted information about the behavior of the geolocated Portuguese Twitter community revealed that with this information it is possible to extract overall population indicators. The existing pipeline is a crucial component in the MISNIS platform, recently described by Rosa et al., (2016).

This paper is structured as follows: Section 3 overviews the proposed information system; Sections 4 and 5 describe the tools for collecting, storing and processing information extracted from Twitter; Sections 6 and 7 present the tools developed for access and visualization of data; Section 8 discusses the resources created within this framework, and finally Section 9 presents the main conclusions and the future work.

Complete Article List

Search this Journal:
Volume 20: 1 Issue (2024): Forthcoming, Available for Pre-Order
Volume 19: 1 Issue (2023)
Volume 18: 7 Issues (2022): 4 Released, 3 Forthcoming
Volume 17: 4 Issues (2021)
Volume 16: 4 Issues (2020)
Volume 15: 4 Issues (2019)
Volume 14: 4 Issues (2018)
Volume 13: 4 Issues (2017)
Volume 12: 4 Issues (2016)
Volume 11: 4 Issues (2015)
Volume 10: 4 Issues (2014)
Volume 9: 4 Issues (2013)
Volume 8: 4 Issues (2012)
Volume 7: 4 Issues (2011)
Volume 6: 4 Issues (2010)
Volume 5: 4 Issues (2009)
Volume 4: 4 Issues (2008)
Volume 3: 4 Issues (2007)
Volume 2: 4 Issues (2006)
Volume 1: 4 Issues (2005)
View Complete Journal Contents Listing