Skip to content
Snippets Groups Projects
Commit 046134ed authored by Adam Radziszewski's avatar Adam Radziszewski
Browse files

extend ccl.dtd to allow token-level properties; also allow for relation sets (categories)

parent c0f2d298
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<!ELEMENT sentence (tok|ns)+> <!ELEMENT sentence (tok|ns)+>
<!ATTLIST sentence <!ATTLIST sentence
id ID #IMPLIED> id ID #IMPLIED>
<!ELEMENT tok (orth, lex+, ann*)> <!ELEMENT tok (orth, lex+, ann*, prop*)>
<!ELEMENT ns EMPTY> <!ELEMENT ns EMPTY>
<!ELEMENT orth (#PCDATA)> <!ELEMENT orth (#PCDATA)>
<!ELEMENT lex (base, ctag)> <!ELEMENT lex (base, ctag)>
...@@ -16,14 +16,18 @@ ...@@ -16,14 +16,18 @@
<!ATTLIST ann <!ATTLIST ann
chan CDATA #REQUIRED chan CDATA #REQUIRED
head (1 | 0) "0"> head (1 | 0) "0">
<!ELEMENT prop (#PCDATA)>
<!ATTLIST prop
key CDATA #REQUIRED>
<!ELEMENT base (#PCDATA)> <!ELEMENT base (#PCDATA)>
<!ELEMENT ctag (#PCDATA)> <!ELEMENT ctag (#PCDATA)>
<!ELEMENT relations (rel+)> <!ELEMENT relations (rel*)>
<!ELEMENT rel (from,to)> <!ELEMENT rel (from,to)>
<!ATTLIST rel <!ATTLIST rel
name CDATA #REQUIRED> name CDATA #REQUIRED
set CDATA #IMPLIED>
<!ELEMENT from (#PCDATA)> <!ELEMENT from (#PCDATA)>
<!ATTLIST from <!ATTLIST from
chan CDATA #REQUIRED chan CDATA #REQUIRED
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment