concrete.nitf package¶
-
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
Attributes:- alternateURL: This field specifies the URL of the article, if published online. In somecases, such as with the New York Times, when this field is present,the URL is preferred to the URL field on articles published onor after April 02, 2006, as the linked page will have richer content.- articleAbstract: This field is a summary of the article, possibly written byan indexing service.- authorBiography: This field specifies the biography of the author of the article.Generally, this field is specified for guest authors, and not forregular reporters, except to provide the author’s email address.- banner: The banner field is used to indicate if there has been additionalinformation appended to the articles since its publication. Examples ofbanners include (‘Correction Appended’ and ‘Editor’s Note Appended’).- biographicalCategoryList: When present, the biographical category field generally indicates that adocument focuses on a particular individual. The value of the fieldindicates 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 nameof 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 printpaper. A typical printed page in the paper has six columns numbered fromright to left. As a consequence most, but not all, of the values for thisfield fall in the range 1-6.- correctionDate: This field specifies the date on which a correction was made to thearticle. Generally, if the correction date is specified, the correctiontext will also be specified (and vice versa).- correctionText: For articles corrected following publication, this field specifies thecorrection. Generally, if the correction text is specified, thecorrection date will also be specified (and vice versa).- credit: This field indicates the entity that produced the editorial content ofthis 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 "descriptors" field specifies a list of descriptive terms drawn froma normalized controlled vocabulary corresponding to subjects mentioned inthe 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 "general online descriptors" field specifies a list of descriptorsthat are at a higher level of generality than the other tags associatedwith 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 forevery document in the corpus.- kicker: The kicker is an additional piece of information printed as anaccompaniment to a news headline.- leadParagraphList: The "lead Paragraph" field is the lead paragraph of the article.Generally this field is populated with the first two paragraphs from thearticle.- locationList: The "locations" field specifies a list of geographic descriptors drawnfrom a normalized controlled vocabulary that correspond to placesmentioned in the article.<br>Examples Include:<ol><li>Wellsboro (Pa)</li><li>Kansas City (Kan)</li><li>Park Slope (NYC)</li></ol>- nameList: The "names" 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 thatproduced the article. The desk is related to, but is not the same as thesection in which the article appears.- normalizedByline: The Normalized Byline field is the byline normalized to the form (lastname, first name).- onlineDescriptorList: This field specifies a list of descriptors from a normalized controlledvocabulary 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 articleonline. 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 geographiclocations 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 toorganizations 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 individualsmentioned 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 articleis 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 normalizedcontrolled vocabulary that correspond to organizations mentioned in thearticle.<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 thearticle appears. This is not an absolute pagination. An article thatappears on page 3 in section A occurs in the physical paper before anarticle that occurs on page 1 of section F. The section is encoded inthe <strong>section</strong> field.- peopleList: This field specifies a list of people from a normalized controlledvocabulary 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 waspublished, always in the range 1-31.- publicationMonth: This field specifies the month on which the article was published in therange 1-12 where 1 is January 2 is February etc.- publicationYear: This field specifies the year in which the article was published. Thisvalue is in the range 1987-2007 for this collection.- section: This field specifies the section of the paper in which the articleappears. This is not the name of the section, but rather a letter ornumber that indicates the section.- seriesName: If the article is part of a regular series, this field specifies the nameof that column.- slug: The slug is a short string that uniquely identifies an article from allother articles published on the same day. Please note, however, thatdifferent 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 thisarticle into a hierarchy of articles. The individual terms of eachtaxonomic classifier are separated with the ‘/’ character.<br>Examples Include:<ol><li>Top/Features/Travel/Guides/Destinations/North America/UnitedStates/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 worksmentioned 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 generaleditorial 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"Alternative Url" field is preferred to this field on articles publishedon 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)¶
-
validate
()¶
-
write
(oprot)¶
-