TEI P4 Beta: Reference Documentation

`<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: |
`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
| Legal values: |
`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.

Tagset base tag set for terminological data
Class dictionaries, morphInfo [and indirectly also:] formInfo, gramInfo
Filename `teidict2 teite2n teite2f`
Content: May contain character data and phrase-level elements.
Parents etym form gramGrp ofig termEntry tig
Children #PCDATA abbr add address app att bibl biblFull biblStruct c caesura camera caption castList cit cl corr damage date dateRange dateStruct del distinct emph expan figure foreign formula fw geogName gi gloss handShift hi label lang link list listBibl m measure mentioned move name note num oRef oVar orgName orig pRef pVar persName phr placeName ptr q quote ref reg restore rs s seg sic soCalled sound space stage supplied table tag tech term text time timeRange timeStruct title unclear val view w witDetail xptr xref
Declaration

    <!ELEMENT gram          - O  (%paraContent;)                    >
    <!ATTLIST gram               %a.global
                                 %a.dictionaries
              type               CDATA               #IMPLIED       >

See 13.4.2 ; 13.2 ; 12.3.2

Back to index