<?xml version="1.0" encoding="utf-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"><!--Schema generated 2010-11-05T15:13:52Z
Edition: 1.8.0. Last updated on November 5th 2010.

	  
Copyright 2010 TEI Consortium.
	  
This is free software; you can redistribute it and/or
	    modify it under the terms of the GNU General Public
	    License as published by the Free Software Foundation;
	    either version 2 of the License, or (at your option) any
	    later version.
	  
This material is distributed in the hope that it will be
	    useful, but without any warranty; without even the implied
	    warranty of merchantability or 
	    fitness for a particular
	    purpose. See the GNU General Public License for more
	    details.
	  
A copy of the GNU General Public
	    License is stored on the TEI web site
	    along with this file; you can also contact the Free
	    Software Foundation, Inc., 59 Temple Place, Suite 330,
	    Boston, MA 02111-1307, USA, for a copy.


		
For information about the TEI, including contact
		details, consult the TEI web
	      site at http://www.tei-c.org/. 
		

	 Corpus texts--><!--Definitions from module corpus--><!--Set global predeclared macros--><!--Set predeclared macros--><!--0. predeclared macros--><!--1. classes--><!--2. elements--><define name="activity">
      <element name="activity">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a brief informal description of what a participant in a
language interaction is doing other than speaking, if anything.</a:documentation>
         <ref name="activity.content"/>
         <ref name="activity.localattributes"/>
      </element>
   </define>
   <define name="activity.content">
      <ref name="macro.phraseSeq.limited"/>
   </define>
   <define name="activity.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="channel">
      <element name="channel">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(primary channel) describes the medium or channel by which a text is delivered or
experienced. For a written text, this might be print, manuscript, e-mail, etc.;
for a spoken one, radio, telephone, face-to-face, etc.</a:documentation>
         <ref name="channel.content"/>
         <ref name="channel.localattributes"/>
      </element>
   </define>
   <define name="channel.content">
      <ref name="macro.phraseSeq.limited"/>
   </define>
   <define name="channel.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode"
                    a:defaultValue="x">
            <a:documentation>specifies the mode of this channel with respect to speech and
         writing.
   </a:documentation>
            <choice>
               <value>s</value>
               <a:documentation>(spoken) </a:documentation>
               <value>w</value>
               <a:documentation>(written) </a:documentation>
               <value>sw</value>
               <a:documentation>(spoken to be written) e.g. dictation</a:documentation>
               <value>ws</value>
               <a:documentation>(written to be spoken) e.g. a script</a:documentation>
               <value>m</value>
               <a:documentation>(mixed) </a:documentation>
               <value>x</value>
               <a:documentation>(unknown or inapplicable) </a:documentation>
            </choice>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="constitution">
      <element name="constitution">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the internal composition of a text or text sample,
for example
as fragmentary, complete, etc.</a:documentation>
         <ref name="constitution.content"/>
         <ref name="constitution.localattributes"/>
      </element>
   </define>
   <define name="constitution.content">
      <ref name="macro.phraseSeq.limited"/>
   </define>
   <define name="constitution.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type"
                    a:defaultValue="single">
            <a:documentation>specifies how the text was constituted.
   </a:documentation>
            <choice>
               <value>single</value>
               <a:documentation>a single complete text
    </a:documentation>
               <value>composite</value>
               <a:documentation>a text made by combining several smaller
             items, each individually complete
    </a:documentation>
               <value>frags</value>
               <a:documentation>(fragments) a text made by combining several smaller, not
             necessarily complete, items
    </a:documentation>
               <value>unknown</value>
               <a:documentation>composition unknown or unspecified
   </a:documentation>
            </choice>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="derivation">
      <element name="derivation">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the nature and extent of originality of this text.</a:documentation>
         <ref name="derivation.content"/>
         <ref name="derivation.localattributes"/>
      </element>
   </define>
   <define name="derivation.content">
      <ref name="macro.phraseSeq.limited"/>
   </define>
   <define name="derivation.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute name="type">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the derivation of the text.
   
Sample values include: 1] original; 2] revision; 3] translation; 4] abridgment; 5] plagiarism; 6] traditional</a:documentation>
            <ref name="data.enumerated"/>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="domain">
      <element name="domain">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(domain of use) describes the most important social context in which the text was
realized or for which it is intended, for example private vs. public,
education, religion, etc.</a:documentation>
         <ref name="domain.content"/>
         <ref name="domain.localattributes"/>
      </element>
   </define>
   <define name="domain.content">
      <ref name="macro.phraseSeq.limited"/>
   </define>
   <define name="domain.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute name="type">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the domain of use.
   
Sample values include: 1] art; 2] domestic; 3] religious; 4] business; 5] education; 6] govt(government) ; 7] public</a:documentation>
            <ref name="data.enumerated"/>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="factuality">
      <element name="factuality">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the extent to which the text may be regarded as
imaginative or non-imaginative, that is, as describing a fictional
or a non-fictional world. </a:documentation>
         <ref name="factuality.content"/>
         <ref name="factuality.localattributes"/>
      </element>
   </define>
   <define name="factuality.content">
      <ref name="macro.phraseSeq.limited"/>
   </define>
   <define name="factuality.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute name="type">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the factuality of the text.
   </a:documentation>
            <choice>
               <value>fiction</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the text is to be regarded as entirely imaginative
  </a:documentation>
               <value>fact</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the text is to be regarded as entirely informative or factual
  </a:documentation>
               <value>mixed</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the text contains a mixture of fact and fiction
  </a:documentation>
               <value>inapplicable</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the fiction/fact distinction is not regarded
    as helpful or appropriate to this text
   </a:documentation>
            </choice>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="interaction">
      <element name="interaction">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the extent, cardinality and nature of any interaction
among those producing and experiencing the text, for example in the
form of response or interjection, commentary, etc.</a:documentation>
         <ref name="interaction.content"/>
         <ref name="interaction.localattributes"/>
      </element>
   </define>
   <define name="interaction.content">
      <ref name="macro.phraseSeq.limited"/>
   </define>
   <define name="interaction.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute name="type">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the degree of interaction between
  active and passive participants in the text. </a:documentation>
            <choice>
               <value>none</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">no interaction of any kind, e.g. a monologue </a:documentation>
               <value>partial</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">some degree of interaction, e.g. a monologue with set responses </a:documentation>
               <value>complete</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">complete interaction, e.g. a face to face conversation </a:documentation>
               <value>inapplicable</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">this parameter is inappropriate or inapplicable in this case </a:documentation>
            </choice>
         </attribute>
      </optional>
      <optional>
         <attribute name="active">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of active participants
   (or addressors) producing parts of the text. 
Suggested values include: 1] singular; 2] plural; 3] corporate; 4] unknown</a:documentation>
            <choice>
               <value>singular</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a single addressor </a:documentation>
               <value>plural</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">many addressors </a:documentation>
               <value>corporate</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a corporate addressor </a:documentation>
               <value>unknown</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">number of addressors unknown or unspecifiable </a:documentation>
               <data type="Name"/>
            </choice>
         </attribute>
      </optional>
      <optional>
         <attribute name="passive">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of passive participants
   (or addressees) to whom a text is directed
   or in whose presence it is created or performed.
   
Suggested values include: 1] self; 2] single; 3] many; 4] group; 5] world</a:documentation>
            <choice>
               <value>self</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">text is addressed to the originator e.g. a diary </a:documentation>
               <value>single</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">text is addressed to one other person e.g. a personal letter </a:documentation>
               <value>many</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">text is addressed to a countable number of others
    e.g. a conversation in which all participants are identified </a:documentation>
               <value>group</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">text is addressed to an undefined but fixed
    number of participants  e.g. a lecture </a:documentation>
               <value>world</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">text is addressed to an undefined and indeterminately
    large number e.g. a published book </a:documentation>
               <data type="Name"/>
            </choice>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="locale">
      <element name="locale">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a brief informal description of the kind of
place concerned, for example: a room, a restaurant, a park bench, etc.</a:documentation>
         <ref name="locale.content"/>
         <ref name="locale.localattributes"/>
      </element>
   </define>
   <define name="locale.content">
      <ref name="macro.phraseSeq.limited"/>
   </define>
   <define name="locale.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="particDesc">
      <element name="particDesc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(participation description) describes the identifiable speakers, voices, or other participants
in any kind of text. </a:documentation>
         <ref name="particDesc.content"/>
         <ref name="particDesc.localattributes"/>
      </element>
   </define>
   <define name="particDesc.content">
      <choice xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <oneOrMore>
            <ref name="model.pLike"/>
         </oneOrMore>
         <oneOrMore>
            <choice>
               <ref name="model.personLike"/>
               <ref name="listPerson"/>
            </choice>
         </oneOrMore>
      </choice>
   </define>
   <define name="particDesc.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
   </define>
   <define name="preparedness">
      <element name="preparedness">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the extent to which a text may be regarded as
prepared or spontaneous. </a:documentation>
         <ref name="preparedness.content"/>
         <ref name="preparedness.localattributes"/>
      </element>
   </define>
   <define name="preparedness.content">
      <ref name="macro.phraseSeq.limited"/>
   </define>
   <define name="preparedness.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute name="type">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a keyword characterizing the type of preparedness.
   
Sample values include: 1] none; 2] scripted; 3] formulaic; 4] revised</a:documentation>
            <ref name="data.enumerated"/>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="purpose">
      <element name="purpose">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes a single purpose or communicative function of the
text.</a:documentation>
         <ref name="purpose.content"/>
         <ref name="purpose.localattributes"/>
      </element>
   </define>
   <define name="purpose.content">
      <ref name="macro.phraseSeq.limited"/>
   </define>
   <define name="purpose.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute name="type">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a particular kind of purpose.
   
Suggested values include: 1] persuade; 2] express; 3] inform; 4] entertain</a:documentation>
            <choice>
               <value>persuade</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">didactic, advertising, propaganda, etc.
  </a:documentation>
               <value>express</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">self expression, confessional, etc.
  </a:documentation>
               <value>inform</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">convey information, educate, etc.
  </a:documentation>
               <value>entertain</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">amuse, entertain, etc.
   </a:documentation>
               <data type="Name"/>
            </choice>
         </attribute>
      </optional>
      <optional>
         <attribute name="degree">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the extent to which this purpose predominates.</a:documentation>
            <ref name="data.certainty"/>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="setting">
      <element name="setting">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes one particular setting in which a language
  interaction takes place.</a:documentation>
         <ref name="setting.content"/>
         <ref name="setting.localattributes"/>
      </element>
   </define>
   <define name="setting.content">
      <choice xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <oneOrMore>
            <ref name="model.pLike"/>
         </oneOrMore>
         <zeroOrMore>
            <choice>
               <ref name="model.nameLike.agent"/>
               <ref name="model.dateLike"/>
               <ref name="model.settingPart"/>
            </choice>
         </zeroOrMore>
      </choice>
   </define>
   <define name="setting.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.ascribed.attributes"/>
      <empty/>
   </define>
   <define name="settingDesc">
      <element name="settingDesc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(setting description) describes the setting or settings within which a language
interaction takes place, either as a prose description or as a
series of setting elements.</a:documentation>
         <ref name="settingDesc.content"/>
         <ref name="settingDesc.localattributes"/>
      </element>
   </define>
   <define name="settingDesc.content">
      <choice xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <oneOrMore>
            <ref name="model.pLike"/>
         </oneOrMore>
         <oneOrMore>
            <choice>
               <ref name="setting"/>
               <ref name="model.placeLike"/>
               <ref name="listPlace"/>
            </choice>
         </oneOrMore>
      </choice>
   </define>
   <define name="settingDesc.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
   </define>
   <define name="textDesc">
      <element name="textDesc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text description) provides a description of a text in terms of its
situational parameters.</a:documentation>
         <ref name="textDesc.content"/>
         <ref name="textDesc.localattributes"/>
      </element>
   </define>
   <define name="textDesc.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <ref name="model.textDescPart_sequence"/>
         <oneOrMore>
            <ref name="purpose"/>
         </oneOrMore>
      </group>
   </define>
   <define name="textDesc.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
   </define>
   <!--3. macros--></grammar>