<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]
Module dictionaries — Dictionaries
Attributes att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.lexicographic (@expand, @split, @value, @location, @mergedIn, @opt) (att.datcat (@datcat, @valueDatcat)) (att.lexicographic.normalized (@norm, @orig)) att.typed (type, @subtype)
type classifies 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 12620.
Derived from att.typed
Status Optional
Datatype teidata.enumerated
Sample values include:
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
Note

A much fuller list of values for the type attribute may be generated from the data category registry accessible from http://www.isocat.org/ and maintained by ISO technical committee 37.

Member of
Contained by
May contain
dictionaries: lang oRef pRef
gaiji: g
header: biblFull idno
iso-fs: fLib fs fvLib
textstructure: floatingText
verse: caesura rhyme
character data
Example
<entry>
 <form>
  <orth>pamplemousse</orth>
 </form>
 <gramGrp>
  <gram type="pos">noun</gram>
  <gram type="gen">masculine</gram>
 </gramGrp>
</entry>
Content model
<content>
 <macroRef key="macro.paraContent"/>
</content>
Schema Declaration
<rng:element name="gram">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.lexicographic.attributes"/>
 <rng:ref name="att.datcat.attributes"/>
 <rng:ref name="att.lexicographic.normalized.attributes"/>
 <rng:ref name="att.typed.attribute.subtype"/>
 <rng:optional>
  <rng:attribute name="type">
   <rng:ref name="teidata.enumerated"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.paraContent"/>
</rng:element>
element gram
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.lexicographic.attributes,
   att.datcat.attributes,
   att.lexicographic.normalized.attributes,
   att.typed.attribute.subtype,
   attribute type { teidata.enumerated }?,
   macro.paraContent
}