This repository contains the source texts used in CLiC web application.
The sources of the English texts are the Gutenberg plain text UTF-8 files. We save the initial, unchanged versions, as downloaded from gutenberg.org in a folder for the relevant corpus.
This process has been followed for the two most recent CLiC corpora, ChiLit and Arts. The initial files are available from previous commits to this repository:
- initial versions of ChiLit files added 2017-09-10
- initial versions of ArTs files added 2017-10-26 (this corpus was originally called "Other")
- initial versions of ArTs files added 2019-01-16 (as part of the ArTs expansion)
Also note that the initial file for gulliver is found in the initial downloads for ChiLit above; the book was later moved to the ArTs corpus.
The texts of the German “Deutsche Romane des 19. Jahrhunderts” (DE19) corpus originate from the ELTeC-deu collection. After a selection process aimed at ensuring that DE19 is comparable to the English 19C corpus in terms of size and gender balance, we converted the ELTeC XML files into plain text files, retaining chapter boundaries. Unlike the English corpora, in German texts, chapter titles are preceded by ###, with a corresponding chapter segmentation rule added to clictagger to avoid making the tagger too language-specific.
Within each corpus directory, there is a corpus.bib file describing metadata about the file.
The important fields in the bib entries are:
-
The
shorttitlefield must match the filename of the relevant text file in the corpus folder. -
The
keywordsfield must contain the name of the corpus. -
The
title,authoranddatefields must be present. -
The
editorfield is optional and refers to the people or group of people who transcribed/edited the text for publication on gutenberg.org. We add this manually based on any information in the initial text file from Project Gutenberg (not all text files contain this).
Example entry:
@book{grahame_wind_1908,
title = {The Wind in the Willows},
url = {https://www.gutenberg.org/ebooks/289},
shorttitle = {willows}, <<=== filename willows.txt
author = {Grahame, Kenneth},
editor = {Lough, Mike},
urldate = {2017-06-28},
date = {1908},
keywords = {{ChiLit}} <<=== corpus id
}
If you are adding a new corpus, you will also have to create a @book
entry for the corpus in corpora.bib.
The important fields in the bib entries are:
-
The
shorttitlefield must match the corpus id used in bookkeywords -
The
titlefield must be present. -
The
numberfield must be present, and is used to order the corpora in CLiC. -
The
keywordfield must contain the keywordcorpus.
Example entry:
@book{cermakova_childrens_2017,
location = {University of Birmingham, {UK}},
title = {Children's Literature},
series = {{CCR} Corpus},
shorttitle = {{ChiLit}},
number = {3},
publisher = {Centre for Corpus Research},
author = {Čermáková, A. and Mahlberg, M. and Wiegand, V.},
date = {2017},
keywords = {corpus}
}
-
Texts should be prepared according to the notes in the clictagger documentation.
-
Add entry to the relevant
corpus.bibfile; see Section 3.1.
-
Add a new folder to the corpus repository.
-
Add an entry to the
corpora.bibfile for the corpus; see Section 3.1. -
Then add each text as above.
Once finished, open a pull request on GitHub to merge your work.
A preview will be generated showing the tagging for all changed files.