standardizing linguistic encoding

Eduard Drenth <[email protected]>
Newsgroups gmane.text.tei.general
Message-ID <[email protected]>
Dear all,

Here in Holland we are developing a standard to encode linguistic and lemma information for various word situations using TEI. We have been trying several solutions (tei:fs/tei:f, tei:interp, tei:span, ...) and finaly chose for TEI customization which gives us standard xsd validation, editor support and a simple focused solution. For linguistic terminology we use as much as possible http://universaldependencies.org/.


We are curious as to what you think, see below for details. We hope this solution may be of use for those who want to encode linguistic information using TEI. Also this may help standardizing linguistic encoding in TEI.


If this all is worthwhile I would like to donate/publish the solution somewhere.


snippet customization:


            <schemaSpec ident="tdb" docLang="en" prefix="tei_" xml:lang="en">

                ..

                ..

                <classSpec type="atts" ident="att.linguistics" module="analytics">

                    <attList>
                        <attDef ident="linguistics" ns="http://www.fryske-akademy.org/grammar/1.0">
                            <desc>
                                documentation....
                            </desc>
                            <datatype maxOccurs="unbounded">
                                <dataRef key="teiata.enumerated"/>
                            </datatype>
                            <valList type="closed">
                                <valItem ident="Features.Abbr">
                                    <desc>Boolean feature. Is this an abbreviation?</desc>
                                </valItem>
                                <valItem ident="Features.Poss">
                                    <desc>Boolean feature of pronouns, determiners or adjectives. It tells whether the word is possessive.</desc>
                                </valItem>
                                <valItem ident="PronType.Prs">
                                    <desc>personal pronoun or determiner</desc>
                                </valItem>

                                 ..

                                 ..


example word encoding:


<tei:w fa:linguistics="Pos.NOUN " lemmaRef="inprogress://lemmasystem/Hollands/frik/1" lemma="frik">Frik</tei:w>


example split word encoding:


<tei:w xml:id="staet-op-176" rendition="#split">staet</tei:w>

<tei:w fa:linguistics="Pos.ADV " lemmaRef="inprogress://lemmasystem/Hollands/al/3" lemma="al">al</tei:w><tei:w>wringende</tei:w>

<tei:w xml:id="staet-op-179" rendition="#split">op</tei:w>

<tei:join result="w" scope="root" lemma="opstean" target="#staet-op-176 #staet-op-179" lemmaRef="inprogress://lemmasystem/Hollands/opstean/1" fa:linguistics="th-si-pa Pos.VERB "/>


example word consist of more lemma's (we don't use this yet....):


<tei:choice>
  <tei:orig>
    <tei:w fa:linguistics=".....">aint</tei:w>
  </tei:orig>
  <tei:reg>
    <tei:w lemma="be" fa:linguistics="...">am</tei:w>
    <tei:w lemma="not" fa:linguistics="...">not</tei:w>
  </tei:reg>
</tei:choice>


Bye,


Eduard Drenth, Software Architekt


[email protected]


Doelestrjitte 8

8911 DX  Ljouwert

+31 58 234 30 47


gpg: https://sks-keyservers.net/pks/lookup?op=get&search=0x065EF82A1E02CC43
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.