IEEE Consumer Electronics Magazine - November/December 2021 - 92

Special Section on Advances in Smart Cities
The topic value of each wmn is obtained as follows.
The ngrams (i.e., sequences of n contiguous
lexical items in a given text) of each wmn in
Tm are searched in the vector Ci. If it matches
any fij in Ci, the topic value is set to 1. Calculating
the value of sentiment involves detecting significant
ngrams with respect to sentiment. These
significant ngrams are discovered by making use
of two distinct datasets. On the one hand, a
polarity lexicon called SENTIMENTS holds the
polarity type (i.e., positive or negative) for a
number of words, where their POS (i.e., verb,
adjective, noun, or adverb) is taken into consideration.
On the other hand, the user can set any
fij in Ci as a negative word when setting up topic
categories. This feature allows users to expand
the lexicon of polarity with additional negative
words that are related to the particular context
domain. Thus, the ngrams of each wmn in Tm are
searched in both datasets. The application
assigns the values +1 or -1 (for positively and
negatively marked ngrams, respectively) to the
feeling attribute of each wmn in Tm when a hit is
found.
Determining the Topic Score Since tweets
and categories are represented as vectors, a
measure of similarity can be used to evaluate
the degree of relationship between these two
vectors. In this context, the " cosine similarity "
(or normalized point product) is used as a measure
of semantic distance.
Determining the Sentiment Score Our
application does not use a straightforward
approach to sentiment calculation, i.e., just summing
up the sentiment values of the ngrams in
the microtext and determining the polarity of
the message by the sign of the final score. Our
sentiment measure is grounded on the degree of
sentiment in each tweet through a metric originally
used to assess political positions in texts.14
In particular, a scaling procedure changes the
counts of sentiment-coded ngrams in the tweet
Tm into a point on the sentiment dimension S.It
is important to note that, as we are only concerned
with problem detection, the sentimentrelatedness
function automatically assigns the
value of zero to those tweets that do not express
negative polarity.
92
Detecting the Problem With the aim of having
a final score that could serve to identify if a
particular tweet is likely to deal with a given
water-related problem, the PPI is eventually
computed, resulting from the geometric mean of
the topic score and the sentiment score. Therefore,
tweets can be sorted according to the PPI,
which can be used to establish alert thresholds,
so that messages can be sent to the system
administrator to report about any potential risk,
hazard, or disaster. This alert system is now
being implemented through e-mail notifications.
Actually, when there are more than N messages
with PPI > 0:5, the system sends an e-mail to
the administrator with a summary of these
messages.
Detecting Entities We are also capable of
labeling up to three different types of entities,
i.e., LOC for location, PER for person, and ORG
for organization, through a named-entity recognition
(NER) module. This module is built using
the Spacy library, which has a pretrained model
for Spanish. However, for a better performance,
a custom model has been trained using a corpus
automatically extracted from Wikipedia. The
framework uses a transition-based prediction
model (i.e., embedding plus encoding with a convolutional
neural network) capable of understanding
the context of each word in a sentence,
and using this context as input for the neural network
to predict its next move, i.e., whether it
tags a word as a named entity or as part of a
named entity, skip to the next word, etc.
Visualizing Results
The visualization module shows the information
collected and processed by the previous
modules. We refer the reader to sensingtools.com
and click WATERSensing for insights. It shows
the number of feeds that have been categorized
from different sources (e.g., Twitter, RSS, and
Telegram), along with the processed messages
and the metainformation obtained with the NLP
module to identify the probability that this text
represents a problem (i.e., PPI), the main entities
recognized in the text, and the date when it was
published within the selected time frame (i.e.,
1 h, 1 day, 1 week, or 1 month). Moreover, the
processed messages can not only be filtered by
IEEE Consumer Electronics Magazine
http://sensingtools.com

IEEE Consumer Electronics Magazine - November/December 2021

Table of Contents for the Digital Edition of IEEE Consumer Electronics Magazine - November/December 2021

Contents
IEEE Consumer Electronics Magazine - November/December 2021 - Cover1
IEEE Consumer Electronics Magazine - November/December 2021 - Cover2
IEEE Consumer Electronics Magazine - November/December 2021 - Contents
IEEE Consumer Electronics Magazine - November/December 2021 - 2
IEEE Consumer Electronics Magazine - November/December 2021 - 3
IEEE Consumer Electronics Magazine - November/December 2021 - 4
IEEE Consumer Electronics Magazine - November/December 2021 - 5
IEEE Consumer Electronics Magazine - November/December 2021 - 6
IEEE Consumer Electronics Magazine - November/December 2021 - 7
IEEE Consumer Electronics Magazine - November/December 2021 - 8
IEEE Consumer Electronics Magazine - November/December 2021 - 9
IEEE Consumer Electronics Magazine - November/December 2021 - 10
IEEE Consumer Electronics Magazine - November/December 2021 - 11
IEEE Consumer Electronics Magazine - November/December 2021 - 12
IEEE Consumer Electronics Magazine - November/December 2021 - 13
IEEE Consumer Electronics Magazine - November/December 2021 - 14
IEEE Consumer Electronics Magazine - November/December 2021 - 15
IEEE Consumer Electronics Magazine - November/December 2021 - 16
IEEE Consumer Electronics Magazine - November/December 2021 - 17
IEEE Consumer Electronics Magazine - November/December 2021 - 18
IEEE Consumer Electronics Magazine - November/December 2021 - 19
IEEE Consumer Electronics Magazine - November/December 2021 - 20
IEEE Consumer Electronics Magazine - November/December 2021 - 21
IEEE Consumer Electronics Magazine - November/December 2021 - 22
IEEE Consumer Electronics Magazine - November/December 2021 - 23
IEEE Consumer Electronics Magazine - November/December 2021 - 24
IEEE Consumer Electronics Magazine - November/December 2021 - 25
IEEE Consumer Electronics Magazine - November/December 2021 - 26
IEEE Consumer Electronics Magazine - November/December 2021 - 27
IEEE Consumer Electronics Magazine - November/December 2021 - 28
IEEE Consumer Electronics Magazine - November/December 2021 - 29
IEEE Consumer Electronics Magazine - November/December 2021 - 30
IEEE Consumer Electronics Magazine - November/December 2021 - 31
IEEE Consumer Electronics Magazine - November/December 2021 - 32
IEEE Consumer Electronics Magazine - November/December 2021 - 33
IEEE Consumer Electronics Magazine - November/December 2021 - 34
IEEE Consumer Electronics Magazine - November/December 2021 - 35
IEEE Consumer Electronics Magazine - November/December 2021 - 36
IEEE Consumer Electronics Magazine - November/December 2021 - 37
IEEE Consumer Electronics Magazine - November/December 2021 - 38
IEEE Consumer Electronics Magazine - November/December 2021 - 39
IEEE Consumer Electronics Magazine - November/December 2021 - 40
IEEE Consumer Electronics Magazine - November/December 2021 - 41
IEEE Consumer Electronics Magazine - November/December 2021 - 42
IEEE Consumer Electronics Magazine - November/December 2021 - 43
IEEE Consumer Electronics Magazine - November/December 2021 - 44
IEEE Consumer Electronics Magazine - November/December 2021 - 45
IEEE Consumer Electronics Magazine - November/December 2021 - 46
IEEE Consumer Electronics Magazine - November/December 2021 - 47
IEEE Consumer Electronics Magazine - November/December 2021 - 48
IEEE Consumer Electronics Magazine - November/December 2021 - 49
IEEE Consumer Electronics Magazine - November/December 2021 - 50
IEEE Consumer Electronics Magazine - November/December 2021 - 51
IEEE Consumer Electronics Magazine - November/December 2021 - 52
IEEE Consumer Electronics Magazine - November/December 2021 - 53
IEEE Consumer Electronics Magazine - November/December 2021 - 54
IEEE Consumer Electronics Magazine - November/December 2021 - 55
IEEE Consumer Electronics Magazine - November/December 2021 - 56
IEEE Consumer Electronics Magazine - November/December 2021 - 57
IEEE Consumer Electronics Magazine - November/December 2021 - 58
IEEE Consumer Electronics Magazine - November/December 2021 - 59
IEEE Consumer Electronics Magazine - November/December 2021 - 60
IEEE Consumer Electronics Magazine - November/December 2021 - 61
IEEE Consumer Electronics Magazine - November/December 2021 - 62
IEEE Consumer Electronics Magazine - November/December 2021 - 63
IEEE Consumer Electronics Magazine - November/December 2021 - 64
IEEE Consumer Electronics Magazine - November/December 2021 - 65
IEEE Consumer Electronics Magazine - November/December 2021 - 66
IEEE Consumer Electronics Magazine - November/December 2021 - 67
IEEE Consumer Electronics Magazine - November/December 2021 - 68
IEEE Consumer Electronics Magazine - November/December 2021 - 69
IEEE Consumer Electronics Magazine - November/December 2021 - 70
IEEE Consumer Electronics Magazine - November/December 2021 - 71
IEEE Consumer Electronics Magazine - November/December 2021 - 72
IEEE Consumer Electronics Magazine - November/December 2021 - 73
IEEE Consumer Electronics Magazine - November/December 2021 - 74
IEEE Consumer Electronics Magazine - November/December 2021 - 75
IEEE Consumer Electronics Magazine - November/December 2021 - 76
IEEE Consumer Electronics Magazine - November/December 2021 - 77
IEEE Consumer Electronics Magazine - November/December 2021 - 78
IEEE Consumer Electronics Magazine - November/December 2021 - 79
IEEE Consumer Electronics Magazine - November/December 2021 - 80
IEEE Consumer Electronics Magazine - November/December 2021 - 81
IEEE Consumer Electronics Magazine - November/December 2021 - 82
IEEE Consumer Electronics Magazine - November/December 2021 - 83
IEEE Consumer Electronics Magazine - November/December 2021 - 84
IEEE Consumer Electronics Magazine - November/December 2021 - 85
IEEE Consumer Electronics Magazine - November/December 2021 - 86
IEEE Consumer Electronics Magazine - November/December 2021 - 87
IEEE Consumer Electronics Magazine - November/December 2021 - 88
IEEE Consumer Electronics Magazine - November/December 2021 - 89
IEEE Consumer Electronics Magazine - November/December 2021 - 90
IEEE Consumer Electronics Magazine - November/December 2021 - 91
IEEE Consumer Electronics Magazine - November/December 2021 - 92
IEEE Consumer Electronics Magazine - November/December 2021 - 93
IEEE Consumer Electronics Magazine - November/December 2021 - 94
IEEE Consumer Electronics Magazine - November/December 2021 - 95
IEEE Consumer Electronics Magazine - November/December 2021 - 96
IEEE Consumer Electronics Magazine - November/December 2021 - 97
IEEE Consumer Electronics Magazine - November/December 2021 - 98
IEEE Consumer Electronics Magazine - November/December 2021 - 99
IEEE Consumer Electronics Magazine - November/December 2021 - 100
IEEE Consumer Electronics Magazine - November/December 2021 - 101
IEEE Consumer Electronics Magazine - November/December 2021 - 102
IEEE Consumer Electronics Magazine - November/December 2021 - 103
IEEE Consumer Electronics Magazine - November/December 2021 - 104
IEEE Consumer Electronics Magazine - November/December 2021 - 105
IEEE Consumer Electronics Magazine - November/December 2021 - 106
IEEE Consumer Electronics Magazine - November/December 2021 - 107
IEEE Consumer Electronics Magazine - November/December 2021 - 108
IEEE Consumer Electronics Magazine - November/December 2021 - Cover3
IEEE Consumer Electronics Magazine - November/December 2021 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20240102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20231112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20221112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20211112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202010
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202009
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202007
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202004
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202003
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202001
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201909
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201907
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201905
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201903
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201901
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201811
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201809
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201807
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201805
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201803
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2015
https://www.nxtbookmedia.com