-
Notifications
You must be signed in to change notification settings - Fork 0
/
sentiment_cgsa.tex
4962 lines (4542 loc) · 255 KB
/
sentiment_cgsa.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
\chapter{Message-Level Sentiment Analysis}\label{chap:cgsa}
Having familiarized ourselves with the peculiarities of the creation
of a sentiment corpus, the different ways to automatically induce new
polarity lists, and the difficulties of fine-grained opinion mining,
we now move on to the presumably most popular sentiment analysis
task---message-level sentiment analysis or MLSA, in which we need to
determine the overall polarity of a message.
Traditionally, this objective is addressed with either of the three
popular method groups:
\begin{itemize}
\item lexicon-based approaches,
\item machine-learning--based (ML) techniques,
\item and deep-learning--based (DL) systems.
\end{itemize}
In this chapter, we are going to scrutinize the most successful
representatives of each of these paradigms, propose our own solution,
and also analyze errors, the utility of single components, and the
effect of additional training factors on the net results of these
methods.
%% and also tackle a much more ambitious goal, namely to check whether
%% we can achieve results comparable with the scores of these methods
%% when the language of the domain we train on is completely different
%% from the language of the test data.
We begin our comparison by first presenting two metrics that we will
use in our subsequent evaluation. After briefly describing the data
preparation step, we proceed to the actual estimation of popular
lexicon-, ML-, and DL-based approaches, explaining and evaluating them
in Sections~\ref{sec:cgsa:lexicon-based},~\ref{sec:cgsa:ml-based},
and~\ref{sec:cgsa:dl-based}. Finally, we conclude with an extensive
evaluation of different hyperparameters and settings (including the
impact of additional noisily labeled training data, various types of
sentiment lexicons, and text normalization), summarizing our results
and recapping our findings at the end of this part.
\section{Evaluation Metrics}\label{sec:cgsa:eval-metrics}
To estimate the quality of compared systems, we will rely on two
established evaluation metrics that are commonly used to measure MLSA
results: The first of these metrics is the \emph{macro-averaged
\F-score} over two main polarity classes (positive and negative):
\begin{equation*}
F_1 = \frac{F_{pos} + F_{neg}}{2}.
\end{equation*}
This measure was first introduced by the organizers of the SemEval
competition~\cite{Nakov:13,Rosenthal:14,Rosenthal:15} and has become a
de facto standard not only for the SemEval dataset but virtually for
all related message-level sentiment corpora and tasks. This score is
supposed to emphasize the ability of a classifier to distinguish
between opposite semantic orientations. Although it seemingly ignores
the neutral class, this type of misclassifications is indirectly taken
into account as well, because confusing the neutral label with another
polarity will automatically pull down the values of $F_{pos}$ or
$F_{neg}$.
The second metric, \emph{micro-averaged \F-score}, explicitly
considers all three semantic orientations (positive, negative, and
neutral) and essentially corresponds to the prediction accuracy on the
complete dataset~\cite[see][p.~577]{Manning:99}. This measure both
predates and supersedes the SemEval evaluation as it had already been
used in the very first works on sentence-level opinion
mining~\cite{Wiebe:99,Das:01,Read:05,Kennedy:06,Go:09} and was
reintroduced again at the GermEval shared task
in~2017~\cite{Wojatzki:17}.
Besides these two metrics, we will also give a detailed information
about precision, recall, and \F-scores for each particular polarity
class.
\section{Data Preparation}\label{sec:cgsa:data}
As in the previous experiments, we preprocessed all tweets labeled by
the second annotator with the text normalization system
of~\citet{Sidarenka:13}, tokenized them using the same adjusted
version of Potts'
tokenizer,\footnote{\url{http://sentiment.christopherpotts.net/code-data/happyfuntokenizing.py}}
lemmatized and assigned part-of-speech tags to these tokens with the
\textsc{TreeTagger} of \citet{Schmid:95}, and obtained morphological
features and syntactic analyses with the \texttt{Mate} dependency
parser~\cite{Bohnet:13}.
% Apart from the PotTS dataset, we also applied this procedure to the
% microblogs of the German Twitter snapshot~\cite{Scheffler:14}, which
% will be used in our subsequent experiments on noisy supervision.
We again divided our corpus into training, development, and test sets,
using 70\% of the tweets for learning, 10\% for tuning and picking
optimal model parameters, and the remaining 20\% for evaluating the
results. Drawing on the work of~\citet{Wiebe:05a}, we inferred the
polarity of these microblogs, which we will consider as gold labels in
our experiments, using a simple heuristic rule in which we assigned
the positive (negative) class to the messages that had exclusively
positive (negative) annotated \markable{sentiment}s, skipping all
microblogs that simultaneously contained multiple labeled opinions
with different semantic orientations (178 tweets). In the cases when
there was no \markable{sentiment}, we recoursed to a fallback strategy
by considering all tweets that contained exclusively positive
(negative) annotated \markable{polar term}s as positive (negative),
and ignoring all messages that featured polar elements from both
polarity classes (335 messages).\footnote{Note that we inferred all
message-level labels based on \emph{annotated} \markable{sentiment}s
and \markable{polar term}s and did not rely on the mere occurrence
of positive or negative smileys, which not necessarily implied an
expression of polarity.} Finally, all microblogs without any
\markable{sentiment}s or \markable{polar term}s were regarded as
neutral.
A few examples of such heuristically inferred labels are provided
below:
\begin{example}[Message-Level Sentiment Annotations]\label{snt:cgsa:exmp:anno1}
\noindent\textup{\bfseries\textcolor{darkred}{Tweet:}} {\upshape
\sentiment[polarity=positive]{Ich finde den Papst
\emoexpression[polarity=positive]{putzig}\\
\emoexpression[polarity=positive]{\smiley{}}}}\\
\noindent \sentiment[polarity=positive]{I find the Pope \emoexpression[polarity=positive]{cute}\\
\emoexpression[polarity=positive]{\smiley{}}.}\\
\noindent\textup{\bfseries\textcolor{darkred}{Label:}}\hspace*{2em}\textbf{%
\upshape\textcolor{green3}{positive}}\\[1.5em]
\noindent\textup{\bfseries\textcolor{darkred}{Tweet:}} {\upshape
\emoexpression[polarity=negative]{typisch} Bayern kaum ist der
neue Papst da und schon haben sie ihn
\emoexpression[polarity=negative]{in der Tasche} \ldots}\\
\noindent \emoexpression[polarity=negative]{Typical} Bavaria The new
Pope is hardly there, as they already have him
\emoexpression[polarity=negative]{in their pocket}\\
\noindent\textup{\bfseries\textcolor{darkred}{Label:}}\hspace*{2em}\textbf{%
\upshape\textcolor{midnightblue}{negative}}
\end{example}
As we can see from the examples, our simple rule makes fairly
reasonable decisions, assigning the positive class to the first tweet,
which also expresses a positive sentiment, and labeling the second
message as negative, since it contains two negative polar terms
(``typisch'' [\emph{typical}] and ``in der Tasche haben'' [\emph{to
have sb.\ in one's pocket}]).
But because our approach is still an approximation and consequently
prone to errors (especially in the cases where the polarity of the
whole microblog differs from the semantic orientation of its polar
terms, as in the first tweet in Example~\ref{snt:cgsa:exmp:anno2}, or
when it is expressed without any explicit polar terms at all, as in
the second microblog of this example), we decided to evaluate all MLSA
methods also on another German Twitter corpus,
SB10k~\cite{Cieliebak:17}, which was introduced when we already
started working on this chapter and which had been explicitly
annotated with message-level polarities of the tweets.
\begin{example}[Erroneous Sentiment
Annotations]\label{snt:cgsa:exmp:anno2}
\noindent\textup{\bfseries\textcolor{darkred}{Tweet:}} {\upshape
Unser Park, unser Geld, unsere Stadt! -NICHT unser Finanzminister!
\emoexpression[polarity=positive]{\smiley{}} \#schmid \#spd \#s21
\#btw13}\\
\noindent Our park, our money, our city! -NOT our Finance Minister!\\
\emoexpression[polarity=positive]{\smiley{}} \#schmid \#spd \#s21
\#btw13\\
\noindent\textup{\bfseries\textcolor{darkred}{Label:}}\hspace*{2em}\textbf{%
\upshape\textcolor{green3}{positive*}}\\[1.5em]
\noindent\textup{\bfseries\textcolor{darkred}{Tweet:}} {\upshape Auf
die Lobby-FDP von heute kann Deutschland verzichten \ldots}\\
\noindent Germany can go without today's lobby FDP\\
\noindent\textup{\bfseries\textcolor{darkred}{Label:}}\hspace*{2em}\textbf{%
\upshape\textcolor{black}{neutral*}}
\end{example}
The SB10k dataset comprises a total of 9,738 microblogs, which were
sampled from a larger snapshot of 5M German tweets gathered between
August and November~2013. To ensure lexical diversity and
proportional polarity distribution in this corpus, the authors first
grouped all posts of this snapshot into 2,500 clusters using the
$k$-means algorithm with unigram features. Afterwards, from each of
these groups, they selected tweets that contained at least one
positive or one negative term from the German Polarity Clues
lexicon~\cite{Waltinger:10}. Each message was subsequently annotated
by at least three human experts from a pool of 34 different
annotators. The resulting inter-rater reliability (IRR) of this
annotation run up to 0.39 Krippendorff's
$\alpha$~\cite{Krippendorff:07}. Unfortunately, due to the
restrictions of Twitter's terms of use, which only allow to distribute
the ids of the microblogs and their labels, we could only retrieve
7,476 tweets of this collection, which, however, still represents a
substantial part of the original dataset.
In addition to the aforementioned two corpora (PotTS and SB10k), we
also automatically annotated all microblogs of the German Twitter
Snapshot~\cite{Scheffler:14} by following the procedure
of~\citet{Read:05} and~\citet{Go:09} and assigning the positive
(negative) class to the tweets that contained respective emoticons,
regarding the rest of the microblogs as neutral. In contrast to the
previous two datasets, whose labels were inferred or directly obtained
from manual annotations, we will not use this automatically tagged
corpus for evaluation, but will only harness it for training in our
later weak-supervision experiments.
The resulting statistics on the number of messages and polarity class
distribution in these data are shown in
Table~\ref{snt-cgsa:tbl:corp-dist}.
\begin{table}[h]
\begin{center}
\bgroup\setlength\tabcolsep{0.1\tabcolsep}\scriptsize
\begin{tabular}{p{0.163\columnwidth} % first columm
*{6}{>{\centering\arraybackslash}p{0.135\columnwidth}}} % last two columns
\toprule
\textbf{Dataset} & \multicolumn{4}{c}{\bfseries Polarity Class}%
& \multicolumn{2}{c}{\bfseries Label Agreement}\\\cmidrule(lr){2-5}\cmidrule(lr){6-7}
& \textbf{Positive} & \textbf{Negative} %
& \textbf{Neutral} & \textbf{Mixed*} %
& $\alpha$ & $\kappa$\\\midrule
\textbf{PotTS} & 3,380 & 1,541 & 2,558 & 513 & 0.66 & 0.4\\
\textbf{SB10k} & 1,717 & 1,130 & 4,629 & 0 & 0.39 & \NA{}\\
\textbf{GTS} & 3,326,829 & 350,775 & 19,453,669 & 73,776 & \NA{} & \NA{}\\\bottomrule
\end{tabular}
\egroup{}
\caption[Polarity class distribution in PotTS, SB10k, and the
German Twitter Snapshot]{Polarity class distribution in PotTS,
SB10k, and the German
Twitter Snapshot (GTS)\\
\emph{(* --- the \emph{mixed} polarity was excluded from our
experiments)}}\label{snt-cgsa:tbl:corp-dist}
\end{center}
\end{table}
As we can see, each dataset has its own unique composition of polar
tweets: The PotTS corpus, for example, shows a conspicuous bias
towards the positive class, with 42\% of its microblogs belonging to
this polarity. We can partially explain this skewness by the
selection criteria that we used to compile the initial data for this
collection: Because a big part of this dataset was composed from
tweets that contained smileys, and most of these emoticons were
positive, which is evident from the statistics of the German Twitter
snapshot, the selected microblogs also got biased towards this
semantic orientation.
The second most frequent group in the PotTS corpus are neutral tweets,
which account for 32\% of the data. Negative messages, vice versa,
represent a clear minority in this collection (only 19\%), which,
however, is less surprising as the same tendency can be observed for
SB10k and the German Twitter Snapshot too.
Regarding the last two corpora, we can observe a more uniform (though
not identical) behavior, where both datasets are dominated by neutral
posts, which constitute 62\% of SB10k and 84\% of all snapshot tweets.
The positive class, again, makes up a big part of these data (23\% of
the former corpus and 14\% of the latter dataset), but its influence
this time is much less pronounced than in the PotTS case. Finally,
negative tweets are again the least represented semantic orientation.
The only group that has even less instances than this class is the
\textsc{Mixed} polarity. We, however, will skip the mixed orientation
in our experiments for the sake of simplicity and uniformity of
evaluation.
%% Last but not least, the results of the inter-rater reliability test
%% confirm the superior quality of the PotTS corpus, which, even despite
%% its approximate labels, still has an $\alpha$
%% agreement~\cite{Krippendorff:07} that is almost 1.7 times as high as
%% the respective score of the SB10k set (0.66 versus 0.39).
%% However, Cohen's $\kappa$ of these data (0.4), which is only
%% available for our corpus, is merely on the verge between fair and
%% moderate agreement. Nevertheless, since labels used in our
%% experiments are ordinal rather than nominal in their nature (\ie{}
%% we can compute the \emph{distance} between distinct labels, which,
%% for example, would be greater for the pair \textsc{positive}
%% vs. \textsc{negative} than for the pair \textsc{positive}
%% vs. \textsc{neutral}), we think that the Krippendorff's metric is
%% more appropriate for assessing the quality of the annotation for
%% this task.
\section{Lexicon-Based Methods}\label{sec:cgsa:lexicon-based}
The first group of approaches that we are going to explore in this
chapter using the aforementioned data are lexicon-based (LB) systems.
Just like sentiment lexicons themselves, LB methods for message-level
opinion mining have attracted a lot of attention from the very
inception of the sentiment analysis field. Starting from the work
of~\citet{Hatzivassi:00}, who gave a statistical proof that the mere
occurrence of a subjective adjective from an automatically compiled
polarity list was a sufficiently reliable indicator that the whole
sentence was subjective, more and more researchers started using
lexicons in order to estimate the overall polarity of a text.
One of the first notable steps in this direction was made
by~\citet{Das:01}, who proposed an ensemble of five classifiers (two
of which were purely lexicon-based and the other three heavily relied
on lexicon features) to predict the polarity of stock messages,
achieving an accuracy of 62\% on a corpus of several hundreds stock
board messages. A much simpler method for a related task was
suggested by~\citet{Turney:02}, who determined the \emph{semantic
orientation} (SO) of reviews by averaging the PMI scores of their
terms, getting these scores from an automatically generated sentiment
lexicon. With this approach, the author could reach an accuracy of
74\% on a corpus of 410 manually labeled Epinions comments. In the
same vein, \citet{Hu:04} computed the overall polarity of a sentence
by comparing the numbers of its positive and negative terms, reversing
their orientation if they appeared in a negated context.
%% Finally, \citet{Kim:04} compared three different approaches to
%% determining the polarity of a
%% sentence: \begin{inparaenum}[(i)] \item by multiplying the signs of
%% its polar terms, \item by taking the sum of their scores, and \item
%% by computing the geometric mean of these values; \end{inparaenum}
%% finding the first and the last option working best on the Document
%% Understanding Corpus.\footnote{\url{http://duc.nist.gov/}}
% % Hu and Liu, 2004
% Similarly, \citet{Hu:04} determined the semantic orientation of
% sentences in customer reviews by simply comparing the number of
% positive and negative terms found in these passages. Since the
% authors, however, were primarily interested in estimating the polarity
% towards particular product features mentioned in the clauses, they
% additionally applied a fallback strategy in case of a tie by checking
% which of the polar lexicon terms appeared closer to the features, and
% assuming the polarity of the preceding sentence if these numbers were
% also equal.
% % Taboada et al., 2004
% Largely inspired by the Appraisal theory of~\citet{Martin:00},
% \citet{Taboada:04} enhanced the original method of~\citet{Turney:02}
% by increasing the weights of polar adjectives which occurred in the
% middle and at the end of a document, and also augmenting these values
% with the affect, judgement, and appreciation scores. Similarly to
% polarity, the appraisal scores were calculated automatically by
% computing the PMI of their cooccurrence with different pronouns using
% a web search engine.
% Polanyi and Zaenen, 2006; Kennedy and Inkpen, 2006
In~\citeyear{Polanyi:06}, \citeauthor{Polanyi:06} presented an
extensive overview and analysis of common lexicon-based sentiment
methods that existed at that time, arguing that besides considering
the lexical valence (\ie{} semantic orientation) of polar expressions,
it was also important to incorporate syntactic, discourse-level, and
extra-linguistic factors such as negations, intensifiers, modal
operators (\eg{} \emph{could} or \emph{might}), presuppositional items
(\eg{} \emph{barely} or \emph{failure}), irony, reported speech,
discourse connectors, genre, attitude assessment, reported speech, and
multi-entity evaluation. This theoretical hypothesis was also proven
empirically by \citet{Kennedy:06}, who investigated two ways to
determine the polarity of a customer review: In the first approach,
the authors simply compared the numbers of positive and negative terms
in the text, assigning the review to the class with the greater number
of items. In the second attempt, they enhanced the original system
with an additional information about contextual valence shifters,
increasing or decreasing the sentiment score of a term if it was
preceded by an intensifier or downtoner, and changing the polarity
sign of this score to the opposite in case of a negation. %% With this
%% adjustment, \citeauthor{Kennedy:06} achieved a statistically
%% significant improvement, boosting the accuracy of the two-class
%% prediction from 67.9 to 69.3\%.
% Taboada et al., 2011
Finally, a seminal work on lexicon-based techniques was presented
by~\citet{Taboada:11}, who introduced a manually compiled polarity
list\footnote{The authors hand-annotated all occurrences of
adjectives, nouns, and verbs found in a corpus of 400 Epinions
reviews with ordinal categories ranging from -5 to 5 that reflected
the semantic orientation of a term (positive vs.\ negative) and its
polar strength (weak vs.\ strong).} and used this resource to
estimate the overall semantic orientation of texts. Drawing on the
ideas of~\citet{Polanyi:06}, the authors incorporated a set of
additional heuristic rules into their computation by changing the
prior SO values of negated, intensified, and downtoned terms, ignoring
irrealis and interrogative sentences, and adjusting the weights of
specific document sections. An extensive evaluation of this approach
showed that the manual lexicon performed much better than
automatically generated polarity lists, such as Subjectivity
Dictionary~\cite{Wilson:05}, Maryland Polarity Set~\cite{Mohammad:09},
and \textsc{SentiWordNet} of~\citet{Esuli:06c}. Moreover, the authors
also demonstrated that their method could be successfully applied to
other topics and genres, hypothesizing that lexicon-based approaches
were in general more amenable to domain shifts than traditional
supervised machine-learning techniques.
% % Taboada et al., 2006
% Another important contribution to the development of lexicon-based
% approaches was made by~\citet{Taboada:06}, who compared three popular
% polarity lists---a PMI lexicon computed with the original method
% of~\citet{Turney:02} using the AltaVista's NEAR operator; a similar
% polarity list obtained with the help of Google's AND queries; and,
% finally, the manually compiled General Inquirer lexicon
% of~\citet{Stone:66}. The authors evaluated these resources both
% intrinsically (by comparing them with GI entries) and extrinsically
% (by computing the polarity of 400 manually annotated Epinions
% reviews). To estimate the overall polarity of a review for the second
% task, \citeauthor{Taboada:06} calculated the average SO value of all
% polar terms found in the review, obtaining these scores from the
% mean-normalized lexicons, and flipping the polarity sign to the
% opposite in case of the negation.
% Musto et al., 2014
It is therefore not surprising that lexicon-based systems have also
quickly found their way into the sentiment analysis of social media:
For example, one such approach, explicitly tailored to Twitter
specifics, was proposed by~\citet{Musto:14}, who examined four
different ways to compute the overall polarity scores of microblogs:
\emph{basic}, \emph{normalized}, \emph{emphasized}, and
\emph{normalized-emphasized}. %% ; evaluating these strategies with
%% four distinct lexicons:
%% \textsc{Sen\-ti\-Word\-Net}~\cite{Esuli:06c},
%% \textsc{Word\-Net-\-Affect}~\cite{Strapparava:04},
%% \textsc{MPQA}~\cite{Wiebe:05}, and
%% \textsc{SenticNet}~\cite{Cambria:14}.
In each of these methods, the authors first split the input message
into a list of \emph{micro-phrases} based on the occurrence of
punctuation marks and conjunctions. Afterwards, they calculated the
polarity score for each of these segments and finally estimated the
overall polarity of the whole tweet by uniting the scores of its
micro-phrases. \citeauthor{Musto:14} obtained their best results
(58.99\% accuracy on the SemEval-2013 dataset) with the
normalized-emphasized approach, in which they averaged the polarity
scores of segments' tokens, boosting these values by 50\% for
adjectives, adverbs, nouns, and verbs; and computed the final overall
polarity of the microblog by taking the sum of all micro-phrase
scores.
% the authors obtained their best results using the
% \textsc{SentiWordNet} lexicon of~\citet{Esuli:06c}
% Jurek et al., 2015
Another Twitter-aware system was presented by~\citet{Jurek:15}, who
computed the negative and positive polarity of a message ($F_p$ and
$F_n$ respectively) as:
\begin{align}
\small
\begin{split}
F_P &= \min\left(\frac{A_P}{2 - \log(3.5\times W_P + I_P)}, 100\right),\\
F_N &= \max\left(\frac{A_N}{2 - \log(3.5\times W_N + I_N)}, -100\right);\label{cgsa:eq:jurek}
\end{split}
\end{align}%
where $A_P$ and $A_N$ represent the average scores of positive and
negative lexicon terms found in the tweet; $W_P$ and $W_N$ stand for
the raw counts of polar tokens; and $I_P$ and $I_N$ denote the number
of intensifiers preceding these words. In addition to that, before
estimating the average values, the authors modified the polarity
scores $s_w$ of all negated words $w$ using the following rule:
\begin{align*}
\small%
neg(s_w) =
\begin{cases}
\min\left(\frac{s_w - 100}{2}, -10\right) & \text{if } s_w > 0,\\
\max\left(\frac{s_w + 100}{2}, 10\right), & \text{if } s_w < 0.
\end{cases}
\end{align*}%
Furthermore, besides computing the polarity scores $F_p$ and $F_n$,
\citeauthor{Jurek:15} also determined the subjectivity degree of the
message by replacing the $A_P$ and $A_N$ terms in
Equation~\ref{cgsa:eq:jurek} with the average of conditional
probabilities of the tweet being subjective given the occurrences of
the respective polar terms.\footnote{These probabilities were
calculated automatically on the noisily labeled data set
of~\citet{Go:09}.} The authors considered a microblog as neutral if
its absolute polarity was less than 25, and the subjectivity value was
not greater than 0.5. Otherwise, they assigned a positive or negative
label to this message depending on the sign of the polarity score.
With this approach, \citeauthor{Jurek:15} achieved an accuracy
of~77.3\% on the manually annotated subset of the \citeauthor{Go:09}'s
corpus and reached 74.2\% on the IMDB review dataset~\cite{Maas:11}.
% Kolchyna et al., 2015
Finally, \citet{Kolchyna:15} also explored two different ways of
computing the overall polarity of a microblog:
\begin{inparaenum}[(i)]
\item by simply averaging the scores of all lexicon terms found in the
message and
\item by taking a signed logarithm of this average:
\end{inparaenum}
\begin{equation*}
\text{Score}_{\log} =
\begin{cases}
\text{sign}(\text{Score}_{\text{AVG}})\log_{10}(|\text{Score}_{\text{AVG}}|) & %
\text{if |Score}_{\text{AVG}}| > 0.1,\\
0, & \text{otherwise};
\end{cases}
\end{equation*}%
The authors determined the final polarity of a tweet by using
$k$-means clustering, which utilized both of the above polarity values
as features. They showed that the logarithmic strategy performed
better than the simple average solution, yielding an accuracy of
61.74\% on the SemEval-2013 corpus~\cite{Nakov:13}.
%% In addition to that,
% \citeauthor{Kolchyna:15} also checked whether plain lexicon scores
% could serve as useful attributes for an ML-based method. For this
% purpose, they retrained a cost-sensitive SVM
% classifier~\cite{Masnadi:12} after extending its $n$-gram feature
% set with lexicon features, getting almost five percent accuracy
% improvement (from 86.62 to 91.17) on the IMDB movie review
% dataset~\cite{Pang:02}.
As it was unclear how each of these methods would perform on PotTS and
SB10k, we reimplemented the approaches of~\citet{Hu:04} (as a
relatively simple baseline), \citet{Taboada:11}, \citet{Musto:14},
\citet{Jurek:15}, and \citet{Kolchyna:15}, and applied these systems
to the test sets of these corpora.
Based on our comparison in Chapter~\ref{chap:snt:lex}, we chose the
Zurich Polarity List~\cite{Clematide:10} as the primary sentiment
lexicon for the tested methods. However, a significant drawback of
this resource is that most of its entries have uniform weights, with
their polarity scores being either 0.7 or 1. We decided to keep the
original values as is, and only multiplied the scores of negative
terms by -1, since all of the tested approaches presupposed different
signs for the terms with opposite semantic orientations.\footnote{We
will investigate the impact of other lexicons with presumably better
scoring later in Section~\ref{cgsa:subsec:eval:lexicons}.}
Moreover, because some analyzers (\eg{} \citeauthor{Taboada:11}
[\citeyear{Taboada:11}] and \citeauthor{Musto:14}
[\citeyear{Musto:14}]) required part-of-speech tags of lexicon
entries, we automatically tagged all terms in this polarity list with
the \textsc{TreeTagger}~\cite{Schmid:95}, choosing the most probable
part-of-speech tag for each entry and also using the tag sequences
whose probabilities were at least two times lower than the likelihood
of the best assignment, duplicating the lexicon entries in the second
case.
Furthermore, since all of the systems except for that
of~\citet{Kolchyna:15} by default returned continuous real values, but
our evaluation required discrete polarity labels (\emph{positive},
\emph{negative}, or \emph{neutral}), we discretized the results of
these approaches using the following simple procedure: We first
determined the optimal threshold values for each particular polar
class on the training and development sets,\footnote{Since none of the
methods required training or involved any sophisticated
hyper-parameters, we used both training and development data to
optimize the threshold scores.} and then derived polarity labels for
the test messages by comparing their predicted SO scores with these
thresholds. To achieve the former goal (\ie{} to find the optimal
thresholds), we exhaustively searched through all unique polarity
values assigned to the training and development instances and checked
whether using these values as a boundary between two adjacent polarity
classes (sorted in ascending order of their positivity) would increase
the overall macro-\F{} on the training and development sets.
The final results of this evaluation are shown in
Table~\ref{snt-cgsa:tbl:lex-res}.
\begin{table}[h]
\begin{center}
\bgroup\setlength\tabcolsep{0.1\tabcolsep}\scriptsize
\begin{tabular}{p{0.162\columnwidth} % first columm
*{9}{>{\centering\arraybackslash}p{0.074\columnwidth}} % next nine columns
*{2}{>{\centering\arraybackslash}p{0.068\columnwidth}}} % last two columns
\toprule
\multirow{2}*{\bfseries Method} & %
\multicolumn{3}{c}{\bfseries Positive} & %
\multicolumn{3}{c}{\bfseries Negative} & %
\multicolumn{3}{c}{\bfseries Neutral} & %
\multirow{2}{0.068\columnwidth}{\bfseries\centering Macro\newline \F{}$^{+/-}$} & %
\multirow{2}{0.068\columnwidth}{\bfseries\centering Micro\newline \F{}}\\
\cmidrule(lr){2-4}\cmidrule(lr){5-7}\cmidrule(lr){8-10}
& Precision & Recall & \F{} & %
Precision & Recall & \F{} & %
Precision & Recall & \F{} & & \\\midrule
\multicolumn{12}{c}{\cellcolor{cellcolor}PotTS}\\
% Hu-Liu Commands:
% -----------------
% cgsa_sentiment train -t hu-liu -l cgsa/data/lexicons/zrch.manual.txt \
% data/PotTS/preprocessed/train/*.tsv data/PotTS/preprocessed/dev/*.tsv
%
% cgsa_sentiment test -m cgsa/data/models/cgsa.model data/PotTS/preprocessed/test/*.tsv\
% > data/PotTS/preprocessed/predicted/hu-liu/hu-liu.test
%
% cgsa_evaluate data/PotTS/preprocessed/test/ \
% data/PotTS/preprocessed/predicted/hu-liu/hu-liu.test
%
% Hu-Liu Results:
% ----------------
% General Statistics:
% precision recall f1-score support
% positive 0.75 0.76 0.76 680
% negative 0.53 0.43 0.47 287
% neutral 0.67 0.73 0.69 558
% avg / total 0.68 0.69 0.68 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 61.51%
% Micro-Averaged F1-Score (All Classes): 68.5246%
HL & 0.75 & \textbf{0.76} & \textbf{0.76} & %
0.53 & 0.43 & 0.47 & %
0.67 & 0.73 & 0.69 & %
\textbf{0.615} & \textbf{0.685}\\
% Taboada Commands:
% -----------------
% cgsa_sentiment train -t taboada -l cgsa/data/lexicons/zrch.manual.txt \
% data/PotTS/preprocessed/train/*.tsv data/PotTS/preprocessed/dev/*.tsv
%
% cgsa_sentiment test -m cgsa/data/models/cgsa.model data/PotTS/preprocessed/test/*.tsv\
% > data/PotTS/preprocessed/predicted/taboada/taboada.test
%
% cgsa_evaluate data/PotTS/preprocessed/test/ \
% data/PotTS/preprocessed/predicted/taboada/taboada.test
%
% Taboada Results:
% ----------------
% General Statistics:
% precision recall f1-score support
% positive 0.77 0.71 0.74 680
% negative 0.54 0.39 0.45 287
% neutral 0.63 0.77 0.69 558
% avg / total 0.67 0.67 0.67 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 59.66%
% Micro-Averaged F1-Score (All Classes): 67.4098%
TBD & \textbf{0.77} & 0.71 & 0.74 & %
\textbf{0.54} & 0.39 & 0.45 & %
0.63 & 0.77 & 0.69 & %
0.597 & 0.674\\
% Musto Commands:
% -----------------
% cgsa_sentiment train -t musto -l cgsa/data/lexicons/zrch.manual.txt \
% data/PotTS/preprocessed/train/*.tsv data/PotTS/preprocessed/dev/*.tsv
%
% cgsa_sentiment test -m cgsa/data/models/cgsa.model data/PotTS/preprocessed/test/*.tsv\
% > data/PotTS/preprocessed/predicted/musto/musto.test
%
% cgsa_evaluate data/PotTS/preprocessed/test/ \
% data/PotTS/preprocessed/predicted/musto/musto.test
%
% Musto Results:
% ----------------
% General Statistics:
% precision recall f1-score support
% positive 0.75 0.72 0.74 680
% negative 0.48 0.47 0.48 287
% neutral 0.68 0.72 0.70 558
% avg / total 0.68 0.68 0.67 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 60.56%
% Micro-Averaged F1-Score (All Classes): 67.5410%
MST & 0.75 & 0.72 & 0.74 & %
0.48 & \textbf{0.47} & \textbf{0.48} & %
\textbf{0.68} & 0.72 & 0.7 & %
0.606 & 0.675\\
% Jurek Commands:
% ---------------
% cgsa_sentiment train -t jurek -l cgsa/data/lexicons/zrch.manual.txt \
% data/PotTS/preprocessed/train/*.tsv data/PotTS/preprocessed/dev/*.tsv
%
% cgsa_sentiment test -m cgsa/data/models/cgsa.model data/PotTS/preprocessed/test/*.tsv\
% > data/PotTS/preprocessed/predicted/jurek/jurek.test
%
% cgsa_evaluate data/PotTS/preprocessed/test/ \
% data/PotTS/preprocessed/predicted/jurek/jurek.test
%
% Jurek Results:
% ----------------
% General Statistics:
% precision recall f1-score support
% positive 0.60 0.31 0.41 680
% negative 0.42 0.20 0.27 287
% neutral 0.43 0.80 0.56 558
% avg / total 0.50 0.47 0.44 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 33.94%
% Micro-Averaged F1-Score (All Classes): 46.6885%
JRK & 0.6 & 0.31 & 0.41 & %
0.42 & 0.2 & 0.27 & %
0.43 & 0.8 & 0.56 & %
0.339 & 0.467\\
% Kolchyna Commands:
% ------------------
% cgsa_sentiment train -t kolchyna -l cgsa/data/lexicons/zrch.manual.txt \
% data/PotTS/preprocessed/train/*.tsv data/PotTS/preprocessed/dev/*.tsv
%
% cgsa_sentiment test -m cgsa/data/models/cgsa.model data/PotTS/preprocessed/test/*.tsv\
% > data/PotTS/preprocessed/predicted/kolchyna/kolchyna.test
%
% cgsa_evaluate data/PotTS/preprocessed/test/ \
% data/PotTS/preprocessed/predicted/kolchyna/kolchyna.test
%
% Kolchyna Results:
% -----------------
% General Statistics:
% precision recall f1-score support
% positive 0.71 0.72 0.71 680
% negative 0.34 0.17 0.22 287
% neutral 0.66 0.82 0.73 558
% avg / total 0.62 0.65 0.63 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 46.76%
% Micro-Averaged F1-Score (All Classes): 65.1148%
KLCH & 0.71 & 0.72 & 0.71 & %
0.34 & 0.17 & 0.22 & %
0.66 & \textbf{0.82} & \textbf{0.73} & %
0.468 & 0.651\\
\multicolumn{12}{c}{\cellcolor{cellcolor}SB10k}\\
% Training hu-liu
% Testing hu-liu
% Evaluating hu-liu
% General Statistics:
% Training hu-liu
% Testing hu-liu
% Evaluating hu-liu
% General Statistics:
% precision recall f1-score support
% positive 0.49 0.62 0.55 354
% negative 0.27 0.33 0.30 212
% neutral 0.73 0.62 0.67 930
% avg / total 0.61 0.58 0.59 1496
% Macro-Averaged F1-Score (Positive and Negative Classes): 42.09%
% Micro-Averaged F1-Score (All Classes): 57.6872%
HL & \textbf{0.49} & \textbf{0.62} & \textbf{0.55} & %
0.27 & 0.33 & 0.3 & %
\textbf{0.73} & 0.62 & 0.67 & %
\textbf{0.421} & 0.577\\
% Training taboada
% Testing taboada
% Evaluating taboada
% General Statistics:
% precision recall f1-score support
% positive 0.48 0.60 0.53 354
% negative 0.24 0.27 0.25 212
% neutral 0.72 0.63 0.67 930
% avg / total 0.59 0.57 0.58 1496
% Macro-Averaged F1-Score (Positive and Negative Classes): 39.33%
% Micro-Averaged F1-Score (All Classes): 57.0187%
TBD & 0.48 & 0.6 & 0.53 & %
0.24 & 0.27 & 0.25 & %
0.72 & 0.63 & 0.67 & %
0.393 & 0.57\\
% Training musto
% Testing musto
% Evaluating musto
% General Statistics:
% precision recall f1-score support
% positive 0.45 0.49 0.47 354
% negative 0.29 0.35 0.32 212
% neutral 0.70 0.64 0.67 930
% avg / total 0.59 0.57 0.58 1496
% Macro-Averaged F1-Score (Positive and Negative Classes): 39.54%
% Micro-Averaged F1-Score (All Classes): 56.7513%
MST & 0.45 & 0.49 & 0.47 & %
0.29 & \textbf{0.35} & \textbf{0.32} & %
0.7 & 0.64 & 0.67 & %
0.395 & 0.568\\
% Training jurek
% Testing jurek
% Evaluating jurek
% General Statistics:
% precision recall f1-score support
% positive 0.41 0.39 0.40 354
% negative 0.36 0.26 0.30 212
% neutral 0.69 0.75 0.72 930
% avg / total 0.58 0.59 0.58 1496
% Macro-Averaged F1-Score (Positive and Negative Classes): 35.06%
% Micro-Averaged F1-Score (All Classes): 59.2246%
JRK & 0.41 & 0.39 & 0.4 & %
\textbf{0.36} & 0.26 & 0.3 & %
0.69 & 0.75 & 0.72 & %
0.351 & 0.592\\
% Training kolchyna
% Testing kolchyna
% Evaluating kolchyna
% General Statistics:
% precision recall f1-score support
% positive 0.39 0.22 0.28 354
% negative 0.34 0.13 0.19 212
% neutral 0.66 0.86 0.75 930
% avg / total 0.55 0.61 0.56 1496
% Macro-Averaged F1-Score (Positive and Negative Classes): 23.47%
% Micro-Averaged F1-Score (All Classes): 60.6283%
KLCH & 0.39 & 0.22 & 0.28 & %
0.34 & 0.13 & 0.19 & %
0.66 & \textbf{0.86} & \textbf{0.75} & %
0.235 & \textbf{0.606}\\\bottomrule
\end{tabular}
\egroup{}
\caption[Results of lexicon-based MLSA methods]{
Results of lexicon-based MLSA methods\\
{\small HL~--~\citet{Hu:04}, TBD~--~\citet{Taboada:11}, MST~--~\citet{Musto:14},
JRK~--~\citet{Jurek:15}, KLCH~--~\citet{Kolchyna:15}}}\label{snt-cgsa:tbl:lex-res}
\end{center}
\end{table}
As we can see, the performance of the tested methods significantly
varies across different polarity classes, but follows more or less the
same pattern on both datasets: For example, the most simple approach
of~\citet{Hu:04} achieves surprisingly good quality at predicting
positive tweets, showing the highest recall and \F{}-measure on the
PotTS corpus and yielding the best overall scores for this polarity
class on the SB10k set. Moreover, on the latter data, it also
outperforms all other systems in terms of the precision of neutral
microblogs. Combined with its generally good results on other
metrics, this classifier attains the highest macro-averaged
\F{}-result for all classes and sets up a new benchmark for the
micro-\F{} on the PotTS test set.
The approach of~\citet{Taboada:11}, which can be viewed as an
extension of the previous method, only surpasses the HL classifier
w.r.t.\ the precision of positive and negative messages, but still
loses more than 0.02 macro-\F{} due to a lower recall of the neutral
class. A better performance in this regard is shown by the analyzer
of~\citet{Musto:14}, which shows a fairly strong recall of negative
tweets, which in turn leads to the best \F{}-score for this polarity.
Unfortunately, since this semantic orientation is the most
underrepresented one in both corpora, this success is not reflected in
the overall statistics: Although this methods ranks second in terms of
the macro-averaged \F{}, it lags behind its competitors with regard to
the micro-averaged value on the SB10k corpus.
Finally, the system of~\citet{Kolchyna:15} shows very strong recall
and \F{}-scores for the neutral class on both sets and also achieves
the best accuracy (0.606) on the SB10k data, but its quality for the
remaining two polarities is fairly suboptimal, with the \F{}-scores
for these semantic orientations ranking last or second to last in both
cases.
\subsection{Polarity-Changing Factors}\label{subsec:cgsa:lex-methods:pol-change}
Since the analysis of context factors is commonly considered to be one
of the most important components of any lexicon-based MLSA system, and
because the method with the simplest approach to this task achieved
surprisingly good results, outperforming other more sophisticated
competitors, we decided to recheck the utility of this module for all
classifiers. In order to do so, we successively deactivated, one by
one, parts of the classifiers that analyzed the surrounding context of
polar terms and recomputed the \F{}-scores of all systems after these
changes.
\begin{table}[h]
\begin{center}
\bgroup\setlength\tabcolsep{0.1\tabcolsep}\scriptsize
\begin{tabular}{p{0.16\columnwidth} % first columm
*{10}{>{\centering\arraybackslash}p{0.082\columnwidth}}}
\toprule
\multirow{2}{0.15\columnwidth}{%
\bfseries Polarity-Changing\newline Factors} & %
\multicolumn{10}{c}{\bfseries System Scores}\\
& \multicolumn{2}{c}{\bfseries HL} & \multicolumn{2}{c}{\bfseries TBD} %
& \multicolumn{2}{c}{\bfseries MST} %
& \multicolumn{2}{c}{\bfseries JRK} & \multicolumn{2}{c}{\bfseries KLCH}\\%
\cmidrule(lr){2-3}\cmidrule(lr){4-5}\cmidrule(lr){6-7} %
\cmidrule(lr){8-9}\cmidrule(lr){10-11}
& Macro\newline \F{}$^{+/-}$ & Micro\newline \F{} %
& Macro\newline \F{}$^{+/-}$ & Micro\newline \F{} %
& Macro\newline \F{}$^{+/-}$ & Micro\newline \F{} %
& Macro\newline \F{}$^{+/-}$ & Micro\newline \F{} %
& Macro\newline \F{}$^{+/-}$ & Micro\newline \F{}\\\midrule
\multicolumn{11}{c}{\cellcolor{cellcolor}PotTS}\\
All & 0.615 & 0.685 & 0.593 & 0.671 & 0.606 & 0.675 %
& 0.339 & 0.467 & 0.468 & 0.651\\
% Training hu-liu
% Testing hu-liu
% Evaluating hu-liu
% General Statistics:
% precision recall f1-score support
% positive 0.76 0.77 0.76 680
% negative 0.55 0.43 0.48 287
% neutral 0.67 0.73 0.70 558
% avg / total 0.69 0.69 0.69 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 62.21%
% Micro-Averaged F1-Score (All Classes): 69.1148%
% Training taboada
% Testing taboada
% Evaluating taboada
% General Statistics:
% precision recall f1-score support
% positive 0.78 0.71 0.74 680
% negative 0.54 0.39 0.45 287
% neutral 0.62 0.78 0.69 558
% avg / total 0.67 0.67 0.67 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 59.63%
% Micro-Averaged F1-Score (All Classes): 67.2787%
% Training musto
% Testing musto
% Evaluating musto
% General Statistics:
% precision recall f1-score support
% positive 0.76 0.78 0.77 680
% negative 0.57 0.47 0.51 287
% neutral 0.68 0.72 0.70 558
% avg / total 0.69 0.70 0.70 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 64.05%
% Micro-Averaged F1-Score (All Classes): 69.9672%
% Training jurek
% Testing jurek
% Evaluating jurek
% General Statistics:
% precision recall f1-score support
% positive 0.61 0.32 0.42 680
% negative 0.47 0.22 0.30 287
% neutral 0.43 0.80 0.56 558
% avg / total 0.52 0.47 0.45 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 35.67%
% Micro-Averaged F1-Score (All Classes): 47.3443%
% Training kolchyna
% Testing kolchyna
% Evaluating kolchyna
% General Statistics:
% precision recall f1-score support
% positive 0.66 0.24 0.35 680
% negative 0.35 0.19 0.24 287
% neutral 0.44 0.87 0.58 558
% avg / total 0.52 0.46 0.42 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 29.82%
% Micro-Averaged F1-Score (All Classes): 46.2951%
--Negation & 0.622 & \textbf{0.691} & 0.596 & 0.672 & \textbf{0.641} & %
0.7 & 0.357 & 0.473 & 0.298 & 0.463\\
% Training taboada
% Testing taboada
% Evaluating taboada
% General Statistics:
% precision recall f1-score support
% positive 0.77 0.71 0.74 680
% negative 0.54 0.39 0.45 287
% neutral 0.62 0.78 0.69 558
% avg / total 0.67 0.67 0.67 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 59.53%
% Micro-Averaged F1-Score (All Classes): 67.2131%
% Training jurek
% Testing jurek
% Evaluating jurek
% General Statistics:
% precision recall f1-score support
% positive 0.60 0.31 0.41 680
% negative 0.42 0.20 0.27 287
% neutral 0.43 0.80 0.56 558
% avg / total 0.50 0.47 0.44 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 33.94%
% Micro-Averaged F1-Score (All Classes): 46.6885%
--Intensification & \NA{} & \NA{} & 0.595 & 0.672 & \NA{} & %
\NA{} & 0.339 & 0.467 & \NA{} & \NA{}\\
% Training taboada
% Testing taboada
% Evaluating taboada
% General Statistics:
% precision recall f1-score support
% positive 0.77 0.75 0.76 680
% negative 0.54 0.41 0.47 287
% neutral 0.64 0.75 0.69 558
% avg / total 0.68 0.68 0.68 1525
% Macro-Averaged F1-Score (Positive and Negative Classes): 61.29%
% Micro-Averaged F1-Score (All Classes): 68.3934%
--Other Modifiers & \NA{} & \NA{} & 0.613 & 0.684 & \NA{} & %
\NA{} & \NA{} & \NA{} & \NA{} & \NA{}\\
\multicolumn{11}{c}{\cellcolor{cellcolor}SB10k}\\
All & \textbf{0.421} & 0.577 & 0.392 & 0.569 & 0.395 & 0.568 %
& 0.351 & 0.592 & 0.235 & 0.606\\
% Training hu-liu
% Testing hu-liu
% Evaluating hu-liu
% General Statistics:
% precision recall f1-score support
% negative 0.26 0.31 0.28 212
% neutral 0.73 0.62 0.67 930
% positive 0.48 0.63 0.55 354
% avg / total 0.61 0.58 0.59 1496
% Macro-Averaged F1-Score (Positive and Negative Classes): 41.46%
% Micro-Averaged F1-Score (All Classes): 57.5535%
% Training taboada
% Testing taboada
% Evaluating taboada
% General Statistics:
% precision recall f1-score support
% negative 0.24 0.28 0.26 212
% neutral 0.72 0.63 0.67 930
% positive 0.48 0.60 0.53 354
% avg / total 0.60 0.57 0.58 1496
% Macro-Averaged F1-Score (Positive and Negative Classes): 39.50%
% Micro-Averaged F1-Score (All Classes): 57.1524%
% Training musto
% Testing musto
% Evaluating musto
% General Statistics:
% precision recall f1-score support
% negative 0.26 0.31 0.28 212
% neutral 0.70 0.63 0.67 930
% positive 0.45 0.51 0.48 354
% avg / total 0.58 0.56 0.57 1496
% Macro-Averaged F1-Score (Positive and Negative Classes): 38.07%
% Micro-Averaged F1-Score (All Classes): 55.8824%