You are on page 1of 18

Acknowledgement

We would like to express our special thanks of gratitude to Deputy Director Sunil Sharma
for all his technical support and help in this project, as well as our Program Director Krishna
Prasad Acharya and Head of Department Ridip Khanal who allowed this project topic and
gave us this golden opportunity to do this wonderful project on the topic ‘Sentiment Based
Movie Rating System’, which also helped us in doing a lot of Research and we came to know
about so many new things that regular academics would have never taught. We are really
thankful to them for all their support, helps, guidance, motivations and corrections.

Secondly, we would also like to thank our parents and friends who helped us a lot in
finalizing this project within the limited time frame. Without all their help, we would have
never stepped into this project.

We appreciate all the technical support and motivation given by BCA program Mechi
Multiple Campus and all the helps provided in order to keep this project aligned with its
actual objectives.
Abstract

Sentiment based Movie Rating System is a online web application where a users comments
on a particular movie and based on those comments system generates the ratings to the
particular movies. It allows for the automated movie rating system. In the present scenario,
rating of a movies is given by media personnel which is not influenced by a users true
emotions and also leads to the false ratings. But in ‘Sentiments based Movie Rating System’
false rating cannot be entered since system calculates based on user comments. Thus,
'Sentiment Based Movie Rating System' removes human errors that commonly occur during
manual analysis and provides an unbiased result.
Contents

Acknowledgement.................................................................................................................................i

Abstract................................................................................................................................................ii

1. Introduction.................................................................................................................................1

2. Problem statement.......................................................................................................................1

3. Objective.......................................................................................................................................1

4. Methodology.................................................................................................................................2

5. Requirement Identification.........................................................................................................3

5.1. Study of Existing System.....................................................................................................3

5.2. Literature Review................................................................................................................3

5.3. Requirement Analysis..........................................................................................................4

6. Feasibility Study..........................................................................................................................5

6.1. Technical Feasibility............................................................................................................5

6.2. Operational Feasibility........................................................................................................5

6.3. Economical Feasibility.........................................................................................................5

7. Working Mechanism of Proposed System.................................................................................6

8. Algorithm.....................................................................................................................................7

9. Gantt Chart..................................................................................................................................8

10. System Design..........................................................................................................................9

10.1. Process Modeling.............................................................................................................9

10.1.1. Context Diagram..........................................................................................................9

10.1.2. Data Flow Diagram......................................................................................................9

10.2. Database Design.............................................................................................................10

10.2.1. ER Diagram................................................................................................................10

12. Project Management..............................................................................................................12

13.References.....................................................................................................................................13
List of figures

Figure 1 waterfall model........................................................................................................................2

Figure 2 working mechanism of proposed system................................................................................6

Figure 3 Gantt Chart..............................................................................................................................8

Figure 4 Context Diagram......................................................................................................................9

Figure 5 Data flow Diagram(DFD)..........................................................................................................9

Figure 6 Entity Relationship Diagram (ER- Diagram)............................................................................10


1. Introduction
In the last decade, there is a rise of social media and social networking site like book
my show, IMBD, film.com for movie reviews. It is a hectic, tedious, challenging and
time consuming task for a movie viewer to read all the movie reviews which in turns
results in inappropriate judgment/opinion about movies. also instead of referring the
newspaper that only contain a five star based rating which are usually not accurate,
therefore, we propose an online system that manages the movie reviews given to the
movie and predicts the rating corresponding to each movie review. It will show the
overall rating of the movie which will change as the movie viewers enters the movie
review. Emotions of the movie viewers are displayed after analyzing the movie
review given by him/her. Best and Worst reviews for the particular movies are shown.
Directors, Writer, movie stars, short summary of the movie is shown for the movie
viewers knowledge. The system also sorts and display top rating movies as per
analysis and calculate a top ten list automatically. This provides an automated movie
rating system based on sentiment analysis which will help the movie viewers to make
better choices of the movie to watch.

2. Problem statement
Rating of a movie should be done on basis of a user true feeling towards a movie.
However, in present context rating of a movie is given by media personnel and critics
which is not influenced by a users true emotions and also leads to a human error that
occurs during the manual analysis. Our System will provide a feature where user
comments on a movie and the system gives rating after analyzing the sentiments of
the user comments i.e it allows for the automated movie rating system. our system
provides an unbiased result and also excludes human efforts and saves time and
resources.

3. Objective
 To provide users a platform for sharing their honest review about a movie that
the movie is worth to watch or not.
 To generate automated rating in number between 0 to 5 of a particular movies
as per the user comments.
4. Methodology
As the requirements of the project are well understood and the features are clear we
propose to use the traditional waterfall approach to build our system. The project
timeline is fixed and the cost is limited. The scope of the project is also clear and well
known so the project team has decided to use the traditional waterfall model.

Figure 1 : waterfall model

 Requirement Analysis : In this phase all the requirements of the project are analyzed
and documented in a specified document and also feasibility analysis is done to check
if these requirement are valid. It is essential to consider any limitations and constraints
(e.g. time, budget constraints ) which can affect the development process.
 System Design : In this phase, the system design is prepared which specifies
hardware and system requirements, such as data layers, programming languages,
network infrastructure, user interface.
 Implementation : In this phase, the source code is written as per requirements. The
physical design specification are turned into a working code.
 Testing : After the implementation the code is tested for all possible defects by
running test case either manually or by automation.
 Deployment : In this phase, the software is deployed into a live environment ( client's
server ) in order to test its performance. Once the software is deployed, it becomes
available to end-users. Sometimes, this phase also includes training of real-time users
to communicate benefits of the system.
 Maintenance: After the deployment phase, the step is to provide support and
maintenance for the software, making sure its runs smoothly. if the client and users
come across errors/defects/bugs during use, fixing them is the main purpose of the
stage.
5. Requirement Identification
5.1. Study of Existing System
The only existing system in this context is the media personnel movie rating
system where the media personnel give rating to a movie after watching and
also a normal user gives points/stars as a rating to a particular movie. Our
system provides a feature where user comments on a movie and based on
those comments rating is generated. our system generates the automated
ratings for a particular movie.
I. Pros of Existing System
The only advantage of existing system is that viewers' can decide whether the
movie is worth to watch or not and saves their time.

II. Cons of Existing System


 Rating of a movie does not show the view of normal viewers.
 Review for a movie can be biased.
 Viewers cannot share their honest feeling.
 Biased rating can change the opinion of movie viewers.

5.2. Literature Review


Information presented in cyberspace is now more diverse and the media used
means in the process of information diffusion are growing. One of the main media
used in the process diffusing information in cyber media is text or document
media. The ability in order to extract information from documents is absolutely
necessary. The method of extracting information from data in the form of
documents is known as text mining. Over 80% of information is currently stored
in the form of text, so that text mining is believed to have high commercial value
potential [1]. describe the steps taken in text mining: tokenizing, filtering,
stemming, tagging, and analyzing [2]. Sentiment analysis is one of the new
branches in the domain of text mining or data extraction in the form of text,
consisting of processing and extracting textual data automatically in order to
obtain information [3]. Sentiment analysis can be utilized as a tool in seeing the
public response of a particular event, either positive or negative response, so that
the next strategic steps can be undergone immediately. An example of sentiment
data in the form of document is movie review from various sites on the internet.
Reviews obtained from movie reviews sites can be used a reference for movie
fans to know recommended and also a medium for movie producers to know the
public responses towards the movie released. Movie review can be divided into a
number of categories based on the sentiments contained in the document. There
are some difficulties in developing sentimental analysis study on movie review
using KNN algorithm due to the lack of studies on movie review documents and
the lack of corpus or textual literature for movie review. Based on the description
above, the researchers are interested in creating a system which is capable of
categorizing movie review in KNN algorithm into two categories of positive and
negative sentiments using the method of KNN Classifier [4]. KNN Classifier
method is one of the supervised learning models based on statistics and
probability with high level of accuracy [5].

5.3. Requirement Analysis


5.3.1. Functional Requirement
 Users must be able to share his/her view about the stored movies
provided in the system.
 User must be able to rate the stored movies provided in the system.
 User must be able to comment on the stored movie only once. The
system stores each comment of the users for further processing and find
out the sentiments and their weight age and store it in database.
 User can easily decide whether the stored movie provided by the
admin/system are good, bad or worst based on sentiment classification.

5.3.2. Non-Functional Requirement


 System uses an authentication through login process in order to
differentiate user level.
 System can run in various web browser which support the system
environment.
 Gives fast response.
 Availability
 Reliability

6. Feasibility Study
6.1. Technical Feasibility
The system is developed by using best technological system development
techniques such as OOPHP, JavaScript, JQuery, Bootstrap, CSS and MySQL
database without any problems. When we evaluate the hardware’s and software’s
requirement and how they meet the need of the proposed system, our proposed
system is technically feasible because we have used currently available and
affordable technologies to develop the proposed system with easy and attractive
user interface.
6.2. Operational Feasibility
The system is operationally feasible by changing the manual system to the web
based online system and giving the user easy to use automated system or takes
advantages of business opportunity by minimizing efforts and time.
6.3. Economical Feasibility
The development of this system in general case have no cost, since no components
or team members are getting paid or purchased. The project is the part of
academic qualification for Bachelor’s Degree in Computer Application Tribhuvan
University and there is no monetary factor involved. So the project is
economically feasible.
7. Working Mechanism of Proposed System

Figure 2: working mechanism of proposed system


The explanation on Figure, above is: firstly, the derived from the movie review is
submitted by the user one by one. The system, then, executes the document extraction
process in order to generate a collection of terms from each review text and so-called
bag of words. The next step is to train the system. At this step, the system constructs a
model of the training data by calculating the occurrences of each term in the training
data and likelihood value [5]. The result of the system training process is a table of
feature sets containing the number of occurrences and likelihood values of each term
in the training data. The likelihood value is, then, incorporated into the next step
which is the calculation of the system accuracy . The system performs the
classification process using the KNN Classifier method in order to obtain the best
class of sentiment of each review in the category of data train. The results of the
accuracy calculation are the sentiments of the classification of each test data review
and the confusion matrix table obtained from the original sentiment comparison of the
test data review and the sentiment of the analysis result. System accuracy can be
concluded from the confusion matrix. The planning steps which are implemented
based on the waterfall method.

8. Algorithm
For the analysis of the sentiments we have decided to use KNN (Known Nearest
Neighbour) algorithm.
 K-Nearest Neighbour is one of the simplest Machine Learning algorithms
based on Supervised Learning technique .
 K-NN algorithm assumes the similarity between the new case/data and
available cases and put the new case into the category that is most similar to
the available categories.
 K-NN algorithm stores all the available data and classifies a new data point
based on the similarity. This means when new data appears then it can be
easily classified into a well suite category by using K- NN algorithm.
 K-NN algorithm can be used for Regression as well as for Classification but
mostly it is used for the Classification problems .
 KNN algorithm at the training phase just stores the dataset and when it gets
new data, then it classifies that data into a category that is much similar to the
new data [6].
How does KNN algorithm works :

Step-1: Select the number K of the neighbors

Step-2: Calculate the Euclidean distance of K number of neighbors

Step-3: Take the K nearest neighbors as per the calculated Euclidean distance.

Step-4: Among these k neighbors, count the number of the data points in each category.

Step-5: Assign the new data points to that category for which the number of the neighbor
is maximum.

Step-6: Our model is ready.

9. Gantt Chart
We have divided the project into the tasks and milestones as shown in figure:

Figure 3: Gantt Chart


10. System Design
10.1. Process Modeling
10.1.1.Context Diagram

Figure 4: Context Diagram

10.1.2.Data Flow Diagram

Figure 5: Data flow Diagram(DFD)


10.2. Database Design
10.2.1.ER Diagram

Figure 6 : Entity Relationship Diagram (ER- Diagram)


10.2.2. Schema Diagram

11. Expected outcome


 Allows for automated movie rating system.
 False rating cannot be entered since system calculates based on user
comments.
 It removes human errors that commonly occur during manual analysis.
 The system provides an unbiased result.
 Thus the system excludes human efforts and saves time and resources.
12. Project Management
Brief profile of each team member and their general duties follow below. Many of the
responsibilities will be shared among team members to ensure the overall success of
the project.

Member Name Module Name Work Done

Prabin Rajbanshi User Module  Design user interface and user dashboard
 Implement the algorithm for sentiment
analysis.
 Documentation of the project.

Rohit Raut Admin Module  Design admin dashboard.


 CRUD operation for Movie.
 Documentation of the project.

13. Conclusion
Sentiment Based movie rating system aims at developing a website that manages the
reviews given to the movie and predicts the rating corresponding to each review. It
will show the overall rating of the movie which will change as soon as the movie
viewers enters a new review. Our proposed system will have two types of users,
registered or unregistered user. Unregistered user can view the trailer of movie and
can only read review of movie viewers. The registered user can view trailers give
review about the movie and see emotion of the movie viewers is displayed after
analysing the review given by him. Best and Worse reviews for particular movies are
shown. Genre, director, writer, movie stars and short summary of movie is shown for
movie viewers knowledge. The system also generate automatic rating in number up to
5 and also display top rating movie as per analysis.
13.References

[1] Grimes, "sentiment," unstructured data and 80 percent rule cMBRIDGE BRIDGEPOINTS, pp. 240-
250, 2008. [Accessed 27 03 2022].

[2] R. Feldem, The text mining handbook: Advanced approaches in analyzing unstructured data,
canbridge university press, 2007. [Accessed 24 03 2022].

[3] "Proceedings of the 2002 Conference on Empirical Methods in Natural Language Processing
(EMNLP 2002)," Association for Computational Linguistics, 2002, p. 79–86. [Accessed 27 03
2022].

[4] D. K.L.Shunmuganathan, "SENTIMENT CLASSIFICATION OF MOVIE REVIEW," P.Kalaivani Research


Scholar, Sathyabama university,, pp. 40-50, 2001. [Accessed 28 03 2022].

[5] M. R. &. J. Gama, ""Marketing Research: The Role Of Sentiment Analysis,"," p. 489, 2013.
[Accessed 20 03 2022].

[6] "javapoint.com," [Online]. Available: https://www.javatpoint.com/k-nearest-neighbor-algorithm-


for-machine-learning. [Accessed 28 03 2022].

You might also like