--- license: apache-2.0 language: - ur pretty_name: Urdu_news_dataset --- # Urdu Text Dataset Analysis ## Dataset: cleaned_content_only_unique.csv ## Dataset Overview - **File Information** - Size: 14.59 MB (15,297,210 bytes) - Encoding: UTF-8 ## Basic Statistics - Total Characters: 8,394,639 - Total Characters (excluding spaces): 6,982,483 - Total Lines: 4,151 - Total Paragraphs: 1 - Total Sentences: 29,005 - Total Words: 1,559,432 ## Linguistic Analysis - Vocabulary Size: 52,112 - Average Word Length: 4.33 characters - Median Word Length: 4.0 characters - Average Sentence Length: 53.76 words - Median Sentence Length: 26.0 words - Longest Word: عبدالظاہرکوتعزیرات (18 characters) - Shortest Word: ا (1 characters) ## Structural Analysis - Average Paragraph Length: 1416307.00 words - Maximum Paragraph Length: 1,416,307 words - Minimum Paragraph Length: 1,416,307 words - Empty Lines: 0 ### Line Length Statistics - Mean: 2021.32 characters - Median: 1783.00 characters - Maximum: 22,626 characters - Minimum: 17 characters ## Vocabulary Analysis - Total Unique Words: 52,112 - Hapax Legomena (words appearing once): 20,143 - Dis Legomena (words appearing twice): 6,625 - Vocabulary Richness: 0.0334 ### Most Frequent Words (Top 20) | Rank | Word | Frequency | |------|------|-----------| | 1 | ا | 31,618 | | 2 | ی | 19,845 | | 3 | ے | 8,769 | | 4 | ر | 6,763 | | 5 | یں | 5,139 | | 6 | ي | 4,323 | | 7 | ل | 4,171 | | 8 | ن | 4,013 | | 9 | ساي | 3,105 | | 10 | فاي | 2,977 | | 11 | ں | 2,899 | | 12 | ٹ | 2,804 | | 13 | س | 2,690 | | 14 | م | 2,454 | | 15 | یوں | 2,086 | | 16 | پاي | 2,024 | | 17 | واي | 1,996 | | 18 | لاي | 1,986 | | 19 | جاي | 1,853 | | 20 | بناي | 1,820 | ## Character Analysis ### Unicode Categories Distribution - Nd: 75,921 - Lo: 6,670,503 - Po: 74,303 - Mn: 157,425 - Cf: 159 - Lm: 22 ### Writing Scripts Used - DIGIT: 75,921 - ARABIC: 6,902,253 - ZERO: 159 ### Special Characters (Top 20) | Character | Unicode Name | Count | |-----------|--------------|-------| | ٔ | ARABIC HAMZA ABOVE | 102,571 | | ، | ARABIC COMMA | 36,006 | | ٓ | ARABIC MADDAH ABOVE | 31,547 | | ۔ | ARABIC FULL STOP | 29,005 | | ِ | ARABIC KASRA | 10,654 | | ؟ | ARABIC QUESTION MARK | 9,106 | | ُ | ARABIC DAMMA | 6,368 | | ٰ | ARABIC LETTER SUPERSCRIPT ALEF | 3,789 | | ً | ARABIC FATHATAN | 1,664 | | ّ | ARABIC SHADDA | 694 | | ٭ | ARABIC FIVE POINTED STAR | 171 | |  | ZERO WIDTH NO-BREAK SPACE | 159 | | َ | ARABIC FATHA | 109 | | ؛ | ARABIC SEMICOLON | 15 | | ْ | ARABIC SUKUN | 6 | | ٖ | ARABIC SUBSCRIPT ALEF | 6 | | ٍ | ARABIC KASRATAN | 5 | | ٌ | ARABIC DAMMATAN | 5 | | ٘ | ARABIC MARK NOON GHUNNA | 4 | | ٕ | ARABIC HAMZA BELOW | 2 | ## Dataset Quality Metrics - Text appears to be properly segmented into paragraphs and sentences. - Unicode encoding is properly maintained. - Special characters and scripts are consistently used. ## Notes and Methodology - Analysis performed using Python 3 with Unicode support. - Word boundaries determined using regular expressions. - Sentences delimited by Urdu punctuation marks. - Character analysis includes Unicode category and script information. - Vocabulary analysis includes frequency distribution and richness metrics. ## Potential Use Cases - Urdu language processing. - Linguistic research. - Text classification. - Language modeling. - Vocabulary analysis. ## Data Format - Plain text in CSV. - UTF-8 encoded. - Line-delimited paragraphs. - Standard Urdu orthography. ```bibtext @misc {haq_nawaz_malik_2024, author = { {HAQ NAWAZ MALIK} }, title = { Urdu_news_Dataset (Revision b36554a) }, year = 2024, url = { https://huggingface.co/datasets/Omarrran/Urdu_news_Dataset }, doi = { 10.57967/hf/3597 }, publisher = { Hugging Face } }