concrete.nitf.ttypes module

class concrete.nitf.ttypes.NITFInfo(alternateURL=None, articleAbstract=None, authorBiography=None, banner=None, biographicalCategoryList=None, columnName=None, columnNumber=None, correctionDate=None, correctionText=None, credit=None, dayOfWeek=None, descriptorList=None, featurePage=None, generalOnlineDescriptorList=None, guid=None, kicker=None, leadParagraphList=None, locationList=None, nameList=None, newsDesk=None, normalizedByline=None, onlineDescriptorList=None, onlineHeadline=None, onlineLeadParagraph=None, onlineLocationList=None, onlineOrganizationList=None, onlinePeople=None, onlineSectionList=None, onlineTitleList=None, organizationList=None, page=None, peopleList=None, publicationDate=None, publicationDayOfMonth=None, publicationMonth=None, publicationYear=None, section=None, seriesName=None, slug=None, taxonomicClassifierList=None, titleList=None, typesOfMaterialList=None, url=None, wordCount=None)

Bases: object

- alternateURL

This field specifies the URL of the article, if published online. In some

cases, such as with the New York Times, when this field is present, the URL is preferred to the URL field on articles published on or after April 02, 2006, as the linked page will have richer content.

  • articleAbstract: This field is a summary of the article, possibly written by
an indexing service.
  • authorBiography: This field specifies the biography of the author of the article.

Generally, this field is specified for guest authors, and not for regular reporters, except to provide the author’s email address.

  • banner: The banner field is used to indicate if there has been additional

information appended to the articles since its publication. Examples of banners include (‘Correction Appended’ and ‘Editor’s Note Appended’).

  • biographicalCategoryList: When present, the biographical category field generally indicates that a

document focuses on a particular individual. The value of the field indicates the area or category in which this individual is best known. This field is most often defined for Obituaries and Book Reviews.

<ol> <li>Politics and Government (U.S.)</li> <li>Books and Magazines <li>Royalty</li> </ol>

  • columnName: If the article is part of a regular column, this field specifies the name

of that column. <br> Sample Column Names: <br> <ol> <li>World News Briefs</li> <li>WEDDINGS</li> <li>The Accessories Channel</li> </ol>

  • columnNumber: This field specifies the column in which the article starts in the print

paper. A typical printed page in the paper has six columns numbered from right to left. As a consequence most, but not all, of the values for this field fall in the range 1-6.

  • correctionDate: This field specifies the date on which a correction was made to the

article. Generally, if the correction date is specified, the correction text will also be specified (and vice versa).

  • correctionText: For articles corrected following publication, this field specifies the

correction. Generally, if the correction text is specified, the correction date will also be specified (and vice versa).

  • credit: This field indicates the entity that produced the editorial content of
this document.
  • dayOfWeek: This field specifies the day of week on which the article was published.

<ul> <li>Monday</li> <li>Tuesday</li> <li>Wednesday</li> <li>Thursday</li> <li>Friday</li> <li>Saturday</li> <li>Sunday</li> </ul>

  • descriptorList: The &quot;descriptors&quot; field specifies a list of descriptive terms drawn from

a normalized controlled vocabulary corresponding to subjects mentioned in the article. <br> Examples Include: <ol> <li>ECONOMIC CONDITIONS AND TRENDS</li> <li>AIRPLANES</li> <li>VIOLINS</li> </ol>

  • featurePage: The feature page containing this article, such as

<ul> <li>Education Page</li> <li>Fashion Page</li> </ul>

  • generalOnlineDescriptorList: The &quot;general online descriptors&quot; field specifies a list of descriptors

that are at a higher level of generality than the other tags associated with the article. <br> Examples Include: <ol> <li>Surfing</li> <li>Venice Biennale</li> <li>Ranches</li> </ol>

  • guid: The GUID field specifies an integer that is guaranteed to be unique for
every document in the corpus.
  • kicker: The kicker is an additional piece of information printed as an
accompaniment to a news headline.
  • leadParagraphList: The &quot;lead Paragraph&quot; field is the lead paragraph of the article.

Generally this field is populated with the first two paragraphs from the article.

  • locationList: The &quot;locations&quot; field specifies a list of geographic descriptors drawn

from a normalized controlled vocabulary that correspond to places mentioned in the article. <br> Examples Include: <ol> <li>Wellsboro (Pa)</li> <li>Kansas City (Kan)</li> <li>Park Slope (NYC)</li> </ol>

  • nameList: The &quot;names&quot; field specifies a list of names mentioned in the article.

<br> Examples Include: <ol> <li>Azza Fahmy</li> <li>George C. Izenour</li> <li>Chris Schenkel</li> </ol>

  • newsDesk: This field specifies the desk in the newsroom that

produced the article. The desk is related to, but is not the same as the section in which the article appears.

  • normalizedByline: The Normalized Byline field is the byline normalized to the form (last
name, first name).
  • onlineDescriptorList: This field specifies a list of descriptors from a normalized controlled

vocabulary that correspond to topics mentioned in the article. <br> Examples Include: <ol> <li>Marriages</li> <li>Parks and Other Recreation Areas</li> <li>Cooking and Cookbooks</li> </ol>

  • onlineHeadline: This field specifies the headline displayed with the article
online. Often this differs from the headline used in print.
  • onlineLeadParagraph: This field specifies the lead paragraph for the online version.
  • onlineLocationList: This field specifies a list of place names that correspond to geographic

locations mentioned in the article. <br> Examples Include: <ol> <li>Hollywood</li> <li>Los Angeles</li> <li>Arcadia</li> </ol>

  • onlineOrganizationList: This field specifies a list of organizations that correspond to

organizations mentioned in the article. <br> Examples Include: <ol> <li>Nintendo Company Limited</li> <li>Yeshiva University</li> <li>Rose Center</li> </ol>

  • onlinePeople: This field specifies a list of people that correspond to individuals

mentioned in the article. <br> Examples Include: <ol> <li>Lopez, Jennifer</li> <li>Joyce, James</li> <li>Robinson, Jackie</li> </ol>

  • onlineSectionList: This field specifies the section(s) in which the online version of the article
is placed. This may typically be populated from a semicolon (;) delineated list.
  • onlineTitleList: This field specifies a list of authored works mentioned in the article.

<br> Examples Include: <ol> <li>Matchstick Men (Movie)</li> <li>Blades of Glory (Movie)</li> <li>Bridge and Tunnel (Play)</li> </ol>

  • organizationList: This field specifies a list of organization names drawn from a normalized

controlled vocabulary that correspond to organizations mentioned in the article. <br> Examples Include: <ol> <li>Circuit City Stores Inc</li> <li>Delaware County Community College (Pa)</li> <li>CONNECTICUT GRAND OPERA</li> </ol>

  • page: This field specifies the page of the section in the paper in which the

article appears. This is not an absolute pagination. An article that appears on page 3 in section A occurs in the physical paper before an article that occurs on page 1 of section F. The section is encoded in the <strong>section</strong> field.

  • peopleList: This field specifies a list of people from a normalized controlled

vocabulary that correspond to individuals mentioned in the article. <br> Examples Include: <ol> <li>REAGAN, RONALD WILSON (PRES)</li> <li>BEGIN, MENACHEM (PRIME MIN)</li> <li>COLLINS, GLENN</li> </ol>

  • publicationDate: This field specifies the date of the article’s publication.
  • publicationDayOfMonth: This field specifies the day of the month on which the article was
published, always in the range 1-31.
  • publicationMonth: This field specifies the month on which the article was published in the
range 1-12 where 1 is January 2 is February etc.
  • publicationYear: This field specifies the year in which the article was published. This
value is in the range 1987-2007 for this collection.
  • section: This field specifies the section of the paper in which the article

appears. This is not the name of the section, but rather a letter or number that indicates the section.

  • seriesName: If the article is part of a regular series, this field specifies the name
of that column.
  • slug: The slug is a short string that uniquely identifies an article from all

other articles published on the same day. Please note, however, that different articles on different days may have the same slug. <ul> <li>30other</li> <li>12reunion</li> </ul>

  • taxonomicClassifierList: This field specifies a list of taxonomic classifiers that place this

article into a hierarchy of articles. The individual terms of each taxonomic classifier are separated with the ‘/’ character. <br> Examples Include: <ol> <li>Top/Features/Travel/Guides/Destinations/North America/United States/Arizona</li> <li>Top/News/U.S./Rockies</li> <li>Top/Opinion</li> </ol>

  • titleList: This field specifies a list of authored works that correspond to works

mentioned in the article. <br> Examples Include: <ol> <li>Greystoke: The Legend of Tarzan, Lord of the Apes (Movie)</li> <li>Law and Order (TV Program)</li> <li>BATTLEFIELD EARTH (BOOK)</li> </ol>

  • typesOfMaterialList: This field specifies a normalized list of terms describing the general

editorial category of the article. <br> Examples Include: <ol> <li>REVIEW</li> <li>OBITUARY</li> <li>ANALYSIS</li> </ol>

  • url: This field specifies the location of the online version of the article. The

&quot;Alternative Url&quot; field is preferred to this field on articles published on or after April 02, 2006, as the linked page will have richer content.

  • wordCount: This field specifies the number of words in the body of the article,

including the lead paragraph.

read(iprot)
thrift_spec = (None, (1, 11, 'alternateURL', 'UTF8', None), (2, 11, 'articleAbstract', 'UTF8', None), (3, 11, 'authorBiography', 'UTF8', None), (4, 11, 'banner', 'UTF8', None), (5, 15, 'biographicalCategoryList', (11, 'UTF8', False), None), (6, 11, 'columnName', 'UTF8', None), (7, 8, 'columnNumber', None, None), (8, 10, 'correctionDate', None, None), (9, 11, 'correctionText', 'UTF8', None), (10, 11, 'credit', 'UTF8', None), (11, 11, 'dayOfWeek', 'UTF8', None), (12, 15, 'descriptorList', (11, 'UTF8', False), None), (13, 11, 'featurePage', 'UTF8', None), (14, 15, 'generalOnlineDescriptorList', (11, 'UTF8', False), None), (15, 8, 'guid', None, None), (16, 11, 'kicker', 'UTF8', None), (17, 15, 'leadParagraphList', (11, 'UTF8', False), None), (18, 15, 'locationList', (11, 'UTF8', False), None), (19, 15, 'nameList', (11, 'UTF8', False), None), (20, 11, 'newsDesk', 'UTF8', None), (21, 11, 'normalizedByline', 'UTF8', None), (22, 15, 'onlineDescriptorList', (11, 'UTF8', False), None), (23, 11, 'onlineHeadline', 'UTF8', None), (24, 11, 'onlineLeadParagraph', 'UTF8', None), (25, 15, 'onlineLocationList', (11, 'UTF8', False), None), (26, 15, 'onlineOrganizationList', (11, 'UTF8', False), None), (27, 15, 'onlinePeople', (11, 'UTF8', False), None), (28, 15, 'onlineSectionList', (11, 'UTF8', False), None), (29, 15, 'onlineTitleList', (11, 'UTF8', False), None), (30, 15, 'organizationList', (11, 'UTF8', False), None), (31, 8, 'page', None, None), (32, 15, 'peopleList', (11, 'UTF8', False), None), (33, 10, 'publicationDate', None, None), (34, 8, 'publicationDayOfMonth', None, None), (35, 8, 'publicationMonth', None, None), (36, 8, 'publicationYear', None, None), (37, 11, 'section', 'UTF8', None), (38, 11, 'seriesName', 'UTF8', None), (39, 11, 'slug', 'UTF8', None), (40, 15, 'taxonomicClassifierList', (11, 'UTF8', False), None), (41, 15, 'titleList', (11, 'UTF8', False), None), (42, 15, 'typesOfMaterialList', (11, 'UTF8', False), None), (43, 11, 'url', 'UTF8', None), (44, 8, 'wordCount', None, None))
validate()
write(oprot)