Research Article
Towards a Unified Sentiment Lexicon Based on Graphics Processing Units
Algorithm 2
Some of the procedures of USL approach.
(1) procedure FocusCrawlerEngine | (2) for do | (3) ; | (4) end for | (5) end prcedure | (6) procedure SelectorLanguages() | (7) for do | (8) switch do | (9) case | (10) assert() | (11) case | (12) assert(); | (13) case | (14) assert(); | (15) case | (16) assert(); | (17) end for | (18) end procedure | (19) procedure MetricSearcher() | (20) if ≥ 0 then | (21) ; | (22) else | (23) ; | (24) end if | (25) end procedure | (26) procedure MetricTransformer() | (27) | ; | (28) end procedure | (29) procedure SentimentLexiconIntersection(Clusters(MetricLexicon)) | (30) for do | (31) for do | (32) if | (33) then | (34) ; | (35) else | (36) ; | (37) end if | (38) end for | (39) end for | (40) end procedure | (41) prcedure LexicalEntriesSubstracter( | (42) ; | (43) end procedure | (44) prcedure LexicalEntriesDivisor( | (45) for do | (46) ; | (47) end for | (48) end procedure |
|