DOI: 10.35111/rmss-cp38
title: Arabic Gigaword Third Edition

description: <h4>Introduction</h4> <p>Arabic Gigaword Third Edition is a comprehensive archive of newswire text data acquired from Arabic news sources by the LDC at the University of Pennsylvania. Arabic Gigaword Third Edition includes all of the content of <a href="http://catalog.ldc.upenn.edu/LDC2006T02" rel="nofollow"> Arabic Gigaword Second Edition (LDC2006T02)</a> as well as new data collected after the publication of that edition. Also, an archive from a new newswire source -- Assabah -- has been included in the third editon.</p> <p>The six distinct sources of Arabic newswire represented in the third edition are: </p><ul> <li> Agence France Presse (afp_arb)</li> <li> Assabah (asb_arb)</li> <li> Al Hayat (hyt_arb)</li> <li> An Nahar (nhr_arb)</li> <li> Ummah Press (umh_arb)</li> <li> Xinhua News Agency (xin_arb)</li> </ul><p>The seven-character codes in the parantheses above consist of the three-character source name IDs and the three-character language code ("arb") separated by an underscore ("_") character.</p> <p>The epochs and document counts for the data in the third edition are set forth below: </p> <table> <tr><td colspan="4">Newly Added Data</td></tr> <tr> <td>Source</td> <td>Date Span</td> <td>Document Count</td> </tr> <tr> <td>Agence France Presse</td> <td>2005.01 - 2006.12</td> <td>137815</td> </tr> <tr> <td>Assabah News Agency</td> <td>2004.09 - 2006.12</td> <td>15410</td> <td>(new source)</td> </tr> <tr> <td>Al Hayat News Agency</td> <td>2005.01 - 2006.1</td> <td>8799</td> <td>(no data for 2004)</td> </tr> <tr> <td>An Nahar News Agency</td> <td>2005.01 - 2006.12</td> <td>104950</td> <td>(no data for 2004)</td> </tr> <tr> <td>Xinhua News Agency</td> <td>2005.01 - 2006.12</td> <td>135472</td> </tr> </table> <h4>Data</h4> <p>This release contains 547 files, totalling approximately 1.8GB in compressed form (6,673 MB uncompressed) and 1,994,735 K-words.</p> <p>The table below shows data quantity by source under the following categories: data source (Source); the number of files per source (#Files); compressed file size (Gzip-MB); uncompressed file size (Totl-MB); the number of space-separated words tokens in the text (K-words) and the number of documents per source (#DOCs).</p> <table> <tr><td colspan="6">Data Sources and Quanities</td></tr> <tr> <td>Source</td> <td>#Files</td> <td>Gzip-MB</td> <td>Totl-MB</td> <td>K-wrds</td> <td>#DOCs</td> </tr> <tr> <td>afp_arb</td> <td>152</td> <td>441</td> <td>1806</td> <td>147612</td> <td>798436</td> </tr> <tr> <td>asb_arb</td> <td>28</td> <td>23</td> <td>77</td> <td>6587</td> <td>15410</td> </tr> <tr> <td>hyt_arb</td> <td>142</td> <td>559</td> <td>1932</td> <td>171502</td> <td>378353</td> </tr> <tr> <td>nhr_arb</td> <td>134</td> <td>612</td> <td>2172</td> <td>193732</td> <td>449340</td> </tr> <tr> <td>umh_arb</td> <td>24</td> <td>4</td> <td>14</td> <td>1201</td> <td>4645</td> </tr> <tr> <td>xin_arb</td> <td>67</td> <td>171</td> <td>672</td> <td>56165</td> <td>348551</td> </tr> <tr> <td>TOTAL</td> <td>547</td> <td>1810</td> <td>6673</td> <td>576799</td> <td>1994735</td> </tr> </table><p>All text files in this corpus have been converted to UTF-8 character encoding. </p><p>Certain data and formatting issues observed in previous releases of Arabic Gigaword have been normalized in the third edition:</p> <ul> <li>Approximately 15,000 stories from older AFP files (1994 - 2002) contained very brief documents where the text content was not recognized as such; in those cases, the TEXT element appeared empty while the HEADLINE element contained anywhere from three to several lines of text. The content of these documents has been rearranged. The first line remains as the headline and the rest of the lines have been moved into the text segment. All stories of this sort had been originally classified as "other", and that classification has not been changed in this edition.</li> <li> Al Hayat data from 2002 and 2003 contained some Arabic-Indic digits, despite the intention to convert all digit strings to the ASCII digit characters for consistency. The digits have now been converted to the ASCII range. For more details about the encoding challenges presented by this data, see the readme file accompanying this corpus.</li> <li> Some Al Hayat data had stray angle-bracket characters (""), which have been rendered as "". There were also some defective "Doc-ID" strings (the 'id' attribute in the "" tag that begins each news story) in the January 2001 data.</li> <li> Some An Nahar data had "bare" ampersand characters ("&") which have been rendered as "&".</li> <li> Some Xinhua documents included empty sub-elements (HEADLINE, DATELINE and/or TEXT sections containing no data); when HEADLINE or DATELINE were empty, these tags were removed. When the TEXT segment was empty, the document as a whole was removed.</li> <li> In several Xinhua stories, the Doc-ID string, which is supposed to provide the year, month, date and sequence number for the story, had become garbled, yielding an incorrect or impossible date string. A separate data file in the "docs" directory, called "docid_changes.txt", lists the changes in document inventory and Doc-ID strings.</li> <li> Xinhua stories typically end with a formulaic Arabic string (meaning "end-of-story"), which should not have been included as part of the final paragraph in each story.</li> <li> In general, consistent line-wrapping was applied to make the overall text presentation consistent across all sources and with Gigaword releases in other languages. The markup pattern was also applied consistently for all sources without exception.</li> <h4>Samples</h4> <p>For an example of the data contained in this corpues, please view this <a href="./desc/addenda/LDC2007T40.jpg" rel="nofollow">image of sample text</a> </p> <h4>Sponsorship</h4> <p>This work was supported in part by the Defense Advanced Research Projects Agency, GALE Program Grant No. HR0011-06-1-0003. The content of this publication does not necessarily reflect the position or the policy of the Government, and no official endorsement should be inferred.</p>   </ul></br>
Portions © 1994-2006 Agence France Presse, © 2004-2006 Assabah, © 1994-2003, 2005-2006 Al Hayat, © 1995-2006 An Nahar, © 2003-2004 Ummah Press Service, © 2001-2006 Xinhua News Agency, © 2003, 2005-2007 Trustees of the University of Pennsylvania