Building a balanced Tamil Corpus: EDA and Lexical Diversity Comparison with English
Corpora are crucial to improve the accuracy of several Natural Language Processing tasks. Tamil is a Dravidian language and classified as a low-resource language. It is also a morphologically rich language with an agglutinative and complex inflectional structure. A balanced corpus for Tamil-TamilCorp, comprising 1.69 billion tokens across 17 genres was constructed. An exploratory data analysis (EDA) was done on the type- token data obtained from all the 17 genres using correlation heatmaps, scatter plots and many more to understand the type- token trends in Tamil. A uniformly random sample of about 1 million tokens (with 615 KB text per genre) was generated. The randomly sampled Tamil balanced corpus was used as the experimental dataset and compared with a similar-sized sample of corpora from other well-balanced English corpora like COCA, COHA and Brown. The analysis revealed that Tamil has much higher lexical diversity in comparison with English due to its morphologically rich and agglutinative structure. The observed differences were statistically significant (t-tests; Cohen’s d for effect size). Statistical analysis used two measures – TTR and MTLD. This experiment emphasizes the significance of understanding variation in lexical diversity across languages and contributes to the fields of NLP and corpus linguistics. The entire code for the EDA, and t-test experiments is available as a open source repository in GitHub along with the word embeddings and a Tamil dictionary of around 8 million words, obtained from TamilCorp so that it might be helpful for other researchers in the Tamil NLP community.
Authors
- Annalu Waller (ORCID: https://orcid.org/0000-0002-3009-8040)
- V. M. Yazhmozhi
Institutions
- University of Dundee (GB)
Publication Details
- Published
- 2025-03-28
- DOI
- https://doi.org/10.1109/icdsaai65575.2025.11011727
- Citations
- 1
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.48