Support for LWC dependency annotations
Change-Id: Ia4c7b39a871350d3f649597fbc67e9cf52e38e1a
diff --git a/t/corpus/WPD17/000/22053/base/tokens.xml b/t/corpus/WPD17/000/22053/base/tokens.xml
new file mode 100644
index 0000000..3115e9a
--- /dev/null
+++ b/t/corpus/WPD17/000/22053/base/tokens.xml
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<layer docid="WPD17_000.22053" xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4">
+ <spanList>
+ <span id="t_0" from="1" to="11" />
+ <span id="t_1" from="13" to="20" />
+ <span id="t_2" from="21" to="24" />
+ <span id="t_3" from="25" to="28" />
+ <span id="t_4" from="29" to="35" />
+ <span id="t_5" from="36" to="44" />
+ <span id="t_6" from="45" to="55" />
+ <span id="t_7" from="56" to="61" />
+ <span id="t_8" from="61" to="62" />
+ <span id="t_9" from="64" to="66" />
+ <span id="t_10" from="67" to="73" />
+ <span id="t_11" from="74" to="75" />
+ <span id="t_12" from="75" to="76" />
+ <span id="t_13" from="77" to="83" />
+ <span id="t_14" from="84" to="87" />
+ <span id="t_15" from="88" to="91" />
+ <span id="t_16" from="92" to="104" />
+ <span id="t_17" from="105" to="117" />
+ <span id="t_18" from="117" to="118" />
+ <span id="t_19" from="119" to="125" />
+ <span id="t_20" from="126" to="129" />
+ <span id="t_21" from="130" to="132" />
+ <span id="t_22" from="133" to="145" />
+ <span id="t_23" from="146" to="147" />
+ <span id="t_24" from="149" to="150" />
+ <span id="t_25" from="150" to="151" />
+ <span id="t_26" from="152" to="154" />
+ <span id="t_27" from="155" to="160" />
+ <span id="t_28" from="160" to="161" />
+ <span id="t_29" from="161" to="167" />
+ <span id="t_30" from="168" to="172" />
+ <span id="t_31" from="173" to="176" />
+ <span id="t_32" from="177" to="182" />
+ <span id="t_33" from="183" to="188" />
+ <span id="t_34" from="189" to="199" />
+ <span id="t_35" from="200" to="205" />
+ <span id="t_36" from="206" to="208" />
+ <span id="t_37" from="209" to="216" />
+ <span id="t_38" from="217" to="221" />
+ <span id="t_39" from="222" to="228" />
+ <span id="t_40" from="228" to="229" />
+ <span id="t_41" from="230" to="231" />
+ <span id="t_42" from="231" to="232" />
+ <span id="t_43" from="233" to="235" />
+ <span id="t_44" from="236" to="241" />
+ <span id="t_45" from="242" to="248" />
+ <span id="t_46" from="249" to="252" />
+ <span id="t_47" from="253" to="258" />
+ <span id="t_48" from="259" to="271" />
+ <span id="t_49" from="272" to="284" />
+ <span id="t_50" from="285" to="290" />
+ <span id="t_51" from="290" to="291" />
+ <span id="t_52" from="292" to="295" />
+ <span id="t_53" from="296" to="302" />
+ <span id="t_54" from="303" to="307" />
+ <span id="t_55" from="308" to="324" />
+ <span id="t_56" from="325" to="328" />
+ <span id="t_57" from="329" to="331" />
+ <span id="t_58" from="332" to="341" />
+ <span id="t_59" from="341" to="342" />
+ <span id="t_60" from="343" to="344" />
+ <span id="t_61" from="344" to="345" />
+ <span id="t_62" from="346" to="362" />
+ <span id="t_63" from="363" to="369" />
+ <span id="t_64" from="370" to="379" />
+ <span id="t_65" from="380" to="391" />
+ <span id="t_66" from="391" to="392" />
+ <span id="t_67" from="393" to="399" />
+ <span id="t_68" from="399" to="400" />
+ <span id="t_69" from="401" to="412" />
+ <span id="t_70" from="413" to="416" />
+ <span id="t_71" from="417" to="425" />
+ <span id="t_72" from="426" to="428" />
+ <span id="t_73" from="429" to="435" />
+ <span id="t_74" from="436" to="441" />
+ <span id="t_75" from="442" to="443" />
+ <span id="t_76" from="443" to="452" />
+ <span id="t_77" from="452" to="453" />
+ <span id="t_78" from="453" to="454" />
+ <span id="t_79" from="455" to="456" />
+ <span id="t_80" from="456" to="457" />
+ <span id="t_81" from="458" to="464" />
+ <span id="t_82" from="465" to="468" />
+ <span id="t_83" from="469" to="481" />
+ <span id="t_84" from="482" to="492" />
+ <span id="t_85" from="492" to="493" />
+ <span id="t_86" from="494" to="509" />
+ <span id="t_87" from="510" to="515" />
+ <span id="t_88" from="516" to="519" />
+ <span id="t_89" from="520" to="522" />
+ <span id="t_90" from="523" to="527" />
+ <span id="t_91" from="528" to="530" />
+ <span id="t_92" from="531" to="532" />
+ <span id="t_93" from="532" to="533" />
+ <span id="t_94" from="534" to="539" />
+ <span id="t_95" from="540" to="544" />
+ <span id="t_96" from="545" to="556" />
+ <span id="t_97" from="557" to="559" />
+ <span id="t_98" from="560" to="569" />
+ <span id="t_99" from="569" to="570" />
+ <span id="t_100" from="571" to="572" />
+ <span id="t_101" from="572" to="573" />
+ <span id="t_102" from="574" to="587" />
+ <span id="t_103" from="587" to="588" />
+ <span id="t_104" from="590" to="596" />
+ <span id="t_105" from="599" to="600" />
+ <span id="t_106" from="600" to="601" />
+ <span id="t_107" from="602" to="606" />
+ <span id="t_108" from="607" to="615" />
+ <span id="t_109" from="616" to="621" />
+ <span id="t_110" from="622" to="635" />
+ <span id="t_111" from="635" to="636" />
+ <span id="t_112" from="638" to="646" />
+ </spanList>
+</layer>
\ No newline at end of file
diff --git a/t/corpus/WPD17/000/22053/data.xml b/t/corpus/WPD17/000/22053/data.xml
new file mode 100644
index 0000000..33a7e48
--- /dev/null
+++ b/t/corpus/WPD17/000/22053/data.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="text.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<raw_text docid="WPD17_000.22053" xmlns="http://ids-mannheim.de/ns/KorAP">
+ <metadata file="metadata.xml" />
+ <text> Ereignisse Während der 0er fanden folgende Ereignisse statt: 1. Januar 1: Erster Tag der christlichen Zeitrechnung, Beginn des 1. Jahrhunderts . 1: In Haifa/Israel wird der erste große künstliche Hafen im offenen Meer gebaut. 2: In China findet die erste überlieferte Volkszählung statt. Sie ergibt eine Bevölkerungszahl von 57 Millionen. 3: Markomannenfürst Marbod vereinigt Hermunduren, Quaden, Langobarden und Semnonen in seinem Reich (Thüringen). 6: Beginn des pannonischen Aufstandes, Niederschlagung durch Rom im Jahr 9. 7: Varus wird Statthalter in Germanien. 9: Varusschlacht. Kultur 1: Ovid schreibt seine Metamorphosen. Weblinks </text>
+</raw_text>
\ No newline at end of file
diff --git a/t/corpus/WPD17/000/22053/header.xml b/t/corpus/WPD17/000/22053/header.xml
new file mode 100644
index 0000000..cbb5166
--- /dev/null
+++ b/t/corpus/WPD17/000/22053/header.xml
@@ -0,0 +1,272 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="header.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<!DOCTYPE idsCorpus PUBLIC "-//IDS//DTD IDS-XCES 1.0//EN" "http://corpora.ids-mannheim.de/idsxces1/DTD/ids.xcesdoc.dtd">
+<idsHeader type="text" pattern="text" status="new" version="1.0" TEIform="teiHeader">
+ <fileDesc>
+ <titleStmt>
+ <textSigle>WPD17/000.22053</textSigle>
+ <t.title assemblage="external">WPD17/000.22053 0er, In: Wikipedia - URL:http://de.wikipedia.org/wiki/0er: Wikipedia, 2017</t.title>
+ </titleStmt>
+ <editionStmt version="0"/>
+ <publicationStmt>
+ <distributor/>
+ <pubAddress/>
+ <availability region="world" Default="n" status="unknown">CC-BY-SA</availability>
+ <pubDate/>
+ </publicationStmt>
+ <sourceDesc Default="n">
+ <biblStruct Default="n" status="draft">
+ <analytic>
+ <h.title type="main">0er</h.title>
+ <h.title type="sub"/>
+ <h.title type="abbr" level="m"/>
+ <h.title type="abbr" level="a"/>
+ <h.author>Rogi.Official, u.a.</h.author>
+ <editor/>
+ <imprint/>
+ <biblScope type="subsume"/>
+ <biblScope type="pp"/>
+ <biblNote n="1"/>
+ </analytic>
+ <monogr>
+ <h.title type="main"/>
+ <editor>wikipedia.org</editor>
+ <edition>
+ <further> Dump file "dewiki-20170701-pages-meta-current.xml" retrieved from http://dumps.wikimedia.org </further>
+ <kind/>
+ <appearance/>
+ </edition>
+ <imprint>
+ <pubDate type="year">2017</pubDate>
+ <pubDate type="month">07</pubDate>
+ <pubDate type="day">01</pubDate>
+ </imprint>
+ <biblScope type="vol"/>
+ <biblScope type="volume-title"/>
+ </monogr>
+ <relatedItem type="langlink">
+ <ref target="https://tt.wikipedia.org/wiki/0-еллар" xml:lang="key">0-еллар</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ast.wikipedia.org/wiki/Década_del_0" xml:lang="key">Década del 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://pt.wikipedia.org/wiki/Década_de_0" xml:lang="key">Década de 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://hr.wikipedia.org/wiki/0-ih" xml:lang="key">0-ih</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://simple.wikipedia.org/wiki/0s" xml:lang="key">0s</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://hu.wikipedia.org/wiki/1-es_évek" xml:lang="key">1-es évek</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://bar.wikipedia.org/wiki/0a" xml:lang="key">0a</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://nah.wikipedia.org/wiki/0_xihuitl" xml:lang="key">0 xihuitl</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://uk.wikipedia.org/wiki/0-ві" xml:lang="key">0-ві</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://yo.wikipedia.org/wiki/Ẹ̀wádún_0" xml:lang="key">Ẹ̀wádún 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://id.wikipedia.org/wiki/0-an" xml:lang="key">0-an</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://mk.wikipedia.org/wiki/0-ти" xml:lang="key">0-ти</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://new.wikipedia.org/wiki/१" xml:lang="key">१</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://qu.wikipedia.org/wiki/0_watakuna" xml:lang="key">0 watakuna</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://mr.wikipedia.org/wiki/इ.स.चे_०_चे_दशक" xml:lang="key">इ.स.चे ० चे दशक</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://uz.wikipedia.org/wiki/0-lar" xml:lang="key">0-lar</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ms.wikipedia.org/wiki/0-an" xml:lang="key">0-an</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://als.wikipedia.org/wiki/0er" xml:lang="key">0er</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://en.wikipedia.org/wiki/0s" xml:lang="key">0s</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://eo.wikipedia.org/wiki/0-aj_jaroj" xml:lang="key">0-aj jaroj</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://it.wikipedia.org/wiki/Anni_0" xml:lang="key">Anni 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://an.wikipedia.org/wiki/Anyos_0" xml:lang="key">Anyos 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://es.wikipedia.org/wiki/Años_0" xml:lang="key">Años 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://zh.wikipedia.org/wiki/0年代" xml:lang="key">0年代</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://cdo.wikipedia.org/wiki/0_nièng-dâi" xml:lang="key">0 nièng-dâi</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://et.wikipedia.org/wiki/0._aastad" xml:lang="key">0. aastad</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://eu.wikipedia.org/wiki/0ko_hamarkada" xml:lang="key">0ko hamarkada</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ar.wikipedia.org/wiki/عقد_0" xml:lang="key">عقد 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://vi.wikipedia.org/wiki/Thập_niên_0" xml:lang="key">Thập niên 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://mhr.wikipedia.org/wiki/0_ийла" xml:lang="key">0 ийла</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ja.wikipedia.org/wiki/0年代" xml:lang="key">0年代</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://fa.wikipedia.org/wiki/دهه_۰_(میلادی)" xml:lang="key">دهه ۰ (میلادی)</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://zh-min-nan.wikipedia.org/wiki/0_nî-tāi" xml:lang="key">0 nî-tāi</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ro.wikipedia.org/wiki/Primul_deceniu_d.Hr." xml:lang="key">Primul deceniu d.Hr.</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://nl.wikipedia.org/wiki/1-9" xml:lang="key">1-9</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://no.wikipedia.org/wiki/0-årene" xml:lang="key">0-årene</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://be.wikipedia.org/wiki/0-я" xml:lang="key">0-я</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://fi.wikipedia.org/wiki/Ensimmäinen_vuosikymmen" xml:lang="key">Ensimmäinen vuosikymmen</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ru.wikipedia.org/wiki/0-е_годы" xml:lang="key">0-е годы</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://fo.wikipedia.org/wiki/0-árini" xml:lang="key">0-árini</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://be-x-old.wikipedia.org/wiki/0-я" xml:lang="key">0-я</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://nso.wikipedia.org/wiki/0s" xml:lang="key">0s</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://fr.wikipedia.org/wiki/Années_0" xml:lang="key">Années 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://br.wikipedia.org/wiki/Bloavezhioù_0" xml:lang="key">Bloavezhioù 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://bs.wikipedia.org/wiki/0te" xml:lang="key">0te</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://sh.wikipedia.org/wiki/0-e" xml:lang="key">0-e</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://zh-yue.wikipedia.org/wiki/0年代" xml:lang="key">0年代</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ka.wikipedia.org/wiki/0-იანები" xml:lang="key">0-იანები</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://sk.wikipedia.org/wiki/0._roky_1._storočia" xml:lang="key">0. roky 1. storočia</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://sl.wikipedia.org/wiki/0." xml:lang="key">0.</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ga.wikipedia.org/wiki/0í" xml:lang="key">0í</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://sah.wikipedia.org/wiki/0-с" xml:lang="key">0-с</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://gd.wikipedia.org/wiki/Roinn-seòrsa:0an" xml:lang="key">Roinn-seòrsa:0an</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ca.wikipedia.org/wiki/Dècada_del_0" xml:lang="key">Dècada del 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://sr.wikipedia.org/wiki/0е" xml:lang="key">0е</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://su.wikipedia.org/wiki/0-an" xml:lang="key">0-an</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://sv.wikipedia.org/wiki/00-talet" xml:lang="key">00-talet</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ko.wikipedia.org/wiki/0년대" xml:lang="key">0년대</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://sw.wikipedia.org/wiki/Miaka_ya_0" xml:lang="key">Miaka ya 0</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://war.wikipedia.org/wiki/0_nga_dekada" xml:lang="key">0 nga dekada</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://kv.wikipedia.org/wiki/0-ӧд_вояс" xml:lang="key">0-ӧд вояс</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ta.wikipedia.org/wiki/0கள்" xml:lang="key">0கள்</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://cy.wikipedia.org/wiki/0au" xml:lang="key">0au</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://tk.wikipedia.org/wiki/0ýý" xml:lang="key">0ýý</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://da.wikipedia.org/wiki/0'erne" xml:lang="key">0'erne</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://tr.wikipedia.org/wiki/0'lar" xml:lang="key">0'lar</ref>
+ </relatedItem>
+ </biblStruct>
+ <reference type="complete" assemblage="non-automatic">WPD17/000.22053 0er, In: Wikipedia - URL:http://de.wikipedia.org/wiki/0er: Wikipedia, 2017</reference>
+ <reference type="short" assemblage="regular">WPD17/000.22053 Wikipedia; 0er, (Letzte Änderung 11.5.2015 ) 1.7.2017</reference>
+ </sourceDesc>
+ </fileDesc>
+ <encodingDesc>
+ <samplingDecl Default="n"/>
+ <editorialDecl Default="n">
+ <pagination type="no"/>
+ </editorialDecl>
+ </encodingDesc>
+ <profileDesc>
+ <creation>
+ <creatDate>2015.05.11</creatDate>
+ <creatRef>(Letzte Änderung 11.5.2015)</creatRef>
+ <creatRefShort>(Letzte Änderung 11.5.2015)</creatRefShort>
+ </creation>
+ <textClass Default="n">
+ <classCode scheme="https://en.wikipedia.org/wiki/Portal:Contents/Categories"/>
+ <catRef n="0.99474" target="topic.freizeit-unterhaltung.reisen" scheme="topic"/>
+ <catRef n="0.00353723" target="topic.kultur.literatur" scheme="topic"/>
+ </textClass>
+ <textDesc Default="n">
+ <textTypeArt>Enzyklopädie-Artikel</textTypeArt>
+ <textDomain/>
+ </textDesc>
+ </profileDesc>
+ </idsHeader>
\ No newline at end of file
diff --git a/t/corpus/WPD17/000/22053/lwc/dependency.xml b/t/corpus/WPD17/000/22053/lwc/dependency.xml
new file mode 100644
index 0000000..0733724
--- /dev/null
+++ b/t/corpus/WPD17/000/22053/lwc/dependency.xml
@@ -0,0 +1,571 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<layer docid="WPD17_000.22053" xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4">
+<spanList>
+<span id="s0_n394" from="1" to="11">
+<rel label="NK">
+<span from="1" to="62"/>
+</rel>
+</span>
+<span id="s0_n395" from="13" to="20">
+<rel label="NK">
+<span from="1" to="62"/>
+</rel>
+</span>
+<span id="s0_n396" from="21" to="24">
+<rel label="NK">
+<span from="1" to="62"/>
+</rel>
+</span>
+<span id="s0_n397" from="25" to="28">
+<rel label="AG">
+<span from="1" to="62"/>
+</rel>
+</span>
+<span id="s0_n398" from="29" to="35">
+<rel label="NK">
+<span from="1" to="62"/>
+</rel>
+</span>
+<span id="s0_n399" from="36" to="44">
+<rel label="--">
+<span from="1" to="62"/>
+</rel>
+</span>
+<span id="s0_n400" from="45" to="55">
+<rel label="--">
+<span from="1" to="62"/>
+</rel>
+</span>
+<span id="s0_n401" from="56" to="61">
+<rel label="NK">
+<span from="1" to="62"/>
+</rel>
+</span>
+<span id="s0_n402" from="61" to="62">
+<rel label="PNC">
+<span from="1" to="62"/>
+</rel>
+</span>
+<span id="s0_n403" from="64" to="66">
+<rel label="NK">
+<span from="1" to="76"/>
+</rel>
+</span>
+<span id="s0_n404" from="67" to="73">
+<rel label="--">
+<span from="1" to="76"/>
+</rel>
+</span>
+<span id="s0_n405" from="74" to="75">
+<rel label="NK">
+<span from="1" to="76"/>
+</rel>
+</span>
+<span id="s0_n406" from="75" to="76">
+<rel label="--">
+<span from="1" to="76"/>
+</rel>
+</span>
+<span id="s0_n407" from="77" to="83">
+<rel label="--">
+<span from="1" to="147"/>
+</rel>
+</span>
+<span id="s0_n0" from="84" to="87">
+<rel label="SB">
+<span from="92" to="104"/>
+</rel>
+</span>
+<span id="s1_n1" from="88" to="91">
+<rel label="--">
+<span from="88" to="147"/>
+</rel>
+</span>
+<span id="s1_n2" from="92" to="104">
+<rel label="NK">
+<span from="126" to="129"/>
+</rel>
+</span>
+<span id="s1_n3" from="105" to="117">
+<rel label="NK">
+<span from="126" to="129"/>
+</rel>
+</span>
+<span id="s1_n4" from="117" to="118">
+<rel label="NK">
+<span from="126" to="129"/>
+</rel>
+</span>
+<span id="s1_n5" from="119" to="125">
+<rel label="PD">
+<span from="92" to="104"/>
+</rel>
+</span>
+<span id="s1_n6" from="126" to="129">
+<rel label="--">
+<span from="92" to="104"/>
+</rel>
+</span>
+<span id="s1_n7" from="130" to="132">
+<rel label="--">
+<span from="88" to="147"/>
+</rel>
+</span>
+<span id="s1_n8" from="133" to="145">
+<rel label="PNC">
+<span from="105" to="117"/>
+</rel>
+</span>
+<span id="s1_n9" from="146" to="147">
+<rel label="NK">
+<span from="88" to="91"/>
+</rel>
+</span>
+<span id="s1_n10" from="149" to="150">
+<rel label="NK">
+<span from="119" to="125"/>
+</rel>
+</span>
+<span id="s1_n11" from="150" to="151">
+<rel label="NK">
+<span from="88" to="91"/>
+</rel>
+</span>
+<span id="s1_n12" from="152" to="154">
+<rel label="--">
+<span from="130" to="132"/>
+</rel>
+</span>
+<span id="s1_n13" from="155" to="160">
+<rel label="PAR">
+<span from="119" to="125"/>
+</rel>
+</span>
+<span id="s1_n14" from="160" to="161">
+<rel label="--">
+<span from="130" to="132"/>
+</rel>
+</span>
+<span id="s1_n15" from="161" to="167">
+<rel label="--">
+<span from="150" to="151"/>
+</rel>
+</span>
+<span id="s1_n16" from="168" to="172">
+<rel label="NK">
+<span from="150" to="151"/>
+</rel>
+</span>
+<span id="s1_n17" from="173" to="176">
+<rel label="PAR">
+<span from="119" to="125"/>
+</rel>
+</span>
+<span id="s1_n18" from="177" to="182">
+<rel label="--">
+<span from="150" to="151"/>
+</rel>
+</span>
+<span id="s1_n19" from="183" to="188">
+<rel label="--">
+<span from="119" to="125"/>
+</rel>
+</span>
+<span id="s1_n20" from="189" to="199">
+<rel label="CJ">
+<span from="119" to="125"/>
+</rel>
+</span>
+<span id="s1_n21" from="200" to="205">
+<rel label="CD">
+<span from="160" to="161"/>
+</rel>
+</span>
+<span id="s1_n22" from="206" to="208">
+<rel label="CJ">
+<span from="161" to="167"/>
+</rel>
+</span>
+<span id="s1_n23" from="209" to="216">
+<rel label="MNR">
+<span from="160" to="161"/>
+</rel>
+</span>
+<span id="s1_n24" from="217" to="221">
+<rel label="NK">
+<span from="173" to="176"/>
+</rel>
+</span>
+<span id="s1_n25" from="222" to="228">
+<rel label="NK">
+<span from="189" to="199"/>
+</rel>
+</span>
+<span id="s1_n26" from="228" to="229">
+<rel label="CJ">
+<span from="160" to="161"/>
+</rel>
+</span>
+<span id="s1_n27" from="230" to="231">
+<rel label="PG">
+<span from="189" to="199"/>
+</rel>
+</span>
+<span id="s1_n28" from="231" to="232">
+<rel label="NK">
+<span from="200" to="205"/>
+</rel>
+</span>
+<span id="s1_n29" from="233" to="235">
+<rel label="--">
+<span from="217" to="221"/>
+</rel>
+</span>
+<span id="s1_n30" from="236" to="241">
+<rel label="PAR">
+<span from="206" to="208"/>
+</rel>
+</span>
+<span id="s1_n31" from="242" to="248">
+<rel label="NK">
+<span from="217" to="221"/>
+</rel>
+</span>
+<span id="s1_n32" from="249" to="252">
+<rel label="--">
+<span from="217" to="221"/>
+</rel>
+</span>
+<span id="s1_n33" from="253" to="258">
+<rel label="--">
+<span from="119" to="125"/>
+</rel>
+</span>
+<span id="s1_n34" from="259" to="271">
+<rel label="CJ">
+<span from="189" to="199"/>
+</rel>
+</span>
+<span id="s1_n35" from="272" to="284">
+<rel label="PG">
+<span from="231" to="232"/>
+</rel>
+</span>
+<span id="s1_n36" from="285" to="290">
+<rel label="NK">
+<span from="233" to="235"/>
+</rel>
+</span>
+<span id="s1_n37" from="290" to="291">
+<rel label="NK">
+<span from="249" to="252"/>
+</rel>
+</span>
+<span id="s1_n38" from="292" to="295">
+<rel label="AG">
+<span from="231" to="232"/>
+</rel>
+</span>
+<span id="s1_n39" from="296" to="302">
+<rel label="PG">
+<span from="231" to="232"/>
+</rel>
+</span>
+<span id="s1_n40" from="303" to="307">
+<rel label="AG">
+<span from="285" to="290"/>
+</rel>
+</span>
+<span id="s1_n41" from="308" to="324">
+<rel label="--">
+<span from="285" to="290"/>
+</rel>
+</span>
+<span id="s1_n42" from="325" to="328">
+<rel label="NK">
+<span from="253" to="258"/>
+</rel>
+</span>
+<span id="s1_n43" from="329" to="331">
+<rel label="PG">
+<span from="285" to="290"/>
+</rel>
+</span>
+<span id="s1_n44" from="332" to="341">
+<rel label="NK">
+<span from="290" to="291"/>
+</rel>
+</span>
+<span id="s1_n45" from="341" to="342">
+<rel label="--">
+<span from="119" to="125"/>
+</rel>
+</span>
+<span id="s1_n46" from="343" to="344">
+<rel label="SB">
+<span from="161" to="167"/>
+</rel>
+</span>
+<span id="s1_n47" from="344" to="345">
+<rel label="NK">
+<span from="88" to="91"/>
+</rel>
+</span>
+<span id="s1_n48" from="346" to="362">
+<rel label="PNC">
+<span from="117" to="118"/>
+</rel>
+</span>
+<span id="s1_n49" from="363" to="369">
+<rel label="NK">
+<span from="88" to="91"/>
+</rel>
+</span>
+<span id="s1_n50" from="370" to="379">
+<rel label="--">
+<span from="88" to="91"/>
+</rel>
+</span>
+<span id="s1_n51" from="380" to="391">
+<rel label="APP">
+<span from="88" to="91"/>
+</rel>
+</span>
+<span id="s1_n52" from="391" to="392">
+<rel label="PG">
+<span from="126" to="129"/>
+</rel>
+</span>
+<span id="s1_n53" from="393" to="399">
+<rel label="AG">
+<span from="146" to="147"/>
+</rel>
+</span>
+<span id="s1_n54" from="399" to="400">
+<rel label="NK">
+<span from="130" to="132"/>
+</rel>
+</span>
+<span id="s1_n55" from="401" to="412">
+<rel label="--">
+<span from="152" to="154"/>
+</rel>
+</span>
+<span id="s1_n56" from="413" to="416">
+<rel label="NK">
+<span from="152" to="154"/>
+</rel>
+</span>
+<span id="s1_n57" from="417" to="425">
+<rel label="NK">
+<span from="146" to="147"/>
+</rel>
+</span>
+<span id="s1_n58" from="426" to="428">
+<rel label="--">
+<span from="152" to="154"/>
+</rel>
+</span>
+<span id="s1_n59" from="429" to="435">
+<rel label="--">
+<span from="161" to="167"/>
+</rel>
+</span>
+<span id="s1_n60" from="436" to="441">
+<rel label="--">
+<span from="88" to="454"/>
+</rel>
+</span>
+<span id="s1_n61" from="442" to="443">
+<rel label="MO">
+<span from="161" to="167"/>
+</rel>
+</span>
+<span id="s1_n62" from="443" to="452">
+<rel label="NK">
+<span from="177" to="182"/>
+</rel>
+</span>
+<span id="s1_n63" from="452" to="453">
+<rel label="OA">
+<span from="161" to="167"/>
+</rel>
+</span>
+<span id="s1_n64" from="453" to="454">
+<rel label="--">
+<span from="161" to="167"/>
+</rel>
+</span>
+<span id="s1_n65" from="455" to="456">
+<rel label="--">
+<span from="88" to="457"/>
+</rel>
+</span>
+<span id="s1_n66" from="456" to="457">
+<rel label="NK">
+<span from="126" to="129"/>
+</rel>
+</span>
+<span id="s1_n67" from="458" to="464">
+<rel label="SBP">
+<span from="119" to="125"/>
+</rel>
+</span>
+<span id="s1_n68" from="465" to="468">
+<rel label="NK">
+<span from="105" to="117"/>
+</rel>
+</span>
+<span id="s1_n69" from="469" to="481">
+<rel label="NK">
+<span from="126" to="129"/>
+</rel>
+</span>
+<span id="s1_n70" from="482" to="492">
+<rel label="DA">
+<span from="88" to="91"/>
+</rel>
+</span>
+<span id="s1_n71" from="492" to="493">
+<rel label="NK">
+<span from="146" to="147"/>
+</rel>
+</span>
+<span id="s1_n72" from="494" to="509">
+<rel label="NK">
+<span from="146" to="147"/>
+</rel>
+</span>
+<span id="s1_n73" from="510" to="515">
+<rel label="OA">
+<span from="88" to="91"/>
+</rel>
+</span>
+<span id="s1_n74" from="516" to="519">
+<rel label="MO">
+<span from="150" to="151"/>
+</rel>
+</span>
+<span id="s1_n75" from="520" to="522">
+<rel label="PNC">
+<span from="152" to="154"/>
+</rel>
+</span>
+<span id="s1_n76" from="523" to="527">
+<rel label="SB">
+<span from="88" to="91"/>
+</rel>
+</span>
+<span id="s1_n77" from="528" to="530">
+<rel label="--">
+<span from="152" to="154"/>
+</rel>
+</span>
+<span id="s1_n78" from="531" to="532">
+<rel label="NK">
+<span from="168" to="172"/>
+</rel>
+</span>
+<span id="s1_n79" from="532" to="533">
+<rel label="NK">
+<span from="168" to="172"/>
+</rel>
+</span>
+<span id="s1_n80" from="534" to="539">
+<rel label="APP">
+<span from="152" to="154"/>
+</rel>
+</span>
+<span id="s1_n81" from="540" to="544">
+<rel label="NK">
+<span from="168" to="172"/>
+</rel>
+</span>
+<span id="s1_n82" from="545" to="556">
+<rel label="--">
+<span from="152" to="154"/>
+</rel>
+</span>
+<span id="s1_n83" from="557" to="559">
+<rel label="NK">
+<span from="189" to="199"/>
+</rel>
+</span>
+<span id="s1_n84" from="560" to="569">
+<rel label="APP">
+<span from="152" to="154"/>
+</rel>
+</span>
+<span id="s1_n85" from="569" to="570">
+<rel label="NK">
+<span from="189" to="199"/>
+</rel>
+</span>
+<span id="s1_n86" from="571" to="572">
+<rel label="--">
+<span from="189" to="199"/>
+</rel>
+</span>
+<span id="s1_n87" from="572" to="573">
+<rel label="NK">
+<span from="217" to="221"/>
+</rel>
+</span>
+<span id="s1_n88" from="574" to="587">
+<rel label="SB">
+<span from="233" to="235"/>
+</rel>
+</span>
+<span id="s1_n89" from="587" to="588">
+<rel label="NK">
+<span from="228" to="229"/>
+</rel>
+</span>
+<span id="s1_n90" from="590" to="596">
+<rel label="AG">
+<span from="217" to="221"/>
+</rel>
+</span>
+<span id="s1_n91" from="599" to="600">
+<rel label="MNR">
+<span from="228" to="229"/>
+</rel>
+</span>
+<span id="s1_n92" from="600" to="601">
+<rel label="NK">
+<span from="230" to="231"/>
+</rel>
+</span>
+<span id="s1_n93" from="602" to="606">
+<rel label="--">
+<span from="88" to="636"/>
+</rel>
+</span>
+<span id="s1_n94" from="607" to="615">
+<rel label="MO">
+<span from="233" to="235"/>
+</rel>
+</span>
+<span id="s1_n95" from="616" to="621">
+<rel label="OA">
+<span from="233" to="235"/>
+</rel>
+</span>
+<span id="s1_n0" from="622" to="635">
+<rel label="SB">
+<span from="638" to="646"/>
+</rel>
+</span>
+<span id="s2_n1" from="635" to="636">
+<rel label="--">
+<span from="635" to="636"/>
+</rel>
+</span>
+<span id="s2_n3" from="638" to="646">
+<rel label="PD">
+<span from="635" to="636"/>
+</rel>
+</span>
+</spanList>
+</layer>
diff --git a/t/corpus/WPD17/000/22053/malt/dependency.xml b/t/corpus/WPD17/000/22053/malt/dependency.xml
new file mode 100644
index 0000000..b0fb876
--- /dev/null
+++ b/t/corpus/WPD17/000/22053/malt/dependency.xml
@@ -0,0 +1,571 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<layer docid="WPD17_000.22053" xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4">
+<spanList>
+<span id="s1_n1" from="1" to="11">
+<rel label="SUBJ">
+<span from="29" to="35"/>
+</rel>
+</span>
+<span id="s1_n2" from="13" to="20">
+<rel label="PP">
+<span from="1" to="11"/>
+</rel>
+</span>
+<span id="s1_n3" from="21" to="24">
+<rel label="DET">
+<span from="25" to="28"/>
+</rel>
+</span>
+<span id="s1_n4" from="25" to="28">
+<rel label="PN">
+<span from="13" to="20"/>
+</rel>
+</span>
+<span id="s1_n5" from="29" to="35">
+<rel label="ROOT">
+<span from="1" to="62"/>
+</rel>
+</span>
+<span id="s1_n6" from="36" to="44">
+<rel label="ATTR">
+<span from="45" to="55"/>
+</rel>
+</span>
+<span id="s1_n7" from="45" to="55">
+<rel label="OBJA">
+<span from="29" to="35"/>
+</rel>
+</span>
+<span id="s1_n8" from="56" to="61">
+<rel label="AVZ">
+<span from="29" to="35"/>
+</rel>
+</span>
+<span id="s1_n9" from="61" to="62">
+<rel label="-PUNCT-">
+<span from="56" to="61"/>
+</rel>
+</span>
+<span id="s2_n1" from="64" to="66">
+<rel label="ATTR">
+<span from="67" to="73"/>
+</rel>
+</span>
+<span id="s2_n2" from="67" to="73">
+<rel label="ROOT">
+<span from="64" to="76"/>
+</rel>
+</span>
+<span id="s2_n3" from="74" to="75">
+<rel label="APP">
+<span from="67" to="73"/>
+</rel>
+</span>
+<span id="s2_n4" from="75" to="76">
+<rel label="-PUNCT-">
+<span from="74" to="75"/>
+</rel>
+</span>
+<span id="s3_n1" from="77" to="83">
+<rel label="ATTR">
+<span from="84" to="87"/>
+</rel>
+</span>
+<span id="s3_n2" from="84" to="87">
+<rel label="ROOT">
+<span from="77" to="147"/>
+</rel>
+</span>
+<span id="s3_n3" from="88" to="91">
+<rel label="DET">
+<span from="105" to="117"/>
+</rel>
+</span>
+<span id="s3_n4" from="92" to="104">
+<rel label="ATTR">
+<span from="105" to="117"/>
+</rel>
+</span>
+<span id="s3_n5" from="105" to="117">
+<rel label="GMOD">
+<span from="84" to="87"/>
+</rel>
+</span>
+<span id="s3_n6" from="117" to="118">
+<rel label="-PUNCT-">
+<span from="105" to="117"/>
+</rel>
+</span>
+<span id="s3_n7" from="119" to="125">
+<rel label="APP">
+<span from="84" to="87"/>
+</rel>
+</span>
+<span id="s3_n8" from="126" to="129">
+<rel label="DET">
+<span from="133" to="145"/>
+</rel>
+</span>
+<span id="s3_n9" from="130" to="132">
+<rel label="ATTR">
+<span from="133" to="145"/>
+</rel>
+</span>
+<span id="s3_n10" from="133" to="145">
+<rel label="GMOD">
+<span from="119" to="125"/>
+</rel>
+</span>
+<span id="s3_n11" from="146" to="147">
+<rel label="-PUNCT-">
+<span from="133" to="145"/>
+</rel>
+</span>
+<span id="s4_n1" from="149" to="150">
+<rel label="ROOT">
+<span from="149" to="151"/>
+</rel>
+</span>
+<span id="s4_n2" from="150" to="151">
+<rel label="-PUNCT-">
+<span from="149" to="150"/>
+</rel>
+</span>
+<span id="s5_n1" from="152" to="154">
+<rel label="ROOT">
+<span from="152" to="229"/>
+</rel>
+</span>
+<span id="s5_n2" from="155" to="160">
+<rel label="PN">
+<span from="152" to="154"/>
+</rel>
+</span>
+<span id="s5_n3" from="160" to="161">
+<rel label="-PUNCT-">
+<span from="155" to="160"/>
+</rel>
+</span>
+<span id="s5_n4" from="161" to="167">
+<rel label="SUBJ">
+<span from="168" to="172"/>
+</rel>
+</span>
+<span id="s5_n5" from="168" to="172">
+<rel label="ROOT">
+<span from="152" to="229"/>
+</rel>
+</span>
+<span id="s5_n6" from="173" to="176">
+<rel label="DET">
+<span from="200" to="205"/>
+</rel>
+</span>
+<span id="s5_n7" from="177" to="182">
+<rel label="ATTR">
+<span from="200" to="205"/>
+</rel>
+</span>
+<span id="s5_n8" from="183" to="188">
+<rel label="ATTR">
+<span from="200" to="205"/>
+</rel>
+</span>
+<span id="s5_n9" from="189" to="199">
+<rel label="ATTR">
+<span from="200" to="205"/>
+</rel>
+</span>
+<span id="s5_n10" from="200" to="205">
+<rel label="OBJA">
+<span from="222" to="228"/>
+</rel>
+</span>
+<span id="s5_n11" from="206" to="208">
+<rel label="PP">
+<span from="222" to="228"/>
+</rel>
+</span>
+<span id="s5_n12" from="209" to="216">
+<rel label="ATTR">
+<span from="217" to="221"/>
+</rel>
+</span>
+<span id="s5_n13" from="217" to="221">
+<rel label="PN">
+<span from="206" to="208"/>
+</rel>
+</span>
+<span id="s5_n14" from="222" to="228">
+<rel label="AUX">
+<span from="168" to="172"/>
+</rel>
+</span>
+<span id="s5_n15" from="228" to="229">
+<rel label="-PUNCT-">
+<span from="222" to="228"/>
+</rel>
+</span>
+<span id="s6_n1" from="230" to="231">
+<rel label="ROOT">
+<span from="230" to="232"/>
+</rel>
+</span>
+<span id="s6_n2" from="231" to="232">
+<rel label="-PUNCT-">
+<span from="230" to="231"/>
+</rel>
+</span>
+<span id="s7_n1" from="233" to="235">
+<rel label="PP">
+<span from="242" to="248"/>
+</rel>
+</span>
+<span id="s7_n2" from="236" to="241">
+<rel label="PN">
+<span from="233" to="235"/>
+</rel>
+</span>
+<span id="s7_n3" from="242" to="248">
+<rel label="ROOT">
+<span from="233" to="291"/>
+</rel>
+</span>
+<span id="s7_n4" from="249" to="252">
+<rel label="DET">
+<span from="272" to="284"/>
+</rel>
+</span>
+<span id="s7_n5" from="253" to="258">
+<rel label="ATTR">
+<span from="272" to="284"/>
+</rel>
+</span>
+<span id="s7_n6" from="259" to="271">
+<rel label="ATTR">
+<span from="272" to="284"/>
+</rel>
+</span>
+<span id="s7_n7" from="272" to="284">
+<rel label="SUBJ">
+<span from="242" to="248"/>
+</rel>
+</span>
+<span id="s7_n8" from="285" to="290">
+<rel label="AVZ">
+<span from="242" to="248"/>
+</rel>
+</span>
+<span id="s7_n9" from="290" to="291">
+<rel label="-PUNCT-">
+<span from="285" to="290"/>
+</rel>
+</span>
+<span id="s8_n1" from="292" to="295">
+<rel label="SUBJ">
+<span from="296" to="302"/>
+</rel>
+</span>
+<span id="s8_n2" from="296" to="302">
+<rel label="ROOT">
+<span from="292" to="342"/>
+</rel>
+</span>
+<span id="s8_n3" from="303" to="307">
+<rel label="DET">
+<span from="308" to="324"/>
+</rel>
+</span>
+<span id="s8_n4" from="308" to="324">
+<rel label="OBJA">
+<span from="296" to="302"/>
+</rel>
+</span>
+<span id="s8_n5" from="325" to="328">
+<rel label="PP">
+<span from="308" to="324"/>
+</rel>
+</span>
+<span id="s8_n6" from="329" to="331">
+<rel label="ATTR">
+<span from="332" to="341"/>
+</rel>
+</span>
+<span id="s8_n7" from="332" to="341">
+<rel label="PN">
+<span from="325" to="328"/>
+</rel>
+</span>
+<span id="s8_n8" from="341" to="342">
+<rel label="-PUNCT-">
+<span from="332" to="341"/>
+</rel>
+</span>
+<span id="s9_n1" from="343" to="344">
+<rel label="ROOT">
+<span from="343" to="345"/>
+</rel>
+</span>
+<span id="s9_n2" from="344" to="345">
+<rel label="-PUNCT-">
+<span from="343" to="344"/>
+</rel>
+</span>
+<span id="s10_n1" from="346" to="362">
+<rel label="SUBJ">
+<span from="370" to="379"/>
+</rel>
+</span>
+<span id="s10_n2" from="363" to="369">
+<rel label="APP">
+<span from="346" to="362"/>
+</rel>
+</span>
+<span id="s10_n3" from="370" to="379">
+<rel label="ROOT">
+<span from="346" to="454"/>
+</rel>
+</span>
+<span id="s10_n4" from="380" to="391">
+<rel label="OBJA">
+<span from="370" to="379"/>
+</rel>
+</span>
+<span id="s10_n5" from="391" to="392">
+<rel label="-PUNCT-">
+<span from="380" to="391"/>
+</rel>
+</span>
+<span id="s10_n6" from="393" to="399">
+<rel label="KON">
+<span from="380" to="391"/>
+</rel>
+</span>
+<span id="s10_n7" from="399" to="400">
+<rel label="-PUNCT-">
+<span from="393" to="399"/>
+</rel>
+</span>
+<span id="s10_n8" from="401" to="412">
+<rel label="KON">
+<span from="393" to="399"/>
+</rel>
+</span>
+<span id="s10_n9" from="413" to="416">
+<rel label="KON">
+<span from="401" to="412"/>
+</rel>
+</span>
+<span id="s10_n10" from="417" to="425">
+<rel label="CJ">
+<span from="413" to="416"/>
+</rel>
+</span>
+<span id="s10_n11" from="426" to="428">
+<rel label="PP">
+<span from="370" to="379"/>
+</rel>
+</span>
+<span id="s10_n12" from="429" to="435">
+<rel label="DET">
+<span from="436" to="441"/>
+</rel>
+</span>
+<span id="s10_n13" from="436" to="441">
+<rel label="PN">
+<span from="426" to="428"/>
+</rel>
+</span>
+<span id="s10_n14" from="442" to="443">
+<rel label="-PUNCT-">
+<span from="443" to="452"/>
+</rel>
+</span>
+<span id="s10_n15" from="443" to="452">
+<rel label="APP">
+<span from="436" to="441"/>
+</rel>
+</span>
+<span id="s10_n16" from="452" to="453">
+<rel label="-PUNCT-">
+<span from="443" to="452"/>
+</rel>
+</span>
+<span id="s10_n17" from="453" to="454">
+<rel label="-PUNCT-">
+<span from="443" to="452"/>
+</rel>
+</span>
+<span id="s11_n1" from="455" to="456">
+<rel label="ROOT">
+<span from="455" to="457"/>
+</rel>
+</span>
+<span id="s11_n2" from="456" to="457">
+<rel label="-PUNCT-">
+<span from="455" to="456"/>
+</rel>
+</span>
+<span id="s12_n1" from="458" to="464">
+<rel label="ROOT">
+<span from="458" to="533"/>
+</rel>
+</span>
+<span id="s12_n2" from="465" to="468">
+<rel label="DET">
+<span from="482" to="492"/>
+</rel>
+</span>
+<span id="s12_n3" from="469" to="481">
+<rel label="ATTR">
+<span from="482" to="492"/>
+</rel>
+</span>
+<span id="s12_n4" from="482" to="492">
+<rel label="GMOD">
+<span from="458" to="464"/>
+</rel>
+</span>
+<span id="s12_n5" from="492" to="493">
+<rel label="-PUNCT-">
+<span from="482" to="492"/>
+</rel>
+</span>
+<span id="s12_n6" from="494" to="509">
+<rel label="ROOT">
+<span from="458" to="533"/>
+</rel>
+</span>
+<span id="s12_n7" from="510" to="515">
+<rel label="PP">
+<span from="494" to="509"/>
+</rel>
+</span>
+<span id="s12_n8" from="516" to="519">
+<rel label="PN">
+<span from="510" to="515"/>
+</rel>
+</span>
+<span id="s12_n9" from="520" to="522">
+<rel label="PP">
+<span from="528" to="530"/>
+</rel>
+</span>
+<span id="s12_n10" from="523" to="527">
+<rel label="PN">
+<span from="520" to="522"/>
+</rel>
+</span>
+<span id="s12_n11" from="528" to="530">
+<rel label="ROOT">
+<span from="458" to="533"/>
+</rel>
+</span>
+<span id="s12_n12" from="531" to="532">
+<rel label="ATTR">
+<span from="528" to="530"/>
+</rel>
+</span>
+<span id="s12_n13" from="532" to="533">
+<rel label="-PUNCT-">
+<span from="531" to="532"/>
+</rel>
+</span>
+<span id="s13_n1" from="534" to="539">
+<rel label="SUBJ">
+<span from="540" to="544"/>
+</rel>
+</span>
+<span id="s13_n2" from="540" to="544">
+<rel label="ROOT">
+<span from="534" to="570"/>
+</rel>
+</span>
+<span id="s13_n3" from="545" to="556">
+<rel label="PRED">
+<span from="540" to="544"/>
+</rel>
+</span>
+<span id="s13_n4" from="557" to="559">
+<rel label="PP">
+<span from="545" to="556"/>
+</rel>
+</span>
+<span id="s13_n5" from="560" to="569">
+<rel label="PN">
+<span from="557" to="559"/>
+</rel>
+</span>
+<span id="s13_n6" from="569" to="570">
+<rel label="-PUNCT-">
+<span from="560" to="569"/>
+</rel>
+</span>
+<span id="s14_n1" from="571" to="572">
+<rel label="ROOT">
+<span from="571" to="573"/>
+</rel>
+</span>
+<span id="s14_n2" from="572" to="573">
+<rel label="-PUNCT-">
+<span from="571" to="572"/>
+</rel>
+</span>
+<span id="s15_n1" from="574" to="587">
+<rel label="ROOT">
+<span from="574" to="588"/>
+</rel>
+</span>
+<span id="s15_n2" from="587" to="588">
+<rel label="-PUNCT-">
+<span from="574" to="587"/>
+</rel>
+</span>
+<span id="s16_n1" from="590" to="596">
+<rel label="ROOT">
+<span from="590" to="601"/>
+</rel>
+</span>
+<span id="s16_n2" from="599" to="600">
+<rel label="APP">
+<span from="590" to="596"/>
+</rel>
+</span>
+<span id="s16_n3" from="600" to="601">
+<rel label="-PUNCT-">
+<span from="599" to="600"/>
+</rel>
+</span>
+<span id="s17_n1" from="602" to="606">
+<rel label="SUBJ">
+<span from="607" to="615"/>
+</rel>
+</span>
+<span id="s17_n2" from="607" to="615">
+<rel label="ROOT">
+<span from="602" to="636"/>
+</rel>
+</span>
+<span id="s17_n3" from="616" to="621">
+<rel label="DET">
+<span from="622" to="635"/>
+</rel>
+</span>
+<span id="s17_n4" from="622" to="635">
+<rel label="OBJA">
+<span from="607" to="615"/>
+</rel>
+</span>
+<span id="s17_n5" from="635" to="636">
+<rel label="-PUNCT-">
+<span from="622" to="635"/>
+</rel>
+</span>
+<span id="s18_n1" from="638" to="646">
+<rel label="ROOT">
+<span from="638" to="112"/>
+</rel>
+</span>
+</spanList>
+</layer>
diff --git a/t/corpus/WPD17/000/22053/struct/structure.xml b/t/corpus/WPD17/000/22053/struct/structure.xml
new file mode 100644
index 0000000..376a2b6
--- /dev/null
+++ b/t/corpus/WPD17/000/22053/struct/structure.xml
@@ -0,0 +1,711 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<layer docid="WPD17_000.22053" xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4">
+ <spanList>
+ <span id="s0" from="0" to="647" l="1">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">text</f>
+ </fs>
+ </span>
+ <span id="s1" from="0" to="0" l="2">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">front</f>
+ </fs>
+ </span>
+ <span id="s2" from="0" to="647" l="2">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">body</f>
+ </fs>
+ </span>
+ <span id="s3" from="0" to="647" l="3">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">div</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="n">0</f>
+ <f name="type">section</f>
+ <f name="part">N</f>
+ <f name="org">uniform</f>
+ <f name="sample">complete</f>
+ <f name="complete">y</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s4" from="0" to="0" l="4">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">p</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="part">N</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s5" from="0" to="0" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">gap</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="desc">template</f>
+ <f name="reason">omitted</f>
+ <f name="instant">false</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s6" from="0" to="588" l="4">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">div</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="n">2</f>
+ <f name="type">section</f>
+ <f name="part">N</f>
+ <f name="org">uniform</f>
+ <f name="sample">complete</f>
+ <f name="complete">y</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s7" from="0" to="12" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">head</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="type">cross</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s8" from="13" to="63" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">p</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="part">N</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s9" from="25" to="28" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/0er</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s10" from="63" to="588" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">list</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="type">ul</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s11" from="63" to="147" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">item</f>
+ </fs>
+ </span>
+ <span id="s12" from="63" to="132" l="7">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ </fs>
+ </span>
+ <span id="s13" from="64" to="73" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/1._Januar</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s14" from="74" to="75" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/1</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s15" from="92" to="104" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Christentum</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s16" from="105" to="117" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Zeitrechnung</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s17" from="130" to="132" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/1._Jahrhundert</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s18" from="132" to="145" l="7">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/1._Jahrhundert</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s19" from="133" to="145" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ </fs>
+ </span>
+ <span id="s20" from="146" to="147" l="7">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="broken">yes</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s21" from="147" to="229" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">item</f>
+ </fs>
+ </span>
+ <span id="s22" from="148" to="229" l="7">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="broken">yes</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s23" from="155" to="160" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Haifa</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s24" from="161" to="167" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Israel</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s25" from="200" to="205" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Hafen</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s26" from="217" to="221" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Meer</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s27" from="229" to="342" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">item</f>
+ </fs>
+ </span>
+ <span id="s28" from="229" to="291" l="7">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="broken">yes</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s29" from="230" to="231" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/2</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s30" from="236" to="241" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Kaiserreich_China</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s31" from="272" to="284" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Volksz%C3%A4hlung</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s32" from="292" to="342" l="7">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ </fs>
+ </span>
+ <span id="s33" from="342" to="454" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">item</f>
+ </fs>
+ </span>
+ <span id="s34" from="342" to="454" l="7">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="broken">yes</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s35" from="343" to="344" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/3</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s36" from="346" to="358" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Markomannen</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s37" from="363" to="369" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Marbod</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s38" from="380" to="391" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Hermunduren</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s39" from="393" to="399" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Quaden</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s40" from="401" to="412" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Langobarden</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s41" from="417" to="425" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Semnonen</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s42" from="443" to="452" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Th%C3%BCringen</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s43" from="454" to="530" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">item</f>
+ </fs>
+ </span>
+ <span id="s44" from="454" to="530" l="7">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="broken">yes</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s45" from="455" to="456" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/6</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s46" from="469" to="492" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Pannonischer_Aufstand</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s47" from="516" to="519" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/R%C3%B6misches_Reich</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s48" from="528" to="529" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/9</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s49" from="530" to="570" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">item</f>
+ </fs>
+ </span>
+ <span id="s50" from="530" to="570" l="7">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="broken">yes</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s51" from="531" to="532" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/7</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s52" from="534" to="539" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Publius_Quinctilius_Varus</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s53" from="560" to="569" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Germania_magna</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s54" from="570" to="588" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">item</f>
+ </fs>
+ </span>
+ <span id="s55" from="570" to="588" l="7">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="broken">yes</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s56" from="571" to="572" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/9</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s57" from="574" to="587" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Varusschlacht</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s58" from="588" to="636" l="4">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">div</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="n">2</f>
+ <f name="type">section</f>
+ <f name="part">N</f>
+ <f name="org">uniform</f>
+ <f name="sample">complete</f>
+ <f name="complete">y</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s59" from="588" to="597" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">head</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="type">cross</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s60" from="589" to="597" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ </fs>
+ </span>
+ <span id="s61" from="597" to="636" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">list</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="type">ul</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s62" from="597" to="636" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">item</f>
+ </fs>
+ </span>
+ <span id="s63" from="598" to="636" l="7">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">s</f>
+ </fs>
+ </span>
+ <span id="s64" from="602" to="606" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Ovid</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s65" from="622" to="635" l="8">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Metamorphosen_%28Ovid%29</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s66" from="636" to="647" l="4">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">div</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="n">2</f>
+ <f name="type">section</f>
+ <f name="part">N</f>
+ <f name="org">uniform</f>
+ <f name="sample">complete</f>
+ <f name="complete">y</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s67" from="637" to="647" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">head</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="type">cross</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s68" from="647" to="647" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">p</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="part">N</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s69" from="647" to="647" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">gap</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="desc">template</f>
+ <f name="reason">omitted</f>
+ <f name="instant">false</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s70" from="647" to="647" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">p</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="part">N</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s71" from="647" to="647" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">gap</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="desc">template</f>
+ <f name="reason">omitted</f>
+ <f name="instant">false</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s72" from="647" to="647" l="2">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">back</f>
+ </fs>
+ </span>
+ </spanList>
+</layer>
\ No newline at end of file
diff --git a/t/corpus/WPD17/000/22053/tree_tagger/morpho.xml b/t/corpus/WPD17/000/22053/tree_tagger/morpho.xml
new file mode 100644
index 0000000..8b06ae4
--- /dev/null
+++ b/t/corpus/WPD17/000/22053/tree_tagger/morpho.xml
@@ -0,0 +1,1299 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<layer xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4" docid="WPD17_000.22053">
+ <spanList>
+ <span id="t_0" from="1" to="11">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Ereignis</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_1" from="13" to="20">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">während</f>
+ <f name="certainty">0.960146</f>
+ <f name="ctag">APPR</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_2" from="21" to="24">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">die</f>
+ <f name="certainty">0.999969</f>
+ <f name="ctag">ART</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_3" from="25" to="28">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">UNKNOWN</f>
+ <f name="certainty">0.999923</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_4" from="29" to="35">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">finden</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">VVFIN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_5" from="36" to="44">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">folgend</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_6" from="45" to="55">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Ereignis</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_7" from="56" to="61">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">statt</f>
+ <f name="certainty">0.999990</f>
+ <f name="ctag">PTKVZ</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_8" from="61" to="62">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">:</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_9" from="64" to="66">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">1.</f>
+ <f name="certainty">0.958486</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_10" from="67" to="73">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Januar</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_11" from="74" to="75">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">1</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_12" from="75" to="76">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">:</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_13" from="77" to="83">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">erst</f>
+ <f name="certainty">0.999823</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_14" from="84" to="87">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Tag</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_15" from="88" to="91">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">die</f>
+ <f name="certainty">0.999906</f>
+ <f name="ctag">ART</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_16" from="92" to="104">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">christlich</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_17" from="105" to="117">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Zeitrechnung</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_18" from="117" to="118">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">,</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$,</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_19" from="119" to="125">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Beginn</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_20" from="126" to="129">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">die</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">ART</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_21" from="130" to="132">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">1.</f>
+ <f name="certainty">0.999645</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_22" from="133" to="145">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Jahrhundert</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_23" from="146" to="147">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">.</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_24" from="149" to="150">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">1</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_25" from="150" to="151">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">:</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_26" from="152" to="154">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">in</f>
+ <f name="certainty">0.999968</f>
+ <f name="ctag">APPR</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_27" from="155" to="160">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Haifa</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_28" from="160" to="161">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">/</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$(</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_29" from="161" to="167">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Israel</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_30" from="168" to="172">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">werden</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">VAFIN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_31" from="173" to="176">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">die</f>
+ <f name="certainty">0.999126</f>
+ <f name="ctag">ART</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_32" from="177" to="182">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">erst</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_33" from="183" to="188">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">groß</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_34" from="189" to="199">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">künstlich</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_35" from="200" to="205">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Hafen</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_36" from="206" to="208">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">in</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">APPRART</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_37" from="209" to="216">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">offen</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_38" from="217" to="221">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Meer</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_39" from="222" to="228">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">bauen</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">VVPP</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_40" from="228" to="229">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">.</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_41" from="230" to="231">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">2</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_42" from="231" to="232">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">:</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_43" from="233" to="235">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">in</f>
+ <f name="certainty">0.999968</f>
+ <f name="ctag">APPR</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_44" from="236" to="241">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">China</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_45" from="242" to="248">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">finden</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">VVFIN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_46" from="249" to="252">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">die</f>
+ <f name="certainty">0.997310</f>
+ <f name="ctag">ART</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_47" from="253" to="258">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">erst</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_48" from="259" to="271">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">überliefert</f>
+ <f name="certainty">0.998011</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_49" from="272" to="284">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Volkszählung</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_50" from="285" to="290">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">statt</f>
+ <f name="certainty">0.999990</f>
+ <f name="ctag">PTKVZ</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_51" from="290" to="291">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">.</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_52" from="292" to="295">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Sie</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">PPER</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_53" from="296" to="302">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">ergeben</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">VVFIN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_54" from="303" to="307">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">eine</f>
+ <f name="certainty">0.999504</f>
+ <f name="ctag">ART</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_55" from="308" to="324">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Bevölkerungszahl</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_56" from="325" to="328">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">von</f>
+ <f name="certainty">0.999751</f>
+ <f name="ctag">APPR</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_57" from="329" to="331">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">@card@</f>
+ <f name="certainty">0.998286</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_58" from="332" to="341">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Million</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_59" from="341" to="342">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">.</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_60" from="343" to="344">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">3</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_61" from="344" to="345">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">:</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_62" from="346" to="362">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">UNKNOWN</f>
+ <f name="certainty">0.818378</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ <f name="lex">
+ <fs>
+ <f name="lemma">UNKNOWN</f>
+ <f name="certainty">0.137060</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_63" from="363" to="369">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Marbod</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_64" from="370" to="379">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">vereinigen</f>
+ <f name="certainty">0.668191</f>
+ <f name="ctag">VVFIN</f>
+ </fs>
+ </f>
+ <f name="lex">
+ <fs>
+ <f name="lemma">vereinigt</f>
+ <f name="certainty">0.189785</f>
+ <f name="ctag">ADJD</f>
+ </fs>
+ </f>
+ <f name="lex">
+ <fs>
+ <f name="lemma">vereinigen</f>
+ <f name="certainty">0.142024</f>
+ <f name="ctag">VVPP</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_65" from="380" to="391">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Hermundure</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_66" from="391" to="392">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">,</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$,</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_67" from="393" to="399">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">UNKNOWN</f>
+ <f name="certainty">0.727832</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ <f name="lex">
+ <fs>
+ <f name="lemma">UNKNOWN</f>
+ <f name="certainty">0.138414</f>
+ <f name="ctag">ADJD</f>
+ </fs>
+ </f>
+ <f name="lex">
+ <fs>
+ <f name="lemma">UNKNOWN</f>
+ <f name="certainty">0.132460</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_68" from="399" to="400">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">,</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$,</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_69" from="401" to="412">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Langobarde</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_70" from="413" to="416">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">und</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">KON</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_71" from="417" to="425">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">UNKNOWN</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_72" from="426" to="428">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">in</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">APPR</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_73" from="429" to="435">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">sein</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">PPOSAT</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_74" from="436" to="441">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Reich</f>
+ <f name="certainty">0.886294</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ <f name="lex">
+ <fs>
+ <f name="lemma">Reich</f>
+ <f name="certainty">0.107928</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_75" from="442" to="443">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">(</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$(</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_76" from="443" to="452">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Thüringen</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_77" from="452" to="453">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">)</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$(</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_78" from="453" to="454">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">.</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_79" from="455" to="456">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">6</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_80" from="456" to="457">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">:</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_81" from="458" to="464">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Beginn</f>
+ <f name="certainty">0.943150</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_82" from="465" to="468">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">die</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">ART</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_83" from="469" to="481">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">UNKNOWN</f>
+ <f name="certainty">0.999657</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_84" from="482" to="492">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Aufstand</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_85" from="492" to="493">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">,</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$,</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_86" from="494" to="509">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Niederschlagung</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_87" from="510" to="515">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">durch</f>
+ <f name="certainty">0.999591</f>
+ <f name="ctag">APPR</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_88" from="516" to="519">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Rom</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_89" from="520" to="522">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">in</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">APPRART</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_90" from="523" to="527">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Jahr</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_91" from="528" to="530">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">9.</f>
+ <f name="certainty">0.968153</f>
+ <f name="ctag">ADJA</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_92" from="531" to="532">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">7</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_93" from="532" to="533">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">:</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_94" from="534" to="539">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Varus</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_95" from="540" to="544">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">werden</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">VAFIN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_96" from="545" to="556">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Statthalter</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_97" from="557" to="559">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">in</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">APPR</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_98" from="560" to="569">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Germanien</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_99" from="569" to="570">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">.</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_100" from="571" to="572">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">9</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_101" from="572" to="573">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">:</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_102" from="574" to="587">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Varusschlacht</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_103" from="587" to="588">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">.</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_104" from="590" to="596">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Kultur</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_105" from="599" to="600">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">1</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_106" from="600" to="601">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">:</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_107" from="602" to="606">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Ovid</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_108" from="607" to="615">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">schreiben</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">VVFIN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_109" from="616" to="621">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">sein</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">PPOSAT</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_110" from="622" to="635">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Metamorphose</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_111" from="635" to="636">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">.</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_112" from="638" to="646">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">weblinks</f>
+ <f name="certainty">0.870939</f>
+ <f name="ctag">ADJD</f>
+ </fs>
+ </f>
+ <f name="lex">
+ <fs>
+ <f name="lemma">Weblink</f>
+ <f name="certainty">0.129061</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ </spanList>
+</layer>
diff --git a/t/corpus/WPD17/000/header.xml b/t/corpus/WPD17/000/header.xml
new file mode 100644
index 0000000..4fd7357
--- /dev/null
+++ b/t/corpus/WPD17/000/header.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="header.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<!DOCTYPE idsCorpus PUBLIC "-//IDS//DTD IDS-XCES 1.0//EN" "http://corpora.ids-mannheim.de/idsxces1/DTD/ids.xcesdoc.dtd">
+<idsHeader type="document" pattern="text" status="new" version="1.0" TEIform="teiHeader">
+ <fileDesc>
+ <titleStmt>
+ <dokumentSigle>WPD17/000</dokumentSigle>
+ <d.title>Wikipedia, Artikel mit Anfangszahl 0, Teil 00</d.title>
+ </titleStmt>
+ <publicationStmt>
+ <distributor/>
+ <pubAddress/>
+ <availability region="world">CC-BY-SA</availability>
+ <pubDate/>
+ </publicationStmt>
+ <sourceDesc>
+ <biblStruct Default="n">
+ <monogr>
+ <h.title type="main"/>
+ <imprint/>
+ </monogr>
+ </biblStruct>
+ </sourceDesc>
+ </fileDesc>
+ </idsHeader>
\ No newline at end of file
diff --git a/t/corpus/WPD17/060/18486/base/tokens.xml b/t/corpus/WPD17/060/18486/base/tokens.xml
new file mode 100644
index 0000000..71f594d
--- /dev/null
+++ b/t/corpus/WPD17/060/18486/base/tokens.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<layer docid="WPD17_060.18486" xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4">
+ <spanList>
+ <span id="t_0" from="0" to="2" />
+ <span id="t_1" from="3" to="8" />
+ <span id="t_2" from="9" to="12" />
+ <span id="t_3" from="12" to="13" />
+ <span id="t_4" from="16" to="23" />
+ <span id="t_5" from="24" to="26" />
+ <span id="t_6" from="27" to="29" />
+ <span id="t_7" from="30" to="32" />
+ <span id="t_8" from="32" to="33" />
+ <span id="t_9" from="34" to="37" />
+ <span id="t_10" from="38" to="56" />
+ </spanList>
+</layer>
\ No newline at end of file
diff --git a/t/corpus/WPD17/060/18486/data.xml b/t/corpus/WPD17/060/18486/data.xml
new file mode 100644
index 0000000..ca6bae2
--- /dev/null
+++ b/t/corpus/WPD17/060/18486/data.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="text.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<raw_text docid="WPD17_060.18486" xmlns="http://ids-mannheim.de/ns/KorAP">
+ <metadata file="metadata.xml" />
+ <text>08 steht für: Pistole 08 MG 08, ein Maschinengewehrtyp </text>
+</raw_text>
\ No newline at end of file
diff --git a/t/corpus/WPD17/060/18486/header.xml b/t/corpus/WPD17/060/18486/header.xml
new file mode 100644
index 0000000..441bb86
--- /dev/null
+++ b/t/corpus/WPD17/060/18486/header.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="header.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<!DOCTYPE idsCorpus PUBLIC "-//IDS//DTD IDS-XCES 1.0//EN" "http://corpora.ids-mannheim.de/idsxces1/DTD/ids.xcesdoc.dtd">
+<idsHeader type="text" pattern="text" status="new" version="1.0" TEIform="teiHeader">
+ <fileDesc>
+ <titleStmt>
+ <textSigle>WPD17/060.18486</textSigle>
+ <t.title assemblage="external">WPD17/060.18486 08, In: Wikipedia - URL:http://de.wikipedia.org/wiki/08: Wikipedia, 2017</t.title>
+ </titleStmt>
+ <editionStmt version="0"/>
+ <publicationStmt>
+ <distributor/>
+ <pubAddress/>
+ <availability region="world" Default="n" status="unknown">CC-BY-SA</availability>
+ <pubDate/>
+ </publicationStmt>
+ <sourceDesc Default="n">
+ <biblStruct Default="n" status="draft">
+ <analytic>
+ <h.title type="main">08</h.title>
+ <h.title type="sub"/>
+ <h.title type="abbr" level="m"/>
+ <h.title type="abbr" level="a"/>
+ <h.author>EmausBot, u.a.</h.author>
+ <editor/>
+ <imprint/>
+ <biblScope type="subsume"/>
+ <biblScope type="pp"/>
+ <biblNote n="1"/>
+ </analytic>
+ <monogr>
+ <h.title type="main"/>
+ <editor>wikipedia.org</editor>
+ <edition>
+ <further> Dump file "dewiki-20170701-pages-meta-current.xml" retrieved from http://dumps.wikimedia.org </further>
+ <kind/>
+ <appearance/>
+ </edition>
+ <imprint>
+ <pubDate type="year">2017</pubDate>
+ <pubDate type="month">07</pubDate>
+ <pubDate type="day">01</pubDate>
+ </imprint>
+ <biblScope type="vol"/>
+ <biblScope type="volume-title"/>
+ </monogr>
+ <relatedItem type="langlink">
+ <ref target="https://ru.wikipedia.org/wiki/08" xml:lang="key">08</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://vi.wikipedia.org/wiki/08" xml:lang="key">08</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ko.wikipedia.org/wiki/08" xml:lang="key">08</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://ja.wikipedia.org/wiki/08" xml:lang="key">08</ref>
+ </relatedItem>
+ <relatedItem type="langlink">
+ <ref target="https://en.wikipedia.org/wiki/08" xml:lang="key">08</ref>
+ </relatedItem>
+ </biblStruct>
+ <reference type="complete" assemblage="non-automatic">WPD17/060.18486 08, In: Wikipedia - URL:http://de.wikipedia.org/wiki/08: Wikipedia, 2017</reference>
+ <reference type="short" assemblage="regular">WPD17/060.18486 Wikipedia; 08, (Letzte Änderung 4.4.2013 ) 1.7.2017</reference>
+ </sourceDesc>
+ </fileDesc>
+ <encodingDesc>
+ <samplingDecl Default="n"/>
+ <editorialDecl Default="n">
+ <pagination type="no"/>
+ </editorialDecl>
+ </encodingDesc>
+ <profileDesc>
+ <creation>
+ <creatDate>2013.04.04</creatDate>
+ <creatRef>(Letzte Änderung 4.4.2013)</creatRef>
+ <creatRefShort>(Letzte Änderung 4.4.2013)</creatRefShort>
+ </creation>
+ <textClass Default="n">
+ <classCode scheme="https://en.wikipedia.org/wiki/Portal:Contents/Categories"/>
+ <catRef n="0.503211" target="topic.staat-gesellschaft.verbrechen" scheme="topic"/>
+ <catRef n="0.180474" target="topic.gesundheit-ernaehrung.gesundheit" scheme="topic"/>
+ </textClass>
+ <textDesc Default="n">
+ <textTypeArt>Enzyklopädie-Artikel</textTypeArt>
+ <textDomain/>
+ </textDesc>
+ </profileDesc>
+ </idsHeader>
\ No newline at end of file
diff --git a/t/corpus/WPD17/060/18486/lwc/dependency.xml b/t/corpus/WPD17/060/18486/lwc/dependency.xml
new file mode 100644
index 0000000..ef1a3c9
--- /dev/null
+++ b/t/corpus/WPD17/060/18486/lwc/dependency.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<layer docid="WPD17_060.18486" xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4">
+<spanList>
+<span id="s0_n40" from="0" to="2">
+<rel label="--">
+<span from="0" to="13"/>
+</rel>
+</span>
+<span id="s0_n41" from="3" to="8">
+<rel label="MO">
+<span from="0" to="13"/>
+</rel>
+</span>
+<span id="s0_n42" from="9" to="12">
+<rel label="NK">
+<span from="0" to="13"/>
+</rel>
+</span>
+<span id="s0_n43" from="12" to="13">
+<rel label="SB">
+<span from="0" to="13"/>
+</rel>
+</span>
+<span id="s0_n44" from="16" to="23">
+<rel label="--">
+<span from="0" to="10"/>
+</rel>
+</span>
+<span id="s0_n45" from="24" to="26">
+<rel label="PD">
+<span from="0" to="10"/>
+</rel>
+</span>
+<span id="s0_n46" from="27" to="29">
+<rel label="AG">
+<span from="0" to="10"/>
+</rel>
+</span>
+<span id="s0_n47" from="30" to="32">
+<rel label="MNR">
+<span from="0" to="10"/>
+</rel>
+</span>
+<span id="s0_n48" from="32" to="33">
+<rel label="NK">
+<span from="0" to="10"/>
+</rel>
+</span>
+<span id="s0_n49" from="34" to="37">
+<rel label="NK">
+<span from="0" to="10"/>
+</rel>
+</span>
+<span id="s0_n50" from="38" to="56">
+<rel label="--">
+<span from="0" to="10"/>
+</rel>
+</span>
+</spanList>
+</layer>
diff --git a/t/corpus/WPD17/060/18486/malt/dependency.xml b/t/corpus/WPD17/060/18486/malt/dependency.xml
new file mode 100644
index 0000000..cecede7
--- /dev/null
+++ b/t/corpus/WPD17/060/18486/malt/dependency.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<layer docid="WPD17_060.18486" xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4">
+<spanList>
+<span id="s1_n1" from="0" to="2">
+<rel label="SUBJ">
+<span from="3" to="8"/>
+</rel>
+</span>
+<span id="s1_n2" from="3" to="8">
+<rel label="ROOT">
+<span from="0" to="13"/>
+</rel>
+</span>
+<span id="s1_n3" from="9" to="12">
+<rel label="OBJP">
+<span from="3" to="8"/>
+</rel>
+</span>
+<span id="s1_n4" from="12" to="13">
+<rel label="-PUNCT-">
+<span from="9" to="12"/>
+</rel>
+</span>
+<span id="s2_n1" from="16" to="23">
+<rel label="ROOT">
+<span from="16" to="10"/>
+</rel>
+</span>
+<span id="s2_n2" from="24" to="26">
+<rel label="APP">
+<span from="16" to="23"/>
+</rel>
+</span>
+<span id="s2_n3" from="27" to="29">
+<rel label="APP">
+<span from="24" to="26"/>
+</rel>
+</span>
+<span id="s2_n4" from="30" to="32">
+<rel label="APP">
+<span from="27" to="29"/>
+</rel>
+</span>
+<span id="s2_n5" from="32" to="33">
+<rel label="-PUNCT-">
+<span from="30" to="32"/>
+</rel>
+</span>
+<span id="s2_n6" from="34" to="37">
+<rel label="DET">
+<span from="38" to="56"/>
+</rel>
+</span>
+<span id="s2_n7" from="38" to="56">
+<rel label="ROOT">
+<span from="16" to="10"/>
+</rel>
+</span>
+</spanList>
+</layer>
diff --git a/t/corpus/WPD17/060/18486/struct/structure.xml b/t/corpus/WPD17/060/18486/struct/structure.xml
new file mode 100644
index 0000000..37664ee
--- /dev/null
+++ b/t/corpus/WPD17/060/18486/struct/structure.xml
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<layer docid="WPD17_060.18486" xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4">
+ <spanList>
+ <span id="s0" from="0" to="57" l="1">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">text</f>
+ </fs>
+ </span>
+ <span id="s1" from="0" to="0" l="2">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">front</f>
+ </fs>
+ </span>
+ <span id="s2" from="0" to="57" l="2">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">body</f>
+ </fs>
+ </span>
+ <span id="s3" from="0" to="57" l="3">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">div</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="n">0</f>
+ <f name="type">section</f>
+ <f name="part">N</f>
+ <f name="org">uniform</f>
+ <f name="sample">complete</f>
+ <f name="complete">y</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s4" from="0" to="15" l="4">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">p</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="part">N</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s5" from="0" to="2" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">hi</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="rend">bo</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s6" from="15" to="57" l="4">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">list</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="type">ul</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s7" from="15" to="26" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">item</f>
+ </fs>
+ </span>
+ <span id="s8" from="16" to="26" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/Pistole_08</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s9" from="26" to="57" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">item</f>
+ </fs>
+ </span>
+ <span id="s10" from="27" to="32" l="6">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">ref</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="target">https://de.wikipedia.org/wiki/MG_08</f>
+ <f name="targOrder">u</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s11" from="57" to="57" l="4">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">p</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="part">N</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s12" from="57" to="57" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">gap</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="desc">template</f>
+ <f name="reason">omitted</f>
+ <f name="instant">false</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s13" from="57" to="57" l="4">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">p</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="part">N</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s14" from="57" to="57" l="5">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">gap</f>
+ <f name="attr">
+ <fs type="attr">
+ <f name="desc">template</f>
+ <f name="reason">omitted</f>
+ <f name="instant">false</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="s15" from="57" to="57" l="2">
+ <fs type="struct" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="name">back</f>
+ </fs>
+ </span>
+ </spanList>
+</layer>
\ No newline at end of file
diff --git a/t/corpus/WPD17/060/18486/tree_tagger/morpho.xml b/t/corpus/WPD17/060/18486/tree_tagger/morpho.xml
new file mode 100644
index 0000000..b412c08
--- /dev/null
+++ b/t/corpus/WPD17/060/18486/tree_tagger/morpho.xml
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<layer xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4" docid="WPD17_060.18486">
+ <spanList>
+ <span id="t_0" from="0" to="2">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">@card@</f>
+ <f name="certainty">0.993826</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_1" from="3" to="8">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">stehen</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">VVFIN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_2" from="9" to="12">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">für</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">APPR</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_3" from="12" to="13">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">:</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$.</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_4" from="16" to="23">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">Pistole</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_5" from="24" to="26">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">@card@</f>
+ <f name="certainty">0.980489</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_6" from="27" to="29">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">MG</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NE</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_7" from="30" to="32">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">@card@</f>
+ <f name="certainty">0.994623</f>
+ <f name="ctag">CARD</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_8" from="32" to="33">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">,</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">$,</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_9" from="34" to="37">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">eine</f>
+ <f name="certainty">0.998519</f>
+ <f name="ctag">ART</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ <span id="t_10" from="38" to="56">
+ <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+ <f name="lex">
+ <fs>
+ <f name="lemma">UNKNOWN</f>
+ <f name="certainty">1.000000</f>
+ <f name="ctag">NN</f>
+ </fs>
+ </f>
+ </fs>
+ </span>
+ </spanList>
+</layer>
diff --git a/t/corpus/WPD17/060/header.xml b/t/corpus/WPD17/060/header.xml
new file mode 100644
index 0000000..f5ad557
--- /dev/null
+++ b/t/corpus/WPD17/060/header.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="header.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<!DOCTYPE idsCorpus PUBLIC "-//IDS//DTD IDS-XCES 1.0//EN" "http://corpora.ids-mannheim.de/idsxces1/DTD/ids.xcesdoc.dtd">
+<idsHeader type="document" pattern="text" status="new" version="1.0" TEIform="teiHeader">
+ <fileDesc>
+ <titleStmt>
+ <dokumentSigle>WPD17/060</dokumentSigle>
+ <d.title>Wikipedia, Artikel mit Anfangszahl 0, Teil 60</d.title>
+ </titleStmt>
+ <publicationStmt>
+ <distributor/>
+ <pubAddress/>
+ <availability region="world">CC-BY-SA</availability>
+ <pubDate/>
+ </publicationStmt>
+ <sourceDesc>
+ <biblStruct Default="n">
+ <monogr>
+ <h.title type="main"/>
+ <imprint/>
+ </monogr>
+ </biblStruct>
+ </sourceDesc>
+ </fileDesc>
+ </idsHeader>
\ No newline at end of file
diff --git a/t/corpus/WPD17/header.xml b/t/corpus/WPD17/header.xml
new file mode 100644
index 0000000..9f1a710
--- /dev/null
+++ b/t/corpus/WPD17/header.xml
@@ -0,0 +1,260 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="header.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<!DOCTYPE idsCorpus PUBLIC "-//IDS//DTD IDS-XCES 1.0//EN" "http://corpora.ids-mannheim.de/idsxces1/DTD/ids.xcesdoc.dtd">
+<idsHeader type="corpus" pattern="allesaußerZtg/Zschr" status="new" version="1.0" TEIform="teiHeader">
+ <fileDesc>
+ <titleStmt>
+ <korpusSigle>WPD17</korpusSigle>
+ <c.title>Wikipedia.de 2017 Artikel</c.title>
+ </titleStmt>
+ <editionStmt version="1.0"/>
+ <publicationStmt>
+ <distributor>Institut für Deutsche Sprache</distributor>
+ <pubAddress>Postfach 10 16 21, D-68016 Mannheim</pubAddress>
+ <telephone>+49 (0)621 1581 0</telephone>
+ <eAddress type="www">http://www.ids-mannheim.de</eAddress>
+ <eAddress type="www">http://www.ids-mannheim.de/kl/projekte/korpora/</eAddress>
+ <eAddress type="email">dereko@ids-mannheim.de</eAddress>
+ <availability status="restricted">This document, the IDS-Wikipedia.de-Corpus, is part of the Archive of General Reference Corpora at the IDS. It is published under the Creative Commons Attribution-ShareAlike License. See http://creativecommons.org/licenses/by-sa/3.0/legalcode for details. See http://www.ids-mannheim.de/kl/projekte/korpora/releases.html on how to refer to this document.</availability>
+ <pubDate type="year">2017</pubDate>
+ </publicationStmt>
+ <sourceDesc>
+ <biblStruct Default="n">
+ <monogr>
+ <h.title type="main">Wikipedia</h.title>
+ <h.author/>
+ <editor>wikipedia.org</editor>
+ <edition>
+ <further>Dump file "dewiki-20170701-pages-meta-current.xml" retrieved from http://dumps.wikimedia.org</further>
+ <kind/>
+ <appearance/>
+ </edition>
+ <imprint>
+ <publisher>Wikipedia</publisher>
+ <pubPlace>URL:http://de.wikipedia.org</pubPlace>
+ </imprint>
+ </monogr>
+ </biblStruct>
+ </sourceDesc>
+ </fileDesc>
+ <encodingDesc>
+ <editorialDecl>
+ <conformance>This document conforms to I5 (see http://jtei.revues.org/508)</conformance>
+ <transduction>This document has been generated via a two-stage conversion by Eliza Margaretha. In the first stage, wikitext from a Wikidump is converted into WikiXML by the WikiXMLConverter tool and in the second stage, WikiXML is converted into I5 by the WikiI5Converter tool. The converters are available at http://corpora.ids-mannheim.de/pub/tools/. Reference: Eliza Margaretha and Harald Lüngen (2014): Building Linguistic Corporafrom Wikipedia Articles and Discussions. In: Journal of LanguageTechnology and Computational Linguistics (JLCL) 29 (2). Special Issue onBuilding and Annotating Corpora of Computer-mediated Communication:Issues and Challenges at the Interface between Computational and CorpusLinguistics, edited by Michael Beißwenger, Nelleke Oostdijk, AngelikaStorrer and Henk van den Heuvel. URL:http://www.jlcl.org/2014_Heft2/Heft2-2014.pdf</transduction>
+ </editorialDecl>
+ <classDecl>
+ <taxonomy id="topic">
+ <h.bibl>Thementaxonomie (siehe http://www.ids-mannheim.de/kl/projekte/methoden/te.html)</h.bibl>
+ <category id="topic.fiktion">
+ <catDesc>Fiktion</catDesc>
+ <category id="topic.fiktion.vermischtes">
+ <catDesc>Fiktion:Vermischtes</catDesc>
+ </category>
+ </category>
+ <category id="topic.freizeit-unterhaltung">
+ <catDesc>Freizeit_Unterhaltung</catDesc>
+ <category id="topic.freizeit-unterhaltung.reisen">
+ <catDesc>Freizeit_Unterhaltung:Reisen</catDesc>
+ </category>
+ <category id="topic.freizeit-unterhaltung.rundfunk">
+ <catDesc>Freizeit_Unterhaltung:Rundfunk</catDesc>
+ </category>
+ <category id="topic.freizeit-unterhaltung.vereine-veranstaltungen">
+ <catDesc>Freizeit_Unterhaltung:Vereine_Veranstaltungen</catDesc>
+ </category>
+ </category>
+ <category id="topic.gesundheit-ernaehrung">
+ <catDesc>Gesundheit_Ernaehrung</catDesc>
+ <category id="topic.gesundheit-ernaehrung.ernaehrung">
+ <catDesc>Gesundheit_Ernaehrung:Ernaehrung</catDesc>
+ </category>
+ <category id="topic.gesundheit-ernaehrung.gesundheit">
+ <catDesc>Gesundheit_Ernaehrung:Gesundheit</catDesc>
+ </category>
+ </category>
+ <category id="topic.kultur">
+ <catDesc>Kultur</catDesc>
+ <category id="topic.kultur.bildende-kunst">
+ <catDesc>Kultur:Bildende Kunst</catDesc>
+ </category>
+ <category id="topic.kultur.darstellende-kunst">
+ <catDesc>Kultur:Darstellende Kunst</catDesc>
+ </category>
+ <category id="topic.kultur.film">
+ <catDesc>Kultur:Film</catDesc>
+ </category>
+ <category id="topic.kultur.literatur">
+ <catDesc>Kultur:Literatur</catDesc>
+ </category>
+ <category id="topic.kultur.mode">
+ <catDesc>Kultur:Mode</catDesc>
+ </category>
+ <category id="topic.kultur.musik">
+ <catDesc>Kultur:Musik</catDesc>
+ </category>
+ </category>
+ <category id="topic.natur-umwelt">
+ <catDesc>Natur_Umwelt</catDesc>
+ <category id="topic.natur-umwelt.garten">
+ <catDesc>Natur_Umwelt:Garten</catDesc>
+ </category>
+ <category id="topic.natur-umwelt.tiere">
+ <catDesc>Natur_Umwelt:Tiere</catDesc>
+ </category>
+ <category id="topic.natur-umwelt.wetter-klima">
+ <catDesc>Natur_Umwelt:Wetter_Klima</catDesc>
+ </category>
+ </category>
+ <category id="topic.politik">
+ <catDesc>Politik</catDesc>
+ <category id="topic.politik.ausland">
+ <catDesc>Politik:Ausland</catDesc>
+ </category>
+ <category id="topic.politik.inland">
+ <catDesc>Politik:Inland</catDesc>
+ </category>
+ <category id="topic.politik.kommunalpolitik">
+ <catDesc>Politik:Kommunalpolitik</catDesc>
+ </category>
+ </category>
+ <category id="topic.rest">
+ <catDesc>Rest</catDesc>
+ <category id="topic.rest.boersenkurse">
+ <catDesc>Rest:boersenkurse</catDesc>
+ </category>
+ <category id="topic.rest.geburt-tod-heirat">
+ <catDesc>Rest:geburt_tod_heirat</catDesc>
+ </category>
+ <category id="topic.rest.impressum">
+ <catDesc>Rest:impressum</catDesc>
+ </category>
+ <category id="topic.rest.inhaltsverzeichnisse">
+ <catDesc>Rest:inhaltsverzeichnisse</catDesc>
+ </category>
+ <category id="topic.rest.ligatabellen">
+ <catDesc>Rest:ligatabellen</catDesc>
+ </category>
+ <category id="topic.rest.tabellen">
+ <catDesc>Rest:tabellen</catDesc>
+ </category>
+ <category id="topic.rest.veranstaltungshinweise">
+ <catDesc>Rest:veranstaltungshinweise</catDesc>
+ </category>
+ </category>
+ <category id="topic.sport">
+ <catDesc>Sport</catDesc>
+ <category id="topic.sport.ballsport">
+ <catDesc>Sport:Ballsport</catDesc>
+ </category>
+ <category id="topic.sport.fussball">
+ <catDesc>Sport:Fussball</catDesc>
+ </category>
+ <category id="topic.sport.motorsport">
+ <catDesc>Sport:Motorsport</catDesc>
+ </category>
+ <category id="topic.sport.radsport">
+ <catDesc>Sport:Radsport</catDesc>
+ </category>
+ <category id="topic.sport.tennis">
+ <catDesc>Sport:Tennis</catDesc>
+ </category>
+ <category id="topic.sport.vermischtes">
+ <catDesc>Sport:Vermischtes</catDesc>
+ </category>
+ <category id="topic.sport.wintersport">
+ <catDesc>Sport:Wintersport</catDesc>
+ </category>
+ </category>
+ <category id="topic.staat-gesellschaft">
+ <catDesc>Staat_Gesellschaft</catDesc>
+ <category id="topic.staat-gesellschaft.arbeit-und-beruf">
+ <catDesc>Staat_Gesellschaft:Arbeit_und_Beruf</catDesc>
+ </category>
+ <category id="topic.staat-gesellschaft.bildung">
+ <catDesc>Staat_Gesellschaft:Bildung</catDesc>
+ </category>
+ <category id="topic.staat-gesellschaft.biographien-interviews">
+ <catDesc>Staat_Gesellschaft:Biographien_Interviews</catDesc>
+ </category>
+ <category id="topic.staat-gesellschaft.drittes-reich-rechtsextremismus">
+ <catDesc>Staat_Gesellschaft:Drittes_Reich_Rechtsextremismus</catDesc>
+ </category>
+ <category id="topic.staat-gesellschaft.familie-geschlecht">
+ <catDesc>Staat_Gesellschaft:Familie_Geschlecht</catDesc>
+ </category>
+ <category id="topic.staat-gesellschaft.kirche">
+ <catDesc>Staat_Gesellschaft:Kirche</catDesc>
+ </category>
+ <category id="topic.staat-gesellschaft.recht">
+ <catDesc>Staat_Gesellschaft:Recht</catDesc>
+ </category>
+ <category id="topic.staat-gesellschaft.tod">
+ <catDesc>Staat_Gesellschaft:Tod</catDesc>
+ </category>
+ <category id="topic.staat-gesellschaft.verbrechen">
+ <catDesc>Staat_Gesellschaft:Verbrechen</catDesc>
+ </category>
+ </category>
+ <category id="topic.technik-industrie">
+ <catDesc>Technik_Industrie</catDesc>
+ <category id="topic.technik-industrie.edv-elektronik">
+ <catDesc>Technik_Industrie:EDV_Elektronik</catDesc>
+ </category>
+ <category id="topic.technik-industrie.kfz">
+ <catDesc>Technik_Industrie:Kfz</catDesc>
+ </category>
+ <category id="topic.technik-industrie.transport-verkehr">
+ <catDesc>Technik_Industrie:Transport_Verkehr</catDesc>
+ </category>
+ <category id="topic.technik-industrie.umweltschutz">
+ <catDesc>Technik_Industrie:Umweltschutz</catDesc>
+ </category>
+ <category id="topic.technik-industrie.unfaelle">
+ <catDesc>Technik_Industrie:Unfaelle</catDesc>
+ </category>
+ </category>
+ <category id="topic.wirtschaft-finanzen">
+ <catDesc>Wirtschaft_Finanzen</catDesc>
+ <category id="topic.wirtschaft-finanzen.banken">
+ <catDesc>Wirtschaft_Finanzen:Banken</catDesc>
+ </category>
+ <category id="topic.wirtschaft-finanzen.bilanzen">
+ <catDesc>Wirtschaft_Finanzen:Bilanzen</catDesc>
+ </category>
+ <category id="topic.wirtschaft-finanzen.oeffentliche-finanzen">
+ <catDesc>Wirtschaft_Finanzen:Oeffentliche_Finanzen</catDesc>
+ </category>
+ <category id="topic.wirtschaft-finanzen.sozialprodukt">
+ <catDesc>Wirtschaft_Finanzen:Sozialprodukt</catDesc>
+ </category>
+ <category id="topic.wirtschaft-finanzen.waehrung">
+ <catDesc>Wirtschaft_Finanzen:Waehrung</catDesc>
+ </category>
+ </category>
+ <category id="topic.wissenschaft">
+ <catDesc>Wissenschaft</catDesc>
+ <category id="topic.wissenschaft.populaerwissenschaft">
+ <catDesc>Wissenschaft:Populaerwissenschaft</catDesc>
+ </category>
+ </category>
+ <category id="topic.unklassifizierbar">
+ <catDesc>Text ist thematisch nicht klassifizierbar.</catDesc>
+ </category>
+ </taxonomy>
+ </classDecl>
+ </encodingDesc>
+ <profileDesc>
+ <langUsage>
+ <language id="de" usage="100">Deutsch</language>
+ </langUsage>
+ <textDesc>
+ <textType>Enzyklopädie</textType>
+ <textTypeRef/>
+ </textDesc>
+ </profileDesc>
+ <revisionDesc>
+ <listChange>
+ <change when="2017-10-26" who="Eliza Margaretha">public release</change>
+ </listChange>
+ </revisionDesc>
+ </idsHeader>
\ No newline at end of file
diff --git a/t/real/lwc.t b/t/real/lwc.t
new file mode 100644
index 0000000..a2e28b1
--- /dev/null
+++ b/t/real/lwc.t
@@ -0,0 +1,150 @@
+use strict;
+use warnings;
+use Test::More;
+use Data::Dumper;
+use JSON::XS;
+
+use Benchmark qw/:hireswallclock/;
+
+my $t = Benchmark->new;
+
+use utf8;
+use lib 'lib', '../lib';
+
+use File::Basename 'dirname';
+use File::Spec::Functions 'catdir';
+
+use_ok('KorAP::XML::Krill');
+
+# This will Check LWC annotations
+
+# New
+
+my $path = catdir(dirname(__FILE__), '../corpus/WPD17/000/22053');
+
+ok(my $doc = KorAP::XML::Krill->new( path => $path . '/' ), 'Load Korap::Document');
+ok($doc->parse, 'Parse document');
+
+is($doc->text_sigle, 'WPD17/000/22053', 'Correct text sigle');
+is($doc->doc_sigle, 'WPD17/000', 'Correct document sigle');
+is($doc->corpus_sigle, 'WPD17', 'Correct corpus sigle');
+
+my $meta = $doc->meta;
+is($meta->{title}, '0er', 'Title');
+is($meta->{pub_place}, 'URL:http://de.wikipedia.org', 'PubPlace');
+is($meta->{pub_date}, '20170701', 'Creation Date');
+ok(!$meta->{sub_title}, 'SubTitle');
+is($meta->{author}, 'Rogi.Official, u.a.', 'Author');
+
+is($meta->{publisher}, 'Wikipedia', 'Publisher');
+is($meta->{editor},'wikipedia.org', 'Editor');
+ok(!$meta->{translator}, 'Translator');
+is($meta->{text_type}, 'Enzyklopädie', 'Correct Text Type');
+is($meta->{text_type_art}, 'Enzyklopädie-Artikel', 'Correct Text Type Art');
+ok(!$meta->{text_type_ref}, 'Correct Text Type Ref');
+ok(!$meta->{text_column}, 'Correct Text Column');
+ok(!$meta->{text_domain}, 'Correct Text Domain');
+is($meta->{creation_date},'20150511', 'Creation Date');
+
+ok(!$meta->{pages}, 'Pages');
+ok(!$meta->{file_edition_statement}, 'File Ed Statement');
+ok(!$meta->{bibl_edition_statement}, 'Bibl Ed Statement');
+is($meta->{reference}, '0er, In: Wikipedia - URL:http://de.wikipedia.org/wiki/0er: Wikipedia, 2017', 'Reference');
+is($meta->{language}, 'de', 'Language');
+
+is($meta->{corpus_title}, 'Wikipedia', 'Correct Corpus title');
+ok(!$meta->{corpus_sub_title}, 'Correct Corpus Sub title');
+ok(!$meta->{corpus_author}, 'Correct Corpus author');
+is($meta->{corpus_editor}, 'wikipedia.org', 'Correct Corpus editor');
+
+is($meta->{doc_title}, 'Wikipedia, Artikel mit Anfangszahl 0, Teil 00', 'Correct Doc title');
+ok(!$meta->{doc_sub_title}, 'Correct Doc Sub title');
+ok(!$meta->{doc_author}, 'Correct Doc author');
+ok(!$meta->{doc_editor}, 'Correct Doc editor');
+
+# Tokenization
+use_ok('KorAP::XML::Tokenizer');
+
+my ($token_base_foundry, $token_base_layer) = (qw/Base Tokens/);
+
+# Get tokenization
+my $tokens = KorAP::XML::Tokenizer->new(
+ path => $doc->path,
+ doc => $doc,
+ foundry => $token_base_foundry,
+ layer => $token_base_layer,
+ name => 'tokens'
+);
+ok($tokens, 'Token Object is fine');
+ok($tokens->parse, 'Token parsing is fine');
+
+my $output = decode_json( $tokens->to_json );
+
+## Base
+$tokens->add('DeReKo', 'Structure', 'base_sentences_paragraphs');
+
+# LWC
+ok($tokens->add('LWC', 'Dependency'), 'Add LWC dependency annotations');
+
+$output = $tokens->to_data;
+
+is($output->{data}->{foundries},
+ 'dereko dereko/structure dereko/structure/base_sentences_paragraphs lwc lwc/dependency',
+ 'Foundries');
+
+is($output->{data}->{layerInfos}, 'dereko/s=spans lwc/d=rels', 'layerInfos');
+
+my $token = join('||', @{$output->{data}->{stream}->[7]});
+
+like($token, qr!>:lwc/d:NK\$<b>33<i>1<i>62<i>0<i>8!, 'data');
+like($token, qr!i:statt!, 'data');
+
+$token = join('||', @{$output->{data}->{stream}->[9]});
+
+like($token, qr!>:lwc/d:--\$<b>33<i>1<i>76<i>0<i>11!, 'data');
+like($token, qr!s:Januar!, 'data');
+
+
+$path = catdir(dirname(__FILE__), '../corpus/WPD17/060/18486');
+
+ok($doc = KorAP::XML::Krill->new( path => $path . '/' ), 'Load Korap::Document');
+ok($doc->parse, 'Parse document');
+
+$meta = $doc->meta;
+
+is($meta->{doc_title}, 'Wikipedia, Artikel mit Anfangszahl 0, Teil 60', 'No doc title');
+ok(!exists $meta->{translator}, 'No translator');
+
+is($meta->{text_class}->[0], 'staat-gesellschaft', 'text class');
+is($meta->{text_class}->[1], 'verbrechen', 'text class');
+
+
+
+
+# Get tokenization
+$tokens = KorAP::XML::Tokenizer->new(
+ path => $doc->path,
+ doc => $doc,
+ foundry => $token_base_foundry,
+ layer => $token_base_layer,
+ name => 'tokens'
+);
+ok($tokens, 'Token Object is fine');
+ok($tokens->parse, 'Token parsing is fine');
+
+## Base
+$tokens->add('DeReKo', 'Structure', 'base_sentences_paragraphs');
+
+# LWC
+ok($tokens->add('LWC', 'Dependency'), 'Add LWC dependency annotations');
+
+$output = decode_json( $tokens->to_json );
+
+$token = join('||', @{$output->{data}->{stream}->[2]});
+
+like($token, qr!>:lwc/d:NK\$<b>33<i>0<i>13<i>0<i>3!, 'data');
+like($token, qr!s:für!, 'data');
+
+
+done_testing;
+__END__