260
INTELLIGENT CITIES
highest number of traffic tweets in relation to the proportion of the
city’s population. e status in Vancouver was similar. Montreal had
the lowest number of traffic-related tweets, showing that its citizens
were not really concerned about traffic-related issues.
Sentiment analysis provides valuable information to city officials
to prioritize the matters that require immediate attention and make
judicious use of available resources and funds to tackle such concerns.
e example that follows sheds light on the importance of sentiment
analysis for city officials.
6.3.4 Spain Uses Sentiment Analysis to Track and
Improve Standards of City Services
e city of Madrid has added a new feedback mechanism to its social
media networks. is mechanism provides options to citizens to give
their feedback and comments on various public services in the city
such as lighting, irrigation, waste management, and so on. City offi-
cials are planning to use this feedback to improve their services and
prioritize aspects that demand immediate attention.
6.3.5 Sentiment Analysis to Track the Mood of City Residents
Sentiment analysis can be used to track food habits, which in turn can
be used to track the mood of residents with regard to their food.
6.3.6 FoodMood.in Uses Sentiment Analysis to Track Food Mood of Citizens
FoodMood.in is a website that has the capability to combine tweets
with geographic locations to predict the present state of mind of citi-
zens with regard to food. Foodmood uses a sentiment classification
tool of Stanford University that is a “trained” classifier that can accept
millions of tweets as inputs at a time. is website also provides fea-
tures to classify top 10 favorite foods of a specific city or region. In
addition, it has options to compare countries based on their gross
domestic product (GDP) and food score.
Bristol University in the United Kingdom gathers the emotions
that are expressed in tweets to generate reports about the mood of the
country. is report has proved to be very accurate in its calculation,