Ground Truth Richtlinienen OCR-D: Koordinierten Förderinitiative zur Weiterentwicklung von Verfahren der Optical
Character Recognition gefördert von der DFG
One-to-one relation between to layout object. Use 'link'
for loose relations and 'join' for strong relations
(where something is fragmented for instance).
Examples for 'link': caption - image floating -
paragraph paragraph - paragraph (when a paragraph is
split across columns and the last word of the first
paragraph DOES NOT continue in the second paragraph)
drop-cap - paragraph (when the drop-cap is a whole word)
Examples for 'join': word - word (separated word at the
end of a line) drop-cap - paragraph (when the drop-cap
is not a whole word) paragraph - paragraph (when a
pragraph is split across columns and the last word of
the first paragraph DOES continue in the second
paragraph)
<complexType name="RelationType">
<annotation>
<documentation>One-to-one relation between to layout object. Use 'link' for loose relations and 'join' for strong relations (where something is fragmented for instance). Examples for 'link': caption - image floating - paragraph paragraph - paragraph (when a paragraph is split across columns and the last word of the first paragraph DOES NOT continue in the second paragraph) drop-cap - paragraph (when the drop-cap is a whole word) Examples for 'join': word - word (separated word at the end of a line) drop-cap - paragraph (when the drop-cap is not a whole word) paragraph - paragraph (when a pragraph is split across columns and the last word of the first paragraph DOES continue in the second paragraph)</documentation>
</annotation>
<sequence>
<element name="Labels" type="pc:LabelsType" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Semantic labels / tags</documentation>
</annotation>
</element>
<element name="SourceRegionRef" type="pc:RegionRefType" minOccurs="1" maxOccurs="1">
</element>
<element name="TargetRegionRef" type="pc:RegionRefType" minOccurs="1" maxOccurs="1">
</element>
</sequence>
<attribute name="id" type="ID" use="required"/>
<attribute name="type">
<simpleType>
<restriction base="string">
<enumeration value="link"/>
<enumeration value="join"/>
</restriction>
</simpleType>
</attribute>
<attribute name="custom" type="string">
<annotation>
<documentation>For generic use</documentation>
</annotation>
</attribute>
<attribute name="comments" type="string"/>
</complexType>