-
-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #713 from HarshRaj29004/Alternate
Narendra Modi - Text Speech Analysis
- Loading branch information
Showing
22 changed files
with
89,276 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
89,188
Narendra Modi - Text Speeches Analysis/Dataset/modi_speeches.csv
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.5 KB
Narendra Modi - Text Speeches Analysis/Images/Most common words from speech.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+61.5 KB
Narendra Modi - Text Speeches Analysis/Images/Number of Speeches per Month.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19 KB
Narendra Modi - Text Speeches Analysis/Images/Number of Speeches per Year.png
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# NAREDRA MODI TEXT SPEECH ANALYSIS | ||
|
||
### 🎯 Goal : This project is to analyze the speeches of Narendra Modi. | ||
|
||
### 🧵 Dataset : https://www.kaggle.com/adiamaan/modi-speeches | ||
|
||
### 🧾 Description : | ||
|
||
- Objective: The key idea of this analysis is to extract meaningful insights from the | ||
speeches of a prominent political figure. The analysis aims to understand the themes, keywords, frequency trends, and sentiments expressed in the speeches. | ||
|
||
- Method: The analysis is conducted in four parts such as, Tag Frequency Analysis, Keyword Analysis, | ||
Speech Frequency Analysis and finally Sentimental Analysis. | ||
|
||
- Outcome: Through these analyses, we gain a comprehensive insight into the content of the speeches | ||
and the thought process of Narendra Modi. The results highlight the main themes, commonly used keywords, trends in speech frequency, and the positive sentiment consistently present in the speeches. | ||
|
||
|
||
### 🧮 What I had done!(Analytics) : | ||
|
||
- Tag Frequency Analysis: Plotted the frequency of the 30 most popular tags on a bar graph, highlighting key | ||
government goals such as Good Governance, Infrastructural Development, Promoting Digital India Campaign, and other government schemes. | ||
|
||
- Keyword Analysis: Analyzed the key words mostly included in the speeches, revealing a focus on India, | ||
Economy People, World friends, Productional growth, and Welfare. | ||
|
||
- Speech Frequency Analysis: Analyzed the frequency of speeches over the years and months, | ||
showing a peak in 2019 due to the general election, with over 300 speeches. | ||
|
||
- Sentiment Analysis: Assessed the sentiment of the speeches, | ||
finding that all were positive with scores greater than 0.9. | ||
|
||
### 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) | ||
|
||
|
||
### ✒️ Contributor : | ||
*Harsh Raj* | ||
|
||
*Abhishek Sharma* (Mentor) |
1 change: 1 addition & 0 deletions
1
Narendra Modi - Text Speeches Analysis/Models/narendra-modi-speech-analysis.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
File renamed without changes