Update: I'm getting the dictionary application ready for the Omentielva, where Roman Rausch will present it. Here's a little screencast video:
https://youtu.be/4VuVdjRlD7Y
With this version you can search in either word forms or glosses, but it displays only a sub-set of the Eldamo data set: a headline containing language code, speech and the primary gloss; below that the source references and below that the associated glosses. The notes for the word entry - if any - are displayed in the separate text box at the bottom.
I will add some dummy edit screens to illustrate our intentions of being able to add private constructions or author new entries (for the central reference database).
Tamas Ferencz Aug 04, 2017 (16:01)
Lúthien Merilin Aug 05, 2017 (14:39)
Lúthien Merilin Aug 05, 2017 (15:05)
“Elf” ✧ PE17/045.0905; SA/edhel.001; WJ/377.3002; WJI
“Elven” ✧ PM/346.4001-1 (Eðel)
There are many Ref elements under this Word element
but how do you decide to display those particular two?
The logic I figured out was something like this:
> display the Gloss and Source attributes of the child Ref elements that:-
a) do have a Gloss attribute, and
b) refer to the same Form (ie, Edhel) as the parent Word Element
However, on the Eldamo page there is one that has Eðel as form ... how do you match that on Edhel?
There must be some sort of constraint, or otherwise I would think that Ref elements such as
would also show up. But they don't.
Is it maybe some sort of mapping happening, of the ð character on dh?
And if so, is there more like that?
Roman mentioned that Hiswelokë used a "normalised" form that could be used to match things like this; I can imagine that it might be interesting to have something like that. As Roman describes it:
This is also where the scholars/poets distinction comes in. Scholars will want Tolkien's exact spelling, they know what it means and how to use it. Poets will want the normalised form, lest the texts they write become an inconsistent mess.
Ideally, it would be something that can be turned on and off at will.
Imagine a "Poet | Scholar" switch :)
Paul Strack Aug 06, 2017 (03:43)
The word entry (both its form and its glosses) are a normalization of the ref elements. As such, the collection of refs into words is necessarily subjective. They are simply my assertion that a set of references are all examples of different forms of the same word.
Essentially, the refs are the "scholarly" represents, and the word are the "poetic" (or popular) representation, with the caveat that all the words reflect my own biases about Tolkien's languages.
One final warning: while I generally strive to make the ref elements as objective as I can, they are also filtered through my own knowledge of Tolkien's languages. For example, the nature of some inflections are educated guesses on my part, since the exact inflection is not always explicit in the source material.
I've been working on the data model for a long time, and the level of rigor I've applied during data entry has not always been consistent. There are numerous cases where the ref entries are not a completely accurate representation of the source material. I am also certain there are numerous typos in the data model; I am constantly finding new ones every time I review the material.
I am hoping your project can help increase the number of reviewers and improve the quality of the data in the data model.
Paul Strack Aug 06, 2017 (04:05)
eldamo.org - Eldamo : Sindarin : Edhel
The deleted forms under the variations are actually inflected forms and thus should not appear in that section.
Lúthien Merilin Aug 06, 2017 (17:35)
This is very helpful ... so, let me see if I've got this straight: for the Glosses section, I should accumulate the 'gloss' and 'source' fields for all elements under an entry that do not have any child
Also thanks for pointing that out that the Entry (Word) elements is a normalisation of the ref element. This clarifies things a lot.
Paul Strack Aug 06, 2017 (20:22)
However you don't have to (and indeed shouldn't) slavishly replicate how Eldamo renders the data. You could (for example) render all the glosses with an inflection notation where appropriate.
Glosses
Elf
Elves (plural)
The Elves (class-plural)
All Elves (class-plural)
Some of the rendering choices I made are because I am producing a downloadable web site with static HTML pages and I am trying to minimize page size. Since you are producing an application and not a web site, you don't have the same constraints as me.
Lúthien Merilin Aug 07, 2017 (08:37)
It can (and will) be changed later, but we'd need to think about that more carefully. This is a bit of a haste job given the Omentielva's schedule ...
Lúthien Merilin Aug 07, 2017 (08:57)
I'm trying to interpret the notion of a Derivation (Cognate, Inflection) of a normalised Entry. I don't have the data list at hand now (I'm on my way to work) ... but does that occur only when there are no other forms available than the one displayed with the Entry itself? (well, and that particular Derivation of course, or whatever it happens to be)
I'm glad that you mentioned this particular distinction! Of course I read that a Ref is connected to a Source element but, let's say, the semantics of it weren't yet clear to me. But now it starts to fall into place.
Paul Strack Aug 07, 2017 (13:31)
Lúthien Merilin Aug 07, 2017 (16:24)
Maybe it sounds odd that I did not figure that out before ;) - I viewed the whole matter as an abstraction. Knowing this makes it much easier to understand.
Lúthien Merilin Aug 12, 2017 (18:50)
https://youtu.be/UygPH7-8-PQ