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
Branches
No related merge requests found
......@@ -6,7 +6,7 @@
<!ELEMENT sentence (tok|ns)+>
<!ATTLIST sentence
id ID #IMPLIED>
<!ELEMENT tok (orth, lex+, ann*)>
<!ELEMENT tok (orth, lex+, ann*, prop*)>
<!ELEMENT ns EMPTY>
<!ELEMENT orth (#PCDATA)>
<!ELEMENT lex (base, ctag)>
......@@ -16,14 +16,18 @@
<!ATTLIST ann
chan CDATA #REQUIRED
head (1 | 0) "0">
<!ELEMENT prop (#PCDATA)>
<!ATTLIST prop
key CDATA #REQUIRED>
<!ELEMENT base (#PCDATA)>
<!ELEMENT ctag (#PCDATA)>
<!ELEMENT relations (rel+)>
<!ELEMENT relations (rel*)>
<!ELEMENT rel (from,to)>
<!ATTLIST rel
name CDATA #REQUIRED>
name CDATA #REQUIRED
set CDATA #IMPLIED>
<!ELEMENT from (#PCDATA)>
<!ATTLIST from
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