<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0"
  xml:lang="en">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>MosesDictionary</title>
        <title type="sub">Schema for the markup of the Moses (Nxa'amxcin) dictionary created by Ewa
          Czaykowska-Higgins and Martin Holmes.</title>        
        <author>Martin Holmes</author>
      </titleStmt>
      <publicationStmt>
        <availability><p>No restrictions on the usage of this file.</p></availability>
      </publicationStmt>
      <notesStmt>
        <note type="ns">http://www.example.org/ns/nonTEI</note>
      </notesStmt>
      <sourceDesc>
        <p>Originally created on Thursday 11th of May 2006 03:52:24 PM by the form at
          http://www.tei-c.org.uk/Roma/, then manually customized over the following several
          years.</p>
      </sourceDesc>
    </fileDesc>
  </teiHeader>
  <text>
    <body>
      <divGen type="toc"/>
      <schemaSpec ident="MosesDictionary" xml:lang="en" start="TEI teifsd teiCorpus" prefix="">
        <moduleRef key="core"/>
        <moduleRef key="tei"/>
        <moduleRef key="header"/>
        <moduleRef key="textstructure"/>
        <moduleRef key="analysis"/>
        <moduleRef key="declarefs"/>
        <moduleRef key="dictionaries"/>
        <moduleRef key="iso-fs"/>
        <moduleRef key="linking"/>
        <moduleRef key="namesdates"/>
        <moduleRef key="gaiji"/>
        <moduleRef key="tagdocs"/>
        <moduleRef key="corpus" except="activity channel constitution factuality preparedness"/>
        <elementSpec ident="bibl" mode="change">
          <classes>
            <memberOf key="att.global"/>
            <memberOf key="model.entryPart.top"/>
            <memberOf key="model.entryPart"/>
            <memberOf key="model.biblLike"/>
          </classes>
          <attList>
            <attDef ident="corresp" mode="change" usage="opt">
              <valList mode="replace" type="semi">
                <valItem ident="psn:C">
                  <gloss>Cleveland, Agapith</gloss>
                </valItem>
                <valItem ident="psn:S">
                  <gloss>Simpson, Jesse Jim</gloss>
                </valItem>
                <valItem ident="psn:A">
                  <gloss>[Tagged as both "A" and "IA".] Arcasa, Isabel</gloss>
                </valItem>
                <valItem ident="psn:G">
                  <gloss>Gorr, Margaret</gloss>
                </valItem>
                <valItem ident="psn:MG">
                  <gloss>[Identity not certain, but probably the same as "G".] Gorr, Margaret</gloss>
                </valItem>
                <valItem ident="psn:M">
                  <gloss>Simon, Moyise</gloss>
                </valItem>
                <valItem ident="psn:T">
                  <gloss>Timentwa, Julianne</gloss>
                </valItem>
                <valItem ident="psn:W">
                  <gloss>Wippel, Mary ; Marchand, Mary</gloss>
                </valItem>
                <valItem ident="psn:J">
                  <gloss>Cleveland, John</gloss>
                </valItem>
                <valItem ident="psn:MS">
                  <gloss>Sherwood, Margaret</gloss>
                </valItem>
                <valItem ident="psn:Z">
                  <gloss>Thomas, Addie</gloss>
                </valItem>
                <valItem ident="psn:CH">
                  <gloss>Haynes, Christine</gloss>
                </valItem>
                <valItem ident="psn:K">
                  <gloss>McCraigie, Katherine</gloss>
                </valItem>
                <valItem ident="psn:AP">
                  <gloss>Pakootas, Annie</gloss>
                </valItem>
                <valItem ident="psn:EP">
                  <gloss>Peone, Emily</gloss>
                </valItem>
                <valItem ident="psn:ED">
                  <gloss>Davis, Elizabeth</gloss>
                </valItem>
                <valItem ident="psn:AB">
                  <gloss>Bart, Agatha</gloss>
                </valItem>
                <valItem ident="psn:JM">
                  <gloss>Miller, Jerome</gloss>
                </valItem>
                <valItem ident="psn:AM">
                  <gloss>Miller, Agnes</gloss>
                </valItem>
                <valItem ident="psn:MLW">
                  <gloss>Willet, Marie Louise</gloss>
                </valItem>
                <valItem ident="psn:TG">
                  <gloss>George, Tillie</gloss>
                </valItem>
                <valItem ident="psn:VI">
                  <gloss>Hilbert, Vi</gloss>
                </valItem>
                <valItem ident="psn:MP">
                  <gloss>Piatote, Margaret [Identity not certain, but MLW 2003 identifies consultant P as Margaret Piatote]</gloss>
                </valItem>
                <valItem ident="psn:CS">
                  <gloss>Cleveland, Agapith; Simpson, Jesse Jim</gloss>
                </valItem>
                <valItem ident="psn:SM">
                  <gloss>Matt, Susanne</gloss>
                </valItem>
                <valItem ident="psn:Y">
                  <gloss>Miller, Jerome; Miller, Agnes</gloss>
                </valItem>
                <valItem ident="psn:MDK">
                  <gloss>Kinkade, M. Dale</gloss>
                </valItem>
                <valItem ident="psn:ECH">
                  <gloss>Czaykowska-Higgins, Ewa</gloss>
                </valItem>
                <valItem ident="psn:HMG">
                  <gloss>Ghobrial, Heba M.</gloss>
                </valItem>
                <valItem ident="psn:CDH">
                  <gloss>Howett, Catherine D.</gloss>
                </valItem>
                <valItem ident="psn:EW">
                  <gloss>Wolowodyk, Elisa</gloss>
                </valItem>
                <valItem ident="psn:NB">
                  <gloss>Bessell, Nicola</gloss>
                </valItem>
                <valItem ident="psn:RAD">
                  <gloss>Dyck, Ruth A.</gloss>
                </valItem>
                <valItem ident="psn:BG">
                  <gloss>Gerson, Ben</gloss>
                </valItem>
                <valItem ident="psn:SMK">
                  <gloss>Kell, Sarah M.</gloss>
                </valItem>
                <valItem ident="psn:CBM">
                  <gloss>Bird McMillan, Caitlin</gloss>
                </valItem>
                <valItem ident="psn:MDH">
                  <gloss>Holmes, Martin D.</gloss>
                </valItem>
                <valItem ident="psn:WP">
                  <gloss>Unknown consultant identified only as WP.</gloss>
                </valItem>
              </valList>
            </attDef>
          </attList>
        </elementSpec>
        <!--   Get rid of default attributes. This is achieved most simply by deleting
        the classes or attributes. -->
        <elementSpec ident="change" module="header" mode="change">
          <attList>
            <attDef ident="status" mode="delete"/>
          </attList>
        </elementSpec>
        <elementSpec ident="pron" mode="change">
          <attList>
            <attDef ident="extent" mode="delete"/>
          </attList>
        </elementSpec>
        <elementSpec ident="orth" mode="change">
          <attList>
            <attDef ident="extent" mode="delete"/>
<!--  We have two types of <orth>: those generated algorithmically (awaiting human 
      verification), and those provided by a language speaker. -->
            <attDef ident="type" mode="change">
              <valList mode="replace" type="closed">
                <valItem ident="auto">
                  <gloss>Automatically-generated orthographical representation.</gloss>
                </valItem>
                <valItem ident="comm">
                  <gloss>Orthographical representation provided by a language speaker.</gloss>
                </valItem>
              </valList>
            </attDef>
          </attList>
        </elementSpec>
        <!-- Suggested values for name/@type. This list will expand over time.  -->
        <elementSpec ident="name" mode="change">
          <attList>
            <attDef ident="type" mode="change" usage="opt">
              <valList mode="replace" type="semi">
                <valItem ident="fauna">
                  <gloss>Animals etc.</gloss>
                </valItem>
                <valItem ident="flora">
                  <gloss>Plants etc.</gloss>
                </valItem>
                <valItem ident="storyPeople">
                  <gloss>Characters from stories, myths and legends.</gloss>
                </valItem>
              </valList>
            </attDef>
          </attList>
        </elementSpec>
        
<!-- Document and constrain our use of @type and @subtype on <seg>, <phr> and <gloss>.       -->
        <elementSpec ident="seg" module="linking" mode="change">
          <attList>
            <attDef ident="type" mode="change" usage="opt">
              <valList mode="replace" type="closed">
                <valItem ident="p">
                  <gloss>Phonemic or broad transcription.</gloss>
                </valItem>
                <valItem ident="n">
                  <gloss>Phonetic or narrow transcription.</gloss>
                </valItem>
              </valList>
            </attDef>
            <attDef ident="subtype" mode="change" usage="opt">
              <valList mode="replace" type="closed">
                <valItem ident="i">
                  <gloss>Transcription or information is inferred rather than attested.</gloss>
                </valItem>
              </valList>
            </attDef>
          </attList>
        </elementSpec>
        
<!--  The <phr> element is used for two levels of transcription along with 
        orthographical representations in quotes. -->
        <elementSpec ident="phr" module="analysis" mode="change">
          <attList>
            <attDef ident="type" mode="change" usage="opt">
              <valList mode="replace" type="closed">
                <valItem ident="p">
                  <gloss>Phonemic or broad transcription.</gloss>
                </valItem>
                <valItem ident="n">
                  <gloss>Phonetic or narrow transcription.</gloss>
                </valItem>
                <valItem ident="auto_orth">
                  <gloss>Automatically-generated orthographical representation.</gloss>
                </valItem>
                <valItem ident="comm_orth">
                  <gloss>Orthographical representation provided by a language speaker.</gloss>
                </valItem>
              </valList>
            </attDef>
            <attDef ident="subtype" mode="change" usage="opt">
              <valList mode="replace" type="closed">
                <valItem ident="i">
                  <gloss>Transcription or information is inferred rather than attested.</gloss>
                </valItem>
              </valList>
            </attDef>
          </attList>
        </elementSpec>
        
<!--  In <gloss>, we don't need @type, but we want to use @subtype for 
        inferred glosses to align with other elements using @subtype in 
        the same way. This leads to a slightly odd situation (@subtype 
        with no @type), but it's defensible. -->
        <elementSpec ident="gloss" module="core" mode="change">
          <attList>
            <attDef ident="type" mode="delete"/>
            <attDef ident="subtype" mode="change" usage="opt">
              <valList mode="replace" type="closed">
                <valItem ident="i">
                  <gloss>Gloss is inferred rather than attested.</gloss>
                </valItem>
              </valList>
            </attDef>
          </attList>
        </elementSpec>

        <!--   Values used for person/@role. All roles in the project should 
               be covered here. -->
        <elementSpec ident="person" module="namesdates" mode="change">
          <attList>
            <attDef ident="role" mode="change" usage="opt"> 
              <valList mode="replace" type="semi">
                <valItem ident="LangTeacher">
                  <gloss>Language Teacher</gloss>
                </valItem>
                <valItem ident="LangApprentice">
                  <gloss>Language Apprentice</gloss>
                </valItem>
                <valItem ident="ProgramManager">
                  <gloss>Program Manager</gloss>
                </valItem>
                <valItem ident="FluentSpeaker">
                  <gloss>Fluent Speaker (possessing good language knowledge)</gloss>
                </valItem>
                <valItem ident="Elder">
                  <gloss>Elder (having significant cultural knowledge)</gloss>
                </valItem>
                <valItem ident="FieldResearcher">
                  <gloss>Field Researcher</gloss>
                </valItem>
                <valItem ident="ProjectOriginator">
                  <gloss>Project Originator</gloss>
                </valItem>
                <valItem ident="ProjectLeader">
                  <gloss>Project Leader</gloss>
                </valItem>
                <valItem ident="Editor">
                  <gloss>Database/XML Editor</gloss>
                </valItem>
                <valItem ident="Programmer">
                  <gloss>Computer Programmer on the project</gloss>
                </valItem>
              </valList>
            </attDef>
          </attList>
        </elementSpec>

        <elementSpec ident="note" mode="change">
          <attList>
            <attDef ident="anchored" mode="delete"/>
            <attDef ident="subtype" mode="delete"/>

            <!-- @resp on <note> has some suggested values. Other values 
                are possible, but these are the most commonly-used so 
                we include them here.            -->
            <attDef ident="resp" mode="change" usage="opt">
              <valList mode="replace" type="semi">
                <valItem ident="psn:ECH">
                  <gloss>Note by Ewa.</gloss>
                </valItem>
                <valItem ident="psn:MDH">
                  <gloss>Note by Martin.</gloss>
                </valItem>
                <valItem ident="psn:MDK">
                  <gloss>Note by Dale Kinkade.</gloss>
                </valItem>
                <valItem ident="psn:SMK">
                  <gloss>Note by Sarah.</gloss>
                </valItem>
                <valItem ident="psn:CBM">
                  <gloss>Note by Caitlin.</gloss>
                </valItem>
              </valList>
            </attDef>

            <!-- @type on <note> is constrained.  -->
            <attDef ident="type" mode="change" usage="req">
              <valList mode="add" type="closed">
                <valItem ident="cultural">
                  <gloss>cultural notes, from Kinkade's cards</gloss>
                  <desc>cultural notes, from Kinkade's cards</desc>
                </valItem>
                <valItem ident="comparative">
                  <gloss>comparisons to other Interior Salish languages (Coeur D'Alene,
                    Okanagan-Colville), from Kinkade's cards</gloss>
                  <desc>comparisons to other Interior Salish languages (Coeur D'Alene,
                    Okanagan-Colville), from Kinkade's cards</desc>
                </valItem>
                <valItem ident="editorial">
                  <gloss>documentation of editorial decisions, to show to general dictionary
                    users</gloss>
                  <desc>documentation of editorial decisions, to show to general dictionary
                    users</desc>
                </valItem>
                <valItem ident="internal">
                  <gloss>editors' temporary notes, e.g. possible analyses</gloss>
                  <desc>editors' temporary notes, e.g. possible analyses</desc>
                </valItem>
                <valItem ident="referToElders">
                  <gloss>questions for the Elders</gloss>
                  <desc>questions for the Elders</desc>
                </valItem>
                <valItem ident="referToEwa">
                  <gloss>questions for ECH</gloss>
                  <desc>questions for ECH</desc>
                </valItem>
              </valList>
            </attDef>

          </attList>
        </elementSpec>
        
        <!-- Removal of unused attributes and attribute classes. -->
        <elementSpec ident="teiHeader" mode="change">
          <attList>
            <attDef ident="type" mode="delete"/>
          </attList>
        </elementSpec>
        <elementSpec ident="sourceDesc" module="header" mode="change">
          <attList>
            <attDef ident="default" mode="delete"/>
          </attList>
        </elementSpec>

        <classSpec type="atts" ident="att.divLike" module="tei" mode="delete"/>
        <classSpec type="atts" ident="att.entryLike" module="dictionaries" mode="delete"/>
        <classSpec type="atts" ident="att.fragmentable" module="dictionaries" mode="delete"/>
        <classSpec type="atts" ident="att.lexicographic" module="dictionaries" mode="change">
          <attList>
            <attDef ident="opt" mode="delete"/>
          </attList>
        </classSpec>
        <classSpec type="atts" ident="att.editLike" module="tei" mode="change">
          <attList>
            <attDef ident="instant" mode="delete"/>
          </attList>
        </classSpec>
        <classSpec type="atts" ident="att.personal" module="tei" mode="change">
          <attList>
            <attDef ident="full" mode="delete"/>
          </attList>
        </classSpec>
        <classSpec type="atts" ident="att.segLike" module="tei" mode="delete"/>
      </schemaSpec>
      <p>Customized schema for Moses Dictionary project. Should be P5-compliant.</p>
    </body>
  </text>
</TEI>
