Letters of Descartes in Text-Fabric with math display.
In this repository we prepare the letters of Descartes for the application of data science.
The source files are provided by the Huygens Institute, as the result of the CKCC project which was completed in 2011.
From there we converted it to a Text-Fabric representation.
The result can be readily loaded into Python programs for further processing.
See about for the provenance of the data.
See transcription for how the resulting data is modelled.
-
if you do not have Python installed, install it.
-
if you do not have Text-Fabric installed, install it by opening a terminal/command line and saying:
pip install 'text-fabric[all]'
or, if you have it already, check whether an upgrade is available:
pip install --upgrade 'text-fabric[all]'
-
Start the Text-Fabric browser, from the command line:
text-fabric CLARIAH/descartes-tf
This will fetch the corpus and open a browser window where you can leaf through the texts and make queries. Corpus information and Help are provided in the left side bar.
-
Alternatively, you can work in a Jupyter notebook:
pip install jupyterlab
jupyter lab
and inside the notebook, in a code cell, run
from tf.app import use A = use('CLARIAH/descartes-tei')
which will also download the corpus.
In both cases, the corpus ends up in your home directory,
under text-fabric-data
.
See about for the authors/editors of the data.
Dirk Roorda is the author of the representation in Text-Fabric of the data, and the tutorials and documentation.