Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Narendra Modi - Text Speech Analysis #713

Merged
merged 4 commits into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Narendra Modi - Text Speeches Analysis/Dataset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## DATASET SOURCE:
- https://www.kaggle.com/adiamaan/modi-speeches

## Dataset Description :

- ID
- TITLE
- URL
- ARTICLE TEXT
- IMAGES
- PUBLISH INFO
- TAGS

### Columns Droped are :

- URL
- IMAGES

### Columns Created :

- YEAR
- MONTH
- Sentiments
- Sentimental Score
89,188 changes: 89,188 additions & 0 deletions Narendra Modi - Text Speeches Analysis/Dataset/modi_speeches.csv

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions Narendra Modi - Text Speeches Analysis/Models/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# NAREDRA MODI TEXT SPEECH ANALYSIS

### Aim : This project is to analyze the speeches of Narendra Modi.

### Dataset : https://www.kaggle.com/adiamaan/modi-speeches

### Library used :
- Pandas
- Numpy
- String
- Matplotlib
- Seaborn
- Word cloud

### Visual plots :

- ![](/Narendra%20Modi%20-%20Text%20Speeches%20Analysis/Images/Most%20common%20Tags.png)

- ![](/Narendra%20Modi%20-%20Text%20Speeches%20Analysis/Images/Word%20cloud.png)

- ![](/Narendra%20Modi%20-%20Text%20Speeches%20Analysis/Images/Most%20common%20words%20from%20speech.png)

- ![](/Narendra%20Modi%20-%20Text%20Speeches%20Analysis/Images/Number%20of%20Speeches%20per%20Year.png)

- ![](/Narendra%20Modi%20-%20Text%20Speeches%20Analysis/Images/Number%20of%20Speeches%20per%20Month.png)


### Analysis :
- Firstly, frequecy of most 30 popular tags are plotted on bar graph. We can clearly observe the important goals of the government which includes Good Governance, Infrastructural Development, Promoting Digital India Campaign and Other government scemes.

- Secondly, analysis his speech that what key words mostly he includes in his speeches. This shows that he includes India, Economy, People, World friends, Productional growth and Welfare like words.

- Thirdly, frquency of its speeeches over a years and months. This concludes that in 2019 due to general election the frquency of speeches goes above 300, which was highest of all 4 years (excluding 2022, we have less data of that particular year).

- Lastly, Analysis the sentimental score of speeches which all postive infact all are greater than 0.9 points.

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions Narendra Modi - Text Speeches Analysis/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
matplotlib==3.5.2
numpy==1.19.2
pandas==1.4.3
nltk==3.8.1
seaborn==0.11.2
vaderSentiment
Loading