## Text Encoding Initiative

### The XML Version of the TEI Guidelines

# <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.

Attributes

(In addition to global attributes and those inherited from dictionaries, morphInfo)

`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 WD 12 620.
| Datatype: CDATA

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 (e.g. singular, plural, dual, ...)
animate | animate or inanimate
proper | proper noun or common noun

| Default: #IMPLIED

Example:

Note | A much fuller list of values for the `type` attribute may be generated from the dictionary of data element types under preparation as ISO TC 37/SC 3/WD 12 620, Computational Aids in Terminology. See ISO 12 620 for fuller details.

Example

Note

In terminological data, the `<gram>` element usually refers to the most recently specified `<term>` or `<otherForm>` element. In flat term entries, the `group` and `depend` attributes may be used to indicate exceptions to this general rule. In dictionaries, the element typically relates to the form or forms with which it is grouped in a `<form>` or other grouping element.

Module Declared in file teidict2; Declared in file teite2n; Declared in file teite2f; Base tag sets for Terminological Data: enabled by TEI.terminology
Class morphInfo; dictionaries
Data Description May contain character data and phrase-level elements.
May contain #PCDATA abbr add addSpan address alt altGrp anchor app bibl biblFull biblStruct c caesura camera caption castList cb certainty cit cl corr damage date dateRange dateStruct del delSpan distinct emph expan fLib figure foreign formula fs fsLib fvLib fw gap geogName gloss handShift hi index interp interpGrp join joinGrp label lang lb link linkGrp list listBibl m measure mentioned milestone move name note num oRef oVar orgName orig pRef pVar pb persName phr placeName ptr q quote ref reg respons restore rs s seg sic soCalled sound space span spanGrp stage supplied table tech term text time timeRange timeStruct timeline title unclear view w witDetail xptr xref
May occur within etym form gramGrp ofig tig
Declaration

    <!ELEMENT gram %om.RO;  %paraContent;>
    <!ATTLIST gram
          %a.global;
          %a.dictionaries;
          type CDATA #IMPLIED>

See further 13.4.2 DTD Fragment for Flat Style; 13.2 Tags for Terminological Data; 12.3.2 Grammatical Information

Up: 35 Elements