The Hamshahri Corpus is a sizable Persian corpus based on the Iranian newspaper Hamshahri, one of the first online Persian newspapers in Iran. It was in initially collected and compiled by Ehsan Darrudi at DBRG Group of University of Tehran. Later a team headed by Ale Ahmad  build on this corpus and created the first Persian Text Collection suitable for information retrieval evaluation tasks.
The collection contains more than 160,000 articles covering the following subject categories: politics, city news, economics, reports, editorials, literature, sciences, Society, foreign news, sports, etc. The size of the documents varies from short news (under 1 KB) to rather long articles (e.g. 140 KB) with the average of 1.8 KB.
The corpus is available in several formats for download:
- Tagged Text: 560 MB
- In SQL Server 2000 Tables: 712 MB
The second release of Hamshahri Corpus released on 20 October 2008. It offers several new features and improvements:
- More News: 323,616 Text Stories in 3206 XML files (a file for each day)
- Increased Time Span: From 22 June 1996 to 13 May 2007
- Bigger in Size: 1.42 GB uncompressed
- Standard Container: Unicode XML
- Included Images: images have been extracted from the news and preserved (available in an additional package) makes it suitable for Images Retrieval tasks.
- Categorized News: the news stories have been categorized semi-automatically (appropriate for Text Categorization and Classification tasks).
The corpus is available for download in XML format.