|Table of Contents|
Other EF Information
The HTRC Extracted Features (EF) dataset contains informative characteristics, at the page level, of text from public domain volumes in releases research datasets to facilitate text analysis using the HathiTrust Digital LIbrary Library (HTDL). These are slightly more than 5 million volumes, representing about 38% of the total digital content of the HTDL.
Texts from the HTDL corpus that are not in the public domain While copyright-protected texts are not available for download , which limits the usefulness of the corpus for research. However, a great deal of fruitful research, especially in the form of text mining, can from the HathiTrust, fruitful research can still be performed on the basis of non-consumptive reading using extracted features (features analysis of features extracted from the text) even when the full text is not available. To this end, the HathiTrust Research Center (HTRC) has started making makes available a set of page-level features extracted from volumes in the HTDL's public domain volumes. These extracted features can be the basis for certain kinds of algorithmic analysis. For example, since topic modeling algorithms work with "bags of words" (sets of tokens), and since tokens and their frequencies are now being provided as extracted features, the EF dataset can enable a user to perform topic modeling with the data.
Worksets and the Extracted Features (EF) DatasetCurrently, the extracted features dataset is being provided in connection with worksets. (If you are not familiar with HathiTrust worksets, you may want to review the HTRC Workset Builder tutorial.)
Content of an EF Dataset
An EF data file for a volume consists of features include volume-level metadata, and of the extracted feature data for each page in the volume, in JSON format. The volume-level metadata consists of both volume metadata ( metadata about the volume) and extracted features metadata (metadata about the extracted features).
- schemaVersion: A version identifier for the format and structure of this metadata object.
- dateCreated: The time this metadata object was processed.
- title: Title of the given volume.
- pubDate: The publication year.
- language: Primary language of the given volume.
- htBibUrl: HT Bibliographic API call for the volume.
- handleUrl: The persistent identifier for the volume
- oclc: The array of OCLC number(s).
- imprint: The publication place, publisher, and publication date of the given volume.
Extracted Features Metadata
,each representing a page of the volume.
Extracted Features Data
The extracted features that HTRC currently provides include part-of-speech (POS) -tagged tokens, and token counts, header and footer identification, and various information at the line level. Each page is broken up into three page sections: header, body, and footer.
For each page, the following are provided:
- seq: A sequence number (pertaining to the page’s position)
- tokenCount: Number of tokens in the page.
- lineCount: Number of non-empty lines in the page.
- emptyLineCount: Number of empty lines in the page.
- sentenceCount: Number of sentences identified in page (using the open-source OpenNLP software).
- languages: List of languages and their respective percentages that were identified on this page.
The corresponding fields for any page section (header, body, or footer) have the same names, but are for that specific page section:
- tokenCount: Number of tokens in that page section.
- lineCount: Number of lines containing characters of any kind in that page section.
- emptyLineCount: Number of lines without text in that page section.
- sentenceCount: Number of sentences found in the text in that page section, parsed using OpenNLP.
- tokenPosCount: An unordered list of all tokens (characterized by part of speech using OpenNLP), and their corresponding frequency counts, in that page section.
- beginLineChars: Count of the initial character of each line in that page section (ignoring whitespace).
- endLineChars: Count of the last character on each line in that page section (ignoring whitespace).
- capAlphaSeq: (body only) Maximum length of the alphabetical sequence of capital characters starting a line.
- Correction of hyphenation of tokens at ends of lines has been carried out, but no additional data cleaning or OCR correction has been performed.
- Token information has been provided at the page level because this makes it possible to separate paratext from text — e.g. identify pages of publishers’ ads at the back of a book.
|title||Example EF data for basic features for a single page|
. Additionally, the HTRC has partnered with advanced researchers to release a derived dataset, Word Frequencies in English-Language Literature, 1700-1922.
Extracted Features Dataset [v.1.0]
Extracted Features Dataset [v.0.2]
NOTE: this dataset has been superseded by Extracted Features Dataset [v.1.0], above.
Word Frequencies in English-Language Literature, 1700-1922 [v.0.2]