- From: <w3t-archive+esw-wiki@w3.org>
- Date: Wed, 07 Dec 2005 10:04:37 -0000
- To: w3t-archive+esw-wiki@w3.org
Dear Wiki user, You have subscribed to a wiki page or wiki category on "ESW Wiki" for change notification. The following page has been changed by GoutamSaha: http://esw.w3.org/topic/its0908LinguisticMarkup ------------------------------------------------------------------------------ <image source="begin.jpg" alt="Begin now." /> - <sentence_cat name="alt_value"> Begin now. </pos_cat> + <sentence_cat name="alt_value"> Begin now. </sentence_cat> to play now. @@ -1201, +1201 @@ <content_domain name="literature" type="drama"> .... .... - <sentence_category name="semantic" type="demonstrative"> + <sentence_cat name="semantic" type="demonstrative"> - He <pos_category name="verb"> played </pos_category> in Odyssey. + He <pos_cat name="verb" meaning="acted"> played</pos_category> in Odyssey. <!-- here, "played" implies the verb "acted" --> - </sentence_category> + </sentence_cat> ......... ......... ......... @@ -1517, +1517 @@ A schema for the content domain using element "content_domain" and three attributes namely, "name", "type" and "meaning" is shown below. + ---------------- + {{{ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cont="http://www.kolkatacdac.in/w3ci18ncd" elementFormDefault="qualified"> + + <xs:import namespace="http://www.kolkatacdac.in/w3ci18ncd" schemaLocation="C:\Documents and Settings\Administrator\My Documents\w3c-its-wg\cd1.xsd"/> + + <xs:element name="cd"> + <xs:complexType> + <xs:sequence> + <xs:element ref="cont:content_domain" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + + + <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.kolkatacdac.in/w3ci18ncd" elementFormDefault="qualified"> + <xs:element name="content_domain"> <xs:complexType mixed="true"> <xs:attribute name="name" type="xs:string" use="required"/> @@ -1530, +1550 @@ </xs:element> </xs:schema> - <?xml version="1.0" encoding="UTF-8" standalone="yes"?> - <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cont="http://www.kolkatacdac.in/w3ci18ncd" elementFormDefault="qualified"> - <xs:import namespace="http://www.kolkatacdac.in/w3ci18ncd" schemaLocation="C:\Documents and Settings\Administrator\My Documents\w3c-its-wg\cd1.xsd"/> - <xs:element name="cd"> - <xs:complexType> - <xs:sequence> - <xs:element ref="cont:content_domain" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - }}} + + --------------- A typical schema of the content_domain using elements is shown below. @@ -1622, +1632 @@ </xs:schema> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:c="http://www.kolkatacdac.in/w3ci18ncd" elementFormDefault="qualified"> + <xs:import namespace="http://www.kolkatacdac.in/w3ci18ncd" schemaLocation="C:\Documents and Settings\Administrator\My Documents\auth-contdom-13091.xsd"/> + <xs:element name="content_domain"> <xs:complexType> <xs:sequence> @@ -1633, +1646 @@ </xs:element> </xs:schema> + }}} + ================== A schema for the sentence category level using element "sentence_cat" and three attributes namely, "name", "type" and "meaning" is shown below. + ------------ + + {{{ + <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + <!-- Sentence Category Schema using attributes --> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:scat="http://www.kolkatacdac.in/w3ci18nsc" elementFormDefault="qualified"> + <xs:import namespace="http://www.kolkatacdac.in/w3ci18nsc" schemaLocation="C:\Documents and Settings\Administrator\My Documents\w3c-its-wg\sencat1.xsd"/> + <xs:element name="sc"> <xs:complexType> <xs:sequence> @@ -1651, +1674 @@ </xs:schema> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.kolkatacdac.in/w3ci18nsc" elementFormDefault="qualified"> + <xs:element name="sentence_cat"> <xs:complexType mixed="true"> <xs:attribute name="name" type="xs:string" use="required"/> @@ -1661, +1686 @@ </xs:element> </xs:schema> + }}} + + ------------- + A typical schema for Sentence_categories using elements is shown below. + {{{ + <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.kolkatacdac.in/w3ci18ns" elementFormDefault="qualified"> + <xs:element name="cat"> <xs:complexType mixed="true"> <xs:attribute name="name" use="required"> @@ -1722, +1755 @@ xmlns:s="http://www.kolkatacdac.in/w3ci18ns" elementFormDefault="qualified"> <xs:import namespace="http://www.kolkatacdac.in/w3ci18ns" - - schemaLocation="C:\Documents and Settings\Administrator\My + schemaLocation="C:\Documents and Settings\Administrator\My - - Documents\auth-sencat-13091.xsd"/> + Documents\auth-sencat-13091.xsd"/> + <xs:element name="sentence_type"> <xs:complexType> <xs:sequence> @@ -1735, +1767 @@ </xs:element> </xs:schema> - ============== + }}} - A typical schema for Parts-of-Speech (POS) Markups is shown below. + ========================== + + A schema for the Word Level POS Category using element "pos_cat" and three attributes namely, "name", "type" and "meaning" is shown below. + + ------------ + {{{ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + + <!-- Word Level (POS) Schema --> + + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:pcat="http://www.kolkatacdac.in/w3ci18npc" elementFormDefault="qualified"> + + <xs:import namespace="http://www.kolkatacdac.in/w3ci18npc" + schemaLocation="C:\Documents and Settings\Administrator\My + Documents\w3c-its-wg\poscat1.xsd"/> + + <xs:element name="pc"> + <xs:complexType> + <xs:sequence> + <xs:element ref="pcat:pos_cat" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + + <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.kolkatacdac.in/w3ci18npc" elementFormDefault="qualified"> + + <xs:element name="pos_cat"> + <xs:complexType mixed="true"> + <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="type" type="xs:string"/> + <xs:attribute name="meaning" type="xs:string"/> + </xs:complexType> + </xs:element> + </xs:schema> + + }}} + ------------ + + A typical schema for Parts-of-Speech (POS) Markups using elements is shown below. + + {{{ + + <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.kolkatacdac.in/w3ci18npos" elementFormDefault="qualified"> + <xs:element name="cat"> <xs:complexType mixed="true"> <xs:attribute name="name" use="required"> @@ -1758, +1838 @@ </xs:restriction> </xs:simpleType> </xs:attribute> + <xs:attribute name="type"> <xs:simpleType> <xs:restriction base="xs:string"> @@ -1844, +1925 @@ </xs:schema> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:p="http://www.kolkatacdac.in/w3ci18npos" elementFormDefault="qualified"> + <xs:import namespace="http://www.kolkatacdac.in/w3ci18npos" schemaLocation="C:\Documents and Settings\Administrator\My Documents\ITS-XML-Test\auth-postag-14091.xsd"/> + <xs:element name="pos_tag"> <xs:complexType> <xs:sequence> @@ -1856, +1940 @@ </xs:complexType> </xs:element> </xs:schema> + }}} ====================================
Received on Wednesday, 7 December 2005 11:42:53 UTC