Skip to content

Commit

Permalink
Deploying to gh-pages from @ 3c53541 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
tboenig committed Mar 14, 2024
1 parent fa31ee8 commit c6ebfb7
Show file tree
Hide file tree
Showing 8 changed files with 10,607 additions and 10,168 deletions.
1 change: 1 addition & 0 deletions download.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/schwab_sagen03_1840.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/schweiger_armenien_1878.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/schwenter_deliciae_1636.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/seyfried_medulla_1679.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/sturm_kunst_1670.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/simmel_geld_1900.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/strauss_jesus01_1835.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/schwab_sagen02_1839.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stieler_venus_1660.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spener_friede_1686.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/sperander_negotiant_1706.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/siegemund_unterricht_1690.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/siever_briefe_1796.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/schwappach_forstpolitik_1894.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/steinen_naturvoelker_1894.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spielhagen_problematische02_1861.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spyri_heidi_1880.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stein_handbuch_1870.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/siemens_abhandlungen_1881.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spalding_bestimmung_1749.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stolbergstolberg_gedichte_1779.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spener_bedencken01_1700.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/storm_gedichte_1852.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/sprengel_blumen_1793.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stieber_magni_1716.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stifter_nachsommer01_1857.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/steinthal_grammatik_1855.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/schwenckfeld_hirschberischen_1619.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spindler_jugendfruechte_1745.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/silesius_hirten04_1657.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/semmelweis_kindbettfieber_1861.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stein_verwaltungslehre02_1866.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stifter_steine01_1853.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/silesius_schlussrime_1657.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/strouhal_tonerregung_1878.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stieve_hoffceremoniel_1715.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stock_gesellenwesen_1844.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/swedenborg_schriften01_1776.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spener_piadesideria_1676.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stein_verwaltungslehre01_1865.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/storm_aquis_1877.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/siemens_telegraphie_1866.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stifter_nachsommer02_1857.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/storch_petersburg01_1794.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spielhagen_problematische03_1861.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/schweiger_cyklopen_1900.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/storch_petersburg02_1794.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/sturm_civilbaukunst_1699.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/storm_schimmelreiter_1888.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spielhagen_problematische01_1861.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spener_bedencken03_1702.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/siebold_suesswasserfische_1863.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spener_natur_1687.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spee_cautio_1647.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spener_bedencken04_1702.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/schwann_mikroskopische_1839.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/seckendorff_fuerstenstaat_1656.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stirner_einzige_1845.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spener_bedencken02_1701.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stifter_nachsommer03_1857.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/silesius_seelenlust01_1657.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/silberer_traber_1883.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/seume_syrakus_1803.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/seip_gesundbrunnen_1717.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stifter_steine02_1853.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/storm_immensee_1852.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/sulzer_theorie02_1774.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/stein_verwaltungslehre07_1868.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/suessmilch_ordnung_1741.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/sulzer_theorie01_1771.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/simmel_differenzierung_1890.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/strauss_jesus02_1836.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/soemmerring_telegraphen_1811.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/scriver_schaefflein_1672.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/siegmeyer_tonsetzkunst_1822.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/suppius_oden_1749.ocrd.ziphttps://github.com/tboenig/gt_structure_5_1/releases/download/v1.1.2/spielhagen_problematische04_1861.ocrd.zip
16 changes: 16 additions & 0 deletions lang.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function changeLanguage() {
var links = document.getElementsByTagName('a');
for (let i = 0; i < links.length; i++) {
if (links[i].href.includes('/en/')) {
links[i].href = links[i].href.replace('/en/', '/de/');
} else {
links[i].href = links[i].href.replace('/de/', '/en/');
}
}
var currentlanguage = getComputedStyle(document.body).getPropertyValue("--language")
if (currentlanguage == 'data-en') {
document.documentElement.style.setProperty('--language', 'data-de')
} else {
document.documentElement.style.setProperty('--language', 'data-en')
}
}
295 changes: 295 additions & 0 deletions levelparser.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,295 @@
@font-face {
font-family: JuniusVF;
src: url('https://psb1558.github.io/Junicode-font/webfiles/JuniusVF.woff2');


font-weight: 300 700;
font-stretch: 60% 100%;
font-style: normal;
}

button.bilanguage {
background-color: #c8ab37;
border: none;
border-radius: 6px;
color: white;
padding: 5px 10px;
display: block;
font-size: 16px;
margin-left: auto;
margin-right: 0;
cursor: pointer;
float: none;
}

:root {
--language: data-en;
}
.bilanguage::after {
content: attr(var(--language));
}

.tooltip {
position: relative;
display: inline-block;
}

.level {
visibility: hidden;
}

body {
-webkit-font-smoothing: antialiased;
font-family: Bitter, 'Noto Serif', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif, JuniusVF;
font-size: 14px;
color: #232323;
background-color: #FBFAF7;
line-height: 1.8em;
}

table {
border-top-left-radius: 15px;
padding: 8px;
font-family: Bitter, 'Noto Serif', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif, JuniusVF;
border-spacing: 10px;
display: table;
}

.volumelevel {
margin-bottom: 1%;
width: 120%;
}

.pagelevel {
border: 1px solid #ccc;
width: 120%;
}

table[class = volumelevel] tr td {
padding: 5px;
}

.vname, .dname, .guidelines, .guidelines, .sumchar, .time, .description, .url {
background:local;
}

.vname::before {
content: "Volume/Corpus title: ";
}
.dname::before {
content: "Filename: ";
}
.guidelines::before {
content: "Transcription Guidelines: ";
}
.sumchar::before {
content: "Number of characters and space: ";
}
.time::before {
content: "Time: "
}
.description::before {
content: "Description: ";
}
.url::before {
content: "URL: ";
}

.ssl1,
.ssl2,
.ssl3,
.sl1,
.sl2,
.sl3 {
display: block;
}

td.l1,
td.l2,
td.l3 {
width: 120px;
text-align: right;
background: local;
}
.ssl1::before,
.sl1::before {
content: "Level 1: ";
}
.ssl1::after,
.sl1::after,
.ssl2::after,
.sl2::after,
.ssl3::after,
.sl3::after {
content: " characters";
}
.ssl2::before,
.sl2::before {
content: "Level 2: ";
}

.ssl3::before,
.sl3::before {
content: "Level 3: ";
}

[title]::before {
content: attr(title) ": ";
width: 520px;
display: inline-block;
padding: 3px;
}

.l1::before,
.l2::before,
.l3::before {
content: attr(char) ": ";
color: grey;
}





.key1::before {
content: "TxtRegion: ";
}
.key2::before {
content: "ImgRegion: ";
}
.key3::before {
content: "LineDrawRegion: ";
}
.key4::before {
content: "GraphRegion: ";
}
.key5::before {
content: "TabRegion: ";
}
.key6::before {
content: "ChartRegion: ";
}
.key7::before {
content: "SepRegion: ";
}
.key8::before {
content: "MathRegion: ";
}
.key9::before {
content: "MathRegion: ";
}
.key10::before {
content: "ChemRegion: ";
}
.key11::before {
content: "MusicRegion: ";
}
.key12::before {
content: "AdRegion: ";
}
.key13::before {
content: "UnkownRegion: ";
}
.key14::before {
content: "CustomRegion: ";
}
.key15::before {
content: "TextLine: ";
}
.key16::before {
content: "Page: ";
}

.key1,
.key2,
.key3,
.key4,
.key5,
.key6,
.key7,
.key8,
.key9,
.key10,
.key11,
.key12,
.key13,
.key14,
.key15,
.key16,
.infolegend
{
display: block;

}

dl.grid {
display: grid;
grid-template-columns: 1fr 100%;
}
dd {
margin: 0;
padding-left: 1em;
}
dl.grid dd {
margin-bottom: 1em;
}

ul.grid-l {
display: grid;
/*grid-template-columns: auto auto auto;*/
padding: 10px;
grid-template-columns: 1fr 50%;
}




summary.infolegend::before {
content: "\1F4A1 ";
}

td.infolegend {
vertical-align: top;
}


details {
line-height: 40px;
margin-left: 40px;
width: 120%;
}

summary::-webkit-details-marker {
display: none;
}

summary.volume:before {
content: "\1F4DA ";
font-size: 20px;
}


summary:before {
content: "\1F4DC ";
font-size: 20px;
}

summary {
display: block;
cursor: pointer;
outline: 0;
}

.leveldesc {
border: 1px solid #ddd;
border-top-left-radius: 15px;
background-color: #c8ab3714;
padding: 5px;
}


.main {
display: block;
margin-left: 15em;
min-width: 16em;
}
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"gtTyp": "data_structure",
"format": "Page-XML",
"transcription-guidelines": "OCR-D-GT-Guideline, Part: Structur Ground Truth\nhttps://ocr-d.de/en/gt-guidelines/trans/structur_gt.html",
"volume": {
"gtvolume": {
"TxtRegion": "5838",
"GraphRegion": "127",
"TabRegion": "49",
Expand Down
9 changes: 6 additions & 3 deletions metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ An image database</p>
Metadata for the complete collection and the components are in METS format.</p>
<ul>
<li>
<a href="https://github.com/tboenig/gt_structure_5_1/releases/tag/v1.1.1">The BagIt 'ocrd.zip' files for the current version, please download them from the latest release.: Release 11_v1.1.1</a>
<a href="https://github.com/tboenig/gt_structure_5_1/releases/tag/v1.1.2">The BagIt 'ocrd.zip' files for the current version, please download them from the latest release.: Release 12_v1.1.2</a>
</li>
<li>
<a href="https://github.com/tboenig/gt_structure_5_1/releases">Version archive</a>
Expand Down Expand Up @@ -367,10 +367,13 @@ An image database</p>
<h2>Details</h2>
<ul>
<li>
<a href="table">Compressed table view</a>
<a href="table">Compressed table view about regions</a>
</li>
<li>
<a href="overview">Detailed table view</a>
<a href="overview">Detailed table view about regions</a>
</li>
<li>
<a href="overview-level">Level Matrix</a>
</li>
</ul>
</div>
Loading

0 comments on commit c6ebfb7

Please sign in to comment.