Skip to content

Commit

Permalink
used streamlined conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkroorda committed May 2, 2023
1 parent 40a6e09 commit a83fa0b
Show file tree
Hide file tree
Showing 85 changed files with 3,422,852 additions and 978,354 deletions.
2 changes: 1 addition & 1 deletion app/__checkout__.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
v0.1
g8fd8ebb13153668f48ea5654272d4e4fc7f7c852
g40a6e09fad10613ebd6fd3a4c50d650cfeb78acf
5 changes: 4 additions & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from tf.advanced.app import App


KNOWN_RENDS = {'h6', 'h5', 'b', 'sub', 'super', 'small_caps', 'spaced', 'below', 'h2', 'h3', 'large', 'sup', 'above', 'h4', 'smallcaps', 'h1', 'spat', 'italic', 'margin', 'ul', 'bold', 'italics', 'sc', 'underline', 'center', 'i'}
KNOWN_RENDS = {'sc', 'i', 'sup', 'bold', 'spaced', 'h4', 'h2', 'h3', 'center', 'super', 'b', 'h5', 'above', 'underline', 'margin', 'h1', 'large', 'italics', 'h6', 'sub', 'smallcaps', 'italic', 'small_caps', 'ul', 'spat', 'below'}


def fmt_layout(app, n, **kwargs):
Expand All @@ -18,6 +18,7 @@ def __init__(app, *args, **kwargs):
)
app.isFeatures = tuple(f for f in app.api.Fall() if f.startswith("is_"))


def _wrapHtml(app, n):
rendFeatures = app.rendFeatures
isFeatures = app.isFeatures
Expand All @@ -34,3 +35,5 @@ def _wrapHtml(app, n):
if rClses or iClses:
material = f'<span class="{rClses} {iClses}">{material}</span>'
return material


Empty file added app/app_custom.py
Empty file.
36 changes: 0 additions & 36 deletions app/app_generated.py

This file was deleted.

8 changes: 3 additions & 5 deletions app/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@ interfaceDefaults:
provenanceSpec:
branch: main
corpus: '{org} - {repo}{relative}'
doi: 10.5281/zenodo.nnnnnn
doi: 10.5281/zenodo.notyet
moduleSpecs: []
version: '0.1'
version: '0.2'
webBase: https://public.{org}.org/{repo}
webHint: Show this on the website
webLang: en
webUrl: '{webBase}/<1>/<2>/<3>&version={version}'
webUrlLex: '{webBase}/word?version={version}&id=<lid>'
typeDisplay:
word:
base: true
typeDisplay: {}
writing: ''
3 changes: 3 additions & 0 deletions app/config_custom.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
provenanceSpec:
branch: main
writing: ''
34 changes: 0 additions & 34 deletions app/config_generated.yaml

This file was deleted.

3 changes: 3 additions & 0 deletions app/static/display.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,6 @@ text-decoration: underline;
font-size: small;
color: #dd0055;
}



File renamed without changes.
Binary file removed app/static/logo_generated.png
Binary file not shown.
50 changes: 34 additions & 16 deletions docs/about.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,50 @@
# Description

# Corpus annotation - mobydick
This is the novel
[Moby Dick](https://en.wikipedia.org/wiki/Moby-Dick)
written by
[Herman Melville, 1819-1891](https://en.wikipedia.org/wiki/Herman_Melville)
in 1851.

## author
# Source

Herman Melville
Cite the source as
[Melville, Herman, 1819-1891, Moby Dick, Oxford Text Archive](http://hdl.handle.net/20.500.12024/3049.).

The url of this link is a persistent (handle) identifier.

## title
# Copyright

Moby Dick
Distributed by the University of Oxford under a
[Creative Commons Attribution-ShareAlike 3.0 Unported License](https://creativecommons.org/licenses/by-sa/3.0/).


## institute

Oxford Text Archive


## language
# Corpus annotation - mobydick

en
## author

Herman Melville

## dateWritten

1851
## title

Moby Dick

## source

DBNL
## dateWritten

1851

## sourceUrl

https://ota.bodleian.ox.ac.uk/repository/xmlui/handle/20.500.12024/3049
## language

en


## converters
## converter

Dirk Roorda (Text-Fabric)

Expand All @@ -51,6 +59,16 @@ TEI
Originally transcribed and deposited by Prof. Eugene F. Irey, University of Colorado


## institute

Oxford Text Archive


## sourceUrl

https://ota.bodleian.ox.ac.uk/repository/xmlui/handle/20.500.12024/3049


## license

CC-BY-SA 3.0
Expand Down
19 changes: 19 additions & 0 deletions docs/about_custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Description

This is the novel
[Moby Dick](https://en.wikipedia.org/wiki/Moby-Dick)
written by
[Herman Melville, 1819-1891](https://en.wikipedia.org/wiki/Herman_Melville)
in 1851.

# Source

Cite the source as
[Melville, Herman, 1819-1891, Moby Dick, Oxford Text Archive](http://hdl.handle.net/20.500.12024/3049.).

The url of this link is a persistent (handle) identifier.

# Copyright

Distributed by the University of Oxford under a
[Creative Commons Attribution-ShareAlike 3.0 Unported License](https://creativecommons.org/licenses/by-sa/3.0/).
70 changes: 0 additions & 70 deletions docs/about_generated.md

This file was deleted.

Loading

0 comments on commit a83fa0b

Please sign in to comment.