tools icon indicating copy to clipboard operation
tools copied to clipboard

teiaddphonetics: Add pronunciations to translations

Open respiranto opened this issue 4 years ago • 2 comments

Currently, <pron/> tags are only generated for entry/form/orth. It seems valuable to also generate them for the translation equivalents. If there is a legal way to do so in TEI.

respiranto avatar Dec 31 '20 17:12 respiranto

The following is legal.

            <sense>
               <cit type="trans">
                  <quote>...</quote>
                  <pron>...</pron>
               </cit>

This approach raises a few potential questions but is very simple, and easily translatable into TEI Lex0, which it might make sense to use as the pivot format (rather than our native format).

The question(s) concern the mutual relationship between <pron> and <quote>, which is made very flat in this case (rather than involving a <form> element) but I don't see a real issue here, if we keep this systematic.

bansp avatar Jan 05 '21 22:01 bansp

           <sense>
              <cit type="trans">
                 <quote>...</quote>
                 <pron>...</pron>
              </cit>

This approach raises a few potential questions but is very simple, and easily translatable into TEI Lex0, which it might make sense to use as the pivot format (rather than our native format).

Could you please be more specific how Lex0 comes into play here? I would go with the simple solution that you have suggested and implement it if I have time.

The question(s) concern the mutual relationship between <pron> and ', which is made very flat in this case (rather than involving a

` element) but I don't see a real issue here, if we keep this systematic.

AFAIR, fd-wikdict dictionaries ue multiple quote's within a cit, or at least used to.

humenda avatar Jan 09 '21 19:01 humenda