Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -16,13 +16,13 @@ size_categories:
|
|
16 |
|
17 |
# HinduTamil News Articles Dataset
|
18 |
|
19 |
-
|
20 |
This dataset contains news articles in Tamil language scraped from the Hindu Tamil news website. Each article includes its title, author, city, published date, and text.
|
21 |
|
22 |
-
|
23 |
This dataset was created to provide a comprehensive collection of Tamil news articles for research and analysis purposes.
|
24 |
|
25 |
-
|
26 |
The data in this dataset was collected from the Hindu Tamil news website (https://www.hindutamil.in/news/tamilnadu/).
|
27 |
Data was collected from the website using web scraping techniques.
|
28 |
|
@@ -34,19 +34,31 @@ Data was collected from the website using web scraping techniques.
|
|
34 |
|
35 |
- Handling Errors and Timeouts: Error and timeout handling was implemented using try-except blocks to ensure smooth operation during the scraping process.
|
36 |
|
37 |
-
|
38 |
|
39 |
-
|
40 |
-
NaN values were handled by removing rows containing NaN values.
|
41 |
-
Irrelevant information such as author's comments, footer text, and advertisements were filtered out from the article text.
|
42 |
-
Published dates were extracted from the article content and formatted into a standardized date-time format.
|
43 |
|
44 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
Unstructured data from the HTML content of the website was converted to structured format using BeautifulSoup.
|
47 |
Relevant information such as title, author, city, published date, and text were extracted from the HTML tags and organized into a tabular format.
|
48 |
|
49 |
-
|
50 |
The dataset has the following structure:
|
51 |
- Title: Title of the news article
|
52 |
- Author: Author of the news article
|
@@ -54,7 +66,7 @@ The dataset has the following structure:
|
|
54 |
- Published: Published date and time of the news article
|
55 |
- Text: Main content of the news article
|
56 |
|
57 |
-
|
58 |
|
59 |
|
60 |
| Title | Author | City | Published | Text |
|
@@ -63,10 +75,10 @@ The dataset has the following structure:
|
|
63 |
| தமிழ்நாடு காங்கிரஸ் கமிட்டியில் | செய்திப்பிரிவு | சென்னை | 2024-02-26 16:52:00 | சென்னை: தமிழ்நாடு காங்கிரஸ் கமிட்டிக்கு இரண்டு துணைத்... |
|
64 |
| பரந்தூர் விமான நிலைய எதிர்ப்பு போராட்டம் | இரா.ஜெயப்பிரகாஷ் | காஞ்சிபுரம் | 2024-02-26 16:30:00 | காஞ்சிபுரம்: காஞ்சிபுரம் அருகே பரந்தூர் விமான நிலையத்துக்கு எதிராக... |
|
65 |
|
66 |
-
|
67 |
Users can use this dataset for text analysis, natural language processing, and sentiment analysis of Tamil news articles.
|
68 |
|
69 |
-
|
70 |
|
71 |
This dataset is provided under the MIT License.
|
72 |
|
@@ -93,7 +105,7 @@ OUT OF OR IN CONNECTION WITH THE DATASET OR THE USE OR OTHER DEALINGS IN THE
|
|
93 |
DATASET.
|
94 |
|
95 |
|
96 |
-
|
97 |
If you use this dataset, please cite it as:
|
98 |
Sukhtankar, Shweta. (2024). Tamil News Articles Dataset.
|
99 |
|
|
|
16 |
|
17 |
# HinduTamil News Articles Dataset
|
18 |
|
19 |
+
# Overview
|
20 |
This dataset contains news articles in Tamil language scraped from the Hindu Tamil news website. Each article includes its title, author, city, published date, and text.
|
21 |
|
22 |
+
# Motivation
|
23 |
This dataset was created to provide a comprehensive collection of Tamil news articles for research and analysis purposes.
|
24 |
|
25 |
+
# Data Sources and collection method
|
26 |
The data in this dataset was collected from the Hindu Tamil news website (https://www.hindutamil.in/news/tamilnadu/).
|
27 |
Data was collected from the website using web scraping techniques.
|
28 |
|
|
|
34 |
|
35 |
- Handling Errors and Timeouts: Error and timeout handling was implemented using try-except blocks to ensure smooth operation during the scraping process.
|
36 |
|
37 |
+
# Data Cleaning and Preprocessing
|
38 |
|
39 |
+
The dataset collected from the Hindu Tamil news website underwent several cleaning and preprocessing steps to ensure it was suitable for analysis and modeling. The steps employed include:
|
|
|
|
|
|
|
40 |
|
41 |
+
## Removing Duplicate Entries
|
42 |
+
- Duplicate entries were identified based on the 'Published' column, as articles with the same published date and time were considered duplicates.
|
43 |
+
- Duplicate rows were removed using the drop_duplicates() method from the pandas library, ensuring only unique articles remained.
|
44 |
+
|
45 |
+
## Handling NaN Values
|
46 |
+
- NaN values were handled by removing rows containing NaN values depending on the context. For instance, rows with NaN values in the 'City' or 'Author' column were dropped.
|
47 |
+
- Rows with missing data in essential columns were excluded from the final dataset.
|
48 |
+
|
49 |
+
## Filtering Out Irrelevant Information
|
50 |
+
- Irrelevant information such as author's comments, footer text, and advertisements were filtered out from the article text.
|
51 |
+
- Only the main content of the news article was retained.
|
52 |
+
|
53 |
+
## Formatting Published Dates
|
54 |
+
- Published dates were extracted from the article content and formatted into a standardized date-time format to ensure consistency.
|
55 |
+
|
56 |
+
# Process for Converting Unstructured Data to Structured Format
|
57 |
|
58 |
Unstructured data from the HTML content of the website was converted to structured format using BeautifulSoup.
|
59 |
Relevant information such as title, author, city, published date, and text were extracted from the HTML tags and organized into a tabular format.
|
60 |
|
61 |
+
# Dataset Structure
|
62 |
The dataset has the following structure:
|
63 |
- Title: Title of the news article
|
64 |
- Author: Author of the news article
|
|
|
66 |
- Published: Published date and time of the news article
|
67 |
- Text: Main content of the news article
|
68 |
|
69 |
+
# Sample entries
|
70 |
|
71 |
|
72 |
| Title | Author | City | Published | Text |
|
|
|
75 |
| தமிழ்நாடு காங்கிரஸ் கமிட்டியில் | செய்திப்பிரிவு | சென்னை | 2024-02-26 16:52:00 | சென்னை: தமிழ்நாடு காங்கிரஸ் கமிட்டிக்கு இரண்டு துணைத்... |
|
76 |
| பரந்தூர் விமான நிலைய எதிர்ப்பு போராட்டம் | இரா.ஜெயப்பிரகாஷ் | காஞ்சிபுரம் | 2024-02-26 16:30:00 | காஞ்சிபுரம்: காஞ்சிபுரம் அருகே பரந்தூர் விமான நிலையத்துக்கு எதிராக... |
|
77 |
|
78 |
+
# Data Usage
|
79 |
Users can use this dataset for text analysis, natural language processing, and sentiment analysis of Tamil news articles.
|
80 |
|
81 |
+
# License
|
82 |
|
83 |
This dataset is provided under the MIT License.
|
84 |
|
|
|
105 |
DATASET.
|
106 |
|
107 |
|
108 |
+
# Citation
|
109 |
If you use this dataset, please cite it as:
|
110 |
Sukhtankar, Shweta. (2024). Tamil News Articles Dataset.
|
111 |
|