eXistSolutions / LGPN-ling

3 stars 3 forks source link

Entry form: Name variants #337

Closed tuurma closed 6 years ago

tuurma commented 7 years ago

/estimate 8h

tuurma commented 7 years ago

related to #333

currently we have several forms of a name: Greek, file name and Latin transliteration which may contain parenthesized parts (H)

image

          <entry xml:id="Ἁβροτέρα">
              <form type="lemma">
                  <orth type="greek">Ἁβροτέρα</orth>
                  <orth type="latin">(H)abrotera</orth>
                  <orth type="variant">Habrotera</orth>
...
            </form>
...
      </entry>

We will add to the current model to enable adding an arbitrary number of name variants. Thus former orth[@type='variant'] will become orth[@type='h-variant'] and a template for name variants will be added as a child of form[@type='lemma'] with orth representing the variant form and usg dialectal usage

                  <form type="variant">
                      <orth></orth>
                      <usg></usg>
                  </form>
tuurma commented 6 years ago

The design for name variants has been simplified (as per Sophie's email of Nov 30th)

image

Thus proposed TEI structure would be

                  <form type="variant">
                      <orth></orth>
                      <gen></gen>
                      <usg></usg>
                  </form>
Hippodamie commented 6 years ago

Hi, Magdalena. Yes, I confirm. Best, Sophie (not anymore available until toonight)

Le 12 déc. 2017 à 11:41, Magdalena Turska notifications@github.com a écrit :

The design for name variants has been simplified (as per Sophie's email of Nov 30th)

https://user-images.githubusercontent.com/449468/33880128-e7e3555e-df30-11e7-8a61-4ae080ae2c1f.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eXistSolutions/LGPN-ling/issues/337#issuecomment-351013465, or mute the thread https://github.com/notifications/unsubscribe-auth/AQI7mqsgDqpqBJC8EU_H6mFBAN2rSEpRks5s_lhUgaJpZM4QREol.

tuurma commented 6 years ago

Entry form will allow adding as many name variants as is required (data is silly, just to illustrate the concept)

image

tuurma commented 6 years ago

There is no name variant by default, may be added via + button as required

image

tuurma commented 6 years ago

@hippodamie shall I move the gender field to the left, preceding the variant form itself? Would look like this

image

Hippodamie commented 6 years ago

Yes, please. All perfect before this email, except that detail.

Le 12 déc. 2017 à 12:22, Magdalena Turska notifications@github.com a écrit :

@Hippodamie https://github.com/hippodamie shall I move the gender field to the left, preceding the variant form itself?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eXistSolutions/LGPN-ling/issues/337#issuecomment-351023062, or mute the thread https://github.com/notifications/unsubscribe-auth/AQI7muxBB3bGiChnV1LOymaBsFB_bUrQks5s_mHmgaJpZM4QREol.