<w>

<w> (word) represents a grammatical (not necessarily orthographic) word. 17.1 Linguistic Segment Categories
Moduleanalysis — 17 Simple Analytic Mechanisms
Attributes att.segLike (@function, @part) (att.metrical (@met, @real, @rhyme)) att.typed (@type, @subtype)
lemmaprovides a lemma for the word, such as an uninflected dictionary entry form.
Status Optional
Datatype

<rng:ref name="data.key"/>
data.key
lemmaRefprovides a pointer to a definition for the root form of this word form.
Status Optional
Datatype

<rng:ref name="data.pointer"/>
data.pointer
Values any valid URI
Used by
May contain
Declaration

<rng:element name="w">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.segLike.attributes"/>
<rng:ref name="att.metrical.attributes"/>
<rng:ref name="att.typed.attributes"/>
<rng:optional>
 <rng:attribute name="lemma">
  <rng:ref name="data.key"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="lemmaRef">
  <rng:ref name="data.pointer"/>
 </rng:attribute>
</rng:optional>
<rng:zeroOrMore>
 <rng:choice>
  <rng:text/>
  <rng:ref name="model.gLike"/>
  <rng:ref name="model.segLike"/>
  <rng:ref name="model.global"/>
  <rng:ref name="model.lPart"/>
  <rng:ref name="model.hiLike"/>
  <rng:ref name="model.pPart.edit"/>
 </rng:choice>
</rng:zeroOrMore>
</rng:element>
element w
{
   att.global.attributes,
   att.segLike.attributes,
   att.metrical.attributes,
   att.typed.attributes,
   attribute lemma { data.key }?,
   attribute lemmaRef { data.pointer }?,
   (
      text
    | model.gLikemodel.segLikemodel.globalmodel.lPartmodel.hiLikemodel.pPart.edit
   )*
}
Example
<w
  type="verb"
  lemma="hit"
  lemmaRef="http://www.example.com/lexicon/hitvb.xml">
hitt<m type="suffix">ing</m>
</w>