Research Article
Big Data Aspect-Based Opinion Mining Using the SLDA and HME-LDA Models
Algorithm 1. The calculation of , .
1: Query the semantic list of in WordNet | 2: //Record the semantic value of the max similarity | 3: | 4: //Record the maximum similarity | 5: ; | 6: //Each semanticof | 7: fordo | 8: fordo | 9: //Sim() is a function provided by WordNet | 10: ifthen | 11: ; | 12: ; | 13; end if | 14: end for | 15: end for | 16: Use SentiWordNet to query the sentiment polarity of semantic | 17: Calculate using equation (3) | 18: Calculate using equation (4) | 19: return | 20: return | 21: return |
|
Algorithm 1. The calculation of , . |