-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fully functional; docs and tutorials may be expanded; not yet archive…
…d in zenodo and swh
- Loading branch information
1 parent
6549d3a
commit 4226952
Showing
65 changed files
with
82,255 additions
and
54,620 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,64 @@ | ||
# descartes-tf | ||
|
||
Letters of Descartes in Text-Fabric with math display. | ||
[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip) | ||
|
||
![descartes](docs/images/logo.png) | ||
|
||
# René Descartes - Brieven | ||
|
||
In this repository we prepare the letters of | ||
[Descartes](https://en.wikipedia.org/wiki/René_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 2012. | ||
|
||
From there we converted it to a | ||
[Text-Fabric](https://github.com/annotation/text-fabric) | ||
representation. | ||
|
||
The result can be readily loaded into Python programs for further processing. | ||
|
||
See [about](about.md) for the provenance of the data. | ||
|
||
See [transcription](transcription.md) for how the resulting data is modelled. | ||
|
||
## How to use | ||
|
||
### Having Text-Fabric installed | ||
|
||
This data can be processed by | ||
[Text-Fabric](https://annotation.github.io/text-fabric/tf). | ||
|
||
Text-Fabric will automatically download the corpus data. | ||
|
||
After [installing Text-Fabric](https://annotation.github.io/text-fabric/tf/about/install.html), | ||
you can start the Text-Fabric browser by this command | ||
|
||
```sh | ||
text-fabric CLARIAH/descartes-tei | ||
``` | ||
|
||
Alternatively, you can work in a Jupyter notebook and say | ||
|
||
```python | ||
from tf.app import use | ||
|
||
A = use('CLARIAH/descartes-tei') | ||
``` | ||
|
||
In both cases the data is downloaded and ends up in your home directory, | ||
under `text-fabric-data`. | ||
|
||
See also | ||
[start](https://nbviewer.jupyter.org/github/CLARIAH/descartes-tei/blob/master/tutorial/start.ipynb) | ||
and | ||
[search](https://nbviewer.jupyter.org/github/CLARIAH/descartes-tei/blob/master/tutorial/search.ipynb). | ||
|
||
# Author | ||
|
||
See [about](about.md) for the authors/editors of the data. | ||
|
||
[Dirk Roorda](https://github.com/dirkroorda) is the author of the representation in Text-Fabric of the data, | ||
and the tutorials and documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,46 @@ | ||
apiVersion: 3 | ||
dataDisplay: | ||
exampleSectionHtml: <code>letter 1:1001</code> | ||
textFormats: | ||
layout-orig-full: | ||
method: layoutOrig | ||
docs: | ||
docPage: about | ||
featureBase: 'https://github.com/{org}/{repo}/blob/master/docs/transcription{docExt}' | ||
featurePage: '' | ||
interfaceDefaults: | ||
showGraphics: true | ||
showMath: true | ||
standardFeatures: false | ||
withLabels: true | ||
provenanceSpec: | ||
corpus: Descartes = Descartes, all letters | ||
graphicsRelative: source/illustrations | ||
version: 0.9 | ||
version: 1.0 | ||
webBase: http://emlo-portal.bodleian.ox.ac.uk/collections/?catalogue=rene-descartes | ||
webHint: See how this corpus is included in the Bodleian catalog | ||
moduleSpecs: | ||
- corpus: Similar Sentences | ||
relative: parallels/tf | ||
typeDisplay: | ||
volume: | ||
featuresBare: n | ||
label: '{n}' | ||
template: 'vol. {n}' | ||
page: | ||
label: '{n}' | ||
template: 'p. {n}' | ||
letter: | ||
featuresBare: id | ||
label: '{id} {date} from {sender} to {recipient}' | ||
template: '{id} {date} from {sender} to {recipient}' | ||
features: senderloc recipientloc | ||
p: | ||
featuresBare: n | ||
label: '{n}' | ||
sentence: | ||
label: '{n}' | ||
condense: true | ||
figure: | ||
label: '{url}' | ||
graphics: true | ||
formula: | ||
label: '{notation}' | ||
features: tex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.italic { | ||
font-style: italic; | ||
} | ||
.margin { | ||
position: relative; | ||
top: -0.3em; | ||
font-weight: bold; | ||
color: #0000ee; | ||
} | ||
.sub { | ||
vertical-align: sub; | ||
font-size: small; | ||
} | ||
.sup { | ||
vertical-align: super; | ||
font-size: small; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.