Skip to content

Commit

Permalink
added TrEd Schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Paolo Ruffolo committed Jun 10, 2020
1 parent 8a70bbb commit f71b4b6
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
20 changes: 20 additions & 0 deletions IT-TB_PML-schemas-for-TrEd/adata_it_schema.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<pml_schema
xmlns="http://ufal.mff.cuni.cz/pdt/pml/schema/"
version="1.1">
<revision>1.0.0</revision>
<description>Index Thomisticus Analytical Trees</description>
<reference name="mdata" readas="pml"/>

<import schema="adata_schema.xml" minimal_revision="1.0.2"/>
<derive type="a-node.type">
<structure>
<member name="LTBccs"><cdata format="any"/></member>
<member name="LTBSTAA"><cdata format="any"/></member>

<!-- remove the following line if you want afun to be required: -->
<member name="afun" type="a-afun.type" required="0"/>
</structure>
</derive>

</pml_schema>
22 changes: 22 additions & 0 deletions IT-TB_PML-schemas-for-TrEd/mdata_it_schema.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<pml_schema
xmlns="http://ufal.mff.cuni.cz/pdt/pml/schema/" version="1.1">
<revision>1.0.0</revision>
<description>Index Thomisticus Morphological Annotation</description>
<reference name="wdata" readas="pml"/>

<import schema="mdata_schema.xml" minimal_revision="1.0.2"/>
<derive type="m-node.type">
<structure>
<member name="lcf"><cdata format="any"/></member>
<member name="lbim"><cdata format="any"/></member>
<member name="lbit"><cdata format="any"/></member>
<member name="lcu"><cdata format="any"/></member>
<member name="lbis"><cdata format="any"/></member>
<member name="lc"><cdata format="any"/></member>
<member name="fbil"><cdata format="any"/></member>
<member name="lid"><cdata format="any"/></member>
</structure>
</derive>

</pml_schema>
25 changes: 25 additions & 0 deletions IT-TB_PML-schemas-for-TrEd/wdata_it_schema.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<pml_schema
xmlns="http://ufal.mff.cuni.cz/pdt/pml/schema/"
version="1.1">
<revision>1.0.0</revision>
<description>Index Thomisticus word layer</description>

<import schema="wdata_schema.xml" minimal_revision="1.0.0"/>

<derive type="w-node.type">
<structure>
<member name="fp"><cdata format="any"/></member>
<member name="ol"><cdata format="any"/></member>
</structure>
</derive>

<type name="w-meta.type">
<sequence content_pattern="lang?,original_format?,othermeta*">
<element name="lang"><cdata format="any"/></element>
<element name="original_format"><cdata format="any"/></element>
<element name="othermeta" type="w-othermeta.type"/>
</sequence>
</type>

</pml_schema>

0 comments on commit f71b4b6

Please sign in to comment.