In: Computer Science
Make a class diagram (static structure with classes, interfaces and their relationship). It should include classes, major attributes, major methods, class associations and multiplicities. The details of the project and its functional requirements are:
Develop a sentiment analysis system for product rating. It is an e-commerce web application. The main objective of this sentiment analysis system is to understand the hidden sentiments of customers in feedback and comments and analyze their product rating patterns. When registered customers (they can create account by themselves and then modify their account) use this application to view products, product features, and comment on different products, the sentiment analysis system will use API of some product review websites to collect comments of that product and analyze the comments of various users and ranks products accordingly. The system leverages a database of sentiment-based keywords (including positivity or negativity weight). So, when a user comments on a particular product, the sentiment analysis system analyzes the keywords in the comment to find the match with the keywords stored in the database. After analyzing the matches against the positive and negative keywords and sentiments, the system ranks a product as good, bad, and very bad. Thus, users can use this application to find out reviews on a product. The system also has administrator who manage the system, add/modify/delete users’ account.
The projects functional requirement includes: system allows user to register and create an account. Users are allowed by the system to edit and modify account. System allows user to view products and features. System allows user to comment on product. System uses API of some product review websites to collect comment of that product and analyze the comments of various users. System gathers comments from external websites. System analyzes comments of users to rank the product by matching keyword in database. System assigns rank to product as good, bad and very bad. Users can use system to view product review. System has an administrator to manage the system. The system administrator can add, delete and modify all users’ accounts. Must have authentication system to log into user account and perform allowed functionality. User log must be maintained. System must keep automatic back-up of database. System must allow easy recovery by eliminating duplicate comments by same user on same product