The names of columns or dictionary keys are sometimes inconsistent or redundant. Below I listed these cases for the output format of the different API calls:
API call /corpora/{corpusname}
In 'dramas':
Redundancies
- yearPrinted == printYear
- yearWritten == writtenYear
- yearPremiered == premiereYear
--> In play/{playname}: yearWritten, yearPremiered, yearPrinted, yearNormalized
- all information in 'author' are also in 'authors' - no deprecation warning as for
/play/{playname}
Capitalization
- 'wikidataID' but 'fullname' and 'shortname' (in 'authors')
Needs clarification
- difference between 'name' and 'fullname' is only the format - not obvious
API call /corpora/{corpusname}/metadata
Redundancies
Abbreviations
- Publisher vs. Pub (Publication)?
- originalSourcePublisher BUT originalSourcePubPlace
- Speaker vs. Sp
- numOfSpeakers BUT wordCountSp
- Acts vs. L (ines) and P (aragraphs):
- numOfActs BUT numOfP and numOfL
- num (in networkdata) vs. number (in metadata)
- numPersonGroups BUT originalSourceNumberOfPages
- average vs. max
- averageDegree BUT maxdegree
Patterns
- numOf vs. num
- numEdges
- numConnectedComponents
- numOfPersonGroups
- numOfSpeakers
- adjective or noun first
- normalizedGenre vs. yearNormalized
API call /corpora/{corpusname}/metadata/csv
Difference to JSON
- numPersonGroups (csv) BUT numOfPersonGroups (json)
Otherwise in csv output same problems as for names in JSON
API call /corpora/{corpusname}/play/{playname}
Difference to corpus metadata
- genre BUT normalizedGenre
The names of columns or dictionary keys are sometimes inconsistent or redundant. Below I listed these cases for the output format of the different API calls:
API call /corpora/{corpusname}
In 'dramas':
Redundancies
--> In
play/{playname}: yearWritten, yearPremiered, yearPrinted, yearNormalized/play/{playname}Capitalization
Needs clarification
API call
/corpora/{corpusname}/metadataRedundancies
Abbreviations
Patterns
API call
/corpora/{corpusname}/metadata/csvDifference to JSON
Otherwise in csv output same problems as for names in JSON
API call
/corpora/{corpusname}/play/{playname}Difference to corpus metadata