<gram>

<gram> (grammatical information) within an entry in a dictionary or a terminological data file, contains grammatical information relating to a term, word, or form. 9.3.2 Grammatical Information
Moduldictionaries — 9 Dictionaries
Attribute att.lexicographic (@expand, @norm, @split, @value, @orig, @location, @mergedIn, @opt)
typeclassifies the grammatical information given according to some convenient typology — in the case of terminological information, preferably the dictionary of data element types specified in ISO WD 12 620.
Zustand Optional
Datentyp

<rng:ref name="data.enumerated"/>
data.enumerated
Beispielwerte sind etwa:
pos
(part of speech) any of the word classes to which a word may be assigned in a given language, based on form, meaning, or a combination of features, e.g. noun, verb, adjective, etc.
gen
(gender) formal classification by which nouns and pronouns, and often accompanying modifiers, are grouped and inflected, or changed in form, so as to control certain syntactic relationships
num
(number) grammatical number, e.g. singular, plural, dual, …
animate
animate or inanimate
proper
proper noun or common noun
Verwendet von
Kann enthalten
Deklaration

<rng:element name="gram">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.lexicographic.attributes"/>
<rng:optional>
 <rng:attribute name="type">
  <rng:ref name="data.enumerated"/>
 </rng:attribute>
</rng:optional>
<rng:ref name="macro.paraContent"/>
</rng:element>
element gram
{
   att.global.attributes,
   att.lexicographic.attributes,
   attribute type { data.enumerated }?,
   macro.paraContent
}
Beispiel
<entry>
 <form>
  <orth>pamplemousse</orth>
 </form>
 <gramGrp>
  <gram type="pos">noun</gram>
  <gram type="gen">masculine</gram>
 </gramGrp>
</entry>