File tree Expand file tree Collapse file tree 3 files changed +103
-0
lines changed
Expand file tree Collapse file tree 3 files changed +103
-0
lines changed Original file line number Diff line number Diff line change 1+ # Sentiment Analyser
2+
3+ This is a sentiment analyser that takes in a sentence and returns the sentiment of the sentence.
4+ It gives rating to the emotions present in the sentence, from 0 to 1.
5+ It uses NLP and ML algroithms to do so.
6+ This is trained on word2vec dataset using IMDB movie reviews.
7+ And the test model is based on RNN.
8+
9+
10+
11+ ## Setup instructions
12+ - Install python 3.6 or above
13+ - Install the required packages using the following command
14+ ``` bash
15+ pip install -r requirements.txt
16+ ```
17+ - First execute the word2vec.ipynb file to train the model
18+ - Then execute the RNN(w2v).ipynb file to test the model
19+ - Change the epochs batch size based on your system configuration and the accuracy you want.
20+ - It will then create a csv file with the sentiment of the sentence.
21+
22+ ## Output
23+ Check the screenshot in this folder for the output.
24+
25+ ## Author(s)
26+
27+ - [ Aditya Jethani] ( https://github.com/okaditya84 )
28+
Original file line number Diff line number Diff line change 1+ absl-py == 1.4.0
2+ asttokens == 2.2.1
3+ astunparse == 1.6.3
4+ backcall == 0.2.0
5+ cachetools == 5.3.0
6+ certifi == 2022.12.7
7+ charset-normalizer == 3.1.0
8+ colorama == 0.4.6
9+ comm == 0.1.2
10+ debugpy == 1.6.6
11+ decorator == 5.1.1
12+ executing == 1.2.0
13+ flatbuffers == 23.3.3
14+ gast == 0.4.0
15+ gensim == 4.3.1
16+ google-auth == 2.16.2
17+ google-auth-oauthlib == 0.4.6
18+ google-pasta == 0.2.0
19+ grpcio == 1.51.3
20+ h5py == 3.8.0
21+ idna == 3.4
22+ ipykernel == 6.21.3
23+ ipython == 8.11.0
24+ jax == 0.4.6
25+ jedi == 0.18.2
26+ jupyter_client == 8.0.3
27+ jupyter_core == 5.3.0
28+ keras == 2.12.0
29+ libclang == 15.0.6.1
30+ Markdown == 3.4.1
31+ MarkupSafe == 2.1.2
32+ matplotlib-inline == 0.1.6
33+ nest-asyncio == 1.5.6
34+ numpy == 1.23.5
35+ oauthlib == 3.2.2
36+ opt-einsum == 3.3.0
37+ packaging == 23.0
38+ pandas == 1.5.3
39+ parso == 0.8.3
40+ pickleshare == 0.7.5
41+ platformdirs == 3.1.1
42+ prompt-toolkit == 3.0.38
43+ protobuf == 4.22.1
44+ psutil == 5.9.4
45+ pure-eval == 0.2.2
46+ pyasn1 == 0.4.8
47+ pyasn1-modules == 0.2.8
48+ Pygments == 2.14.0
49+ python-dateutil == 2.8.2
50+ pytz == 2022.7.1
51+ pywin32 == 305
52+ pyzmq == 25.0.1
53+ requests == 2.28.2
54+ requests-oauthlib == 1.3.1
55+ rsa == 4.9
56+ scipy == 1.10.1
57+ six == 1.16.0
58+ smart-open == 6.3.0
59+ stack-data == 0.6.2
60+ tensorboard == 2.12.0
61+ tensorboard-data-server == 0.7.0
62+ tensorboard-plugin-wit == 1.8.1
63+ tensorflow == 2.12.0rc1
64+ tensorflow-estimator == 2.12.0
65+ tensorflow-intel == 2.12.0rc1
66+ tensorflow-io-gcs-filesystem == 0.31.0
67+ termcolor == 2.2.0
68+ tornado == 6.2
69+ traitlets == 5.9.0
70+ typing_extensions == 4.5.0
71+ urllib3 == 1.26.15
72+ wcwidth == 0.2.6
73+ Werkzeug == 2.2.3
74+ wincertstore == 0.2
75+ wrapt == 1.14.1
You can’t perform that action at this time.
0 commit comments