Research Article
Towards a Unified Sentiment Lexicon Based on Graphics Processing Units
Algorithm 1
The main USL approach.
(1) procedure UnifiedSentimentLexicon() | (2) ; | (3) ; | (4) for do | (5) for do | (6) for , do | (7) if then | (8) ; | (9) else | (10) ; | (11) end if | (12) if ≥ then | (13) ; | (14) end if | (15) end for | (16) end for | (17) end for | (18) if then | (19) ; | (20) else | (21) ; | (22) end if | (23) | (24) (); | (25) ; | (26) for , do | (27) for do | (28) ; | (29) ; | (30) ; | (31) end for | (32) end for | (33) (UnifiedSentimentLexicon); | (34) end procedure |
|