DARIAH-ERIC / lexicalresources

Data space of the DARIAH Lexical Resources Working Group
https://dariah-eric.github.io/lexicalresources/
BSD 2-Clause "Simplified" License
18 stars 24 forks source link

Differences between objectLanguage, workingLanguage, sourceLanguage, and targetLanguage #158

Closed daliboris closed 1 year ago

daliboris commented 2 years ago

I'm curious how should I use these roles for dictionary description. Can we have some examples?

Does the selection of the role depend on the kind of dictionary, for example, a modern monolingual dictionary contains the same objectLanguage and workingLanguage?

And what about bilingual dictionary? Should I use objectLanguage for headwords, workingLanguage for metalanguage (for example in Latin), sourceLanguage for language of the citations (will be identical with workingLanguage) and targetLanguage for the language of translation?

Can you help me, which role to choose?

michmech commented 2 years ago

The way I understand and use this terminology is as follows.

In a bilingual dictionary, the source language is the language of the headwords and the target language is the language of the translations.

If the bilingual language is an encoding dictionary (eg. a Czech-to-German dictionary for Czech-speaking learners of German) then the target language is the object language and the source language is the working language (I prefer to call it the metalanguage).

If the bilingual dictionary is a decoding dictionary (eg. a German-to-Czech dictionary for Czech-speaking learners of German) then it's the other way around: the source language is the object language and the target language is the working language (or metalanguage).

In other words, the object language is the language the dictionary is about, the language whose lexicon the dictionary explains, while the working language/metalanguage is the language in which the explanations are given.

All this terminology has its roots in the European Dictionary Portal, a website I co-created back in 2016 as part of the European Network of e-Lexicography (ENeL) COST Action.

ttasovac commented 1 year ago

I'm closing this old issue. There is now also an explanation in the specification of language and the @role attribute: https://dariah-eric.github.io/lexicalresources/pages/TEILex0/spec.html#TEI.language