Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Combine IGT translations as <gloss type="igt"> with grammar in value of <span type="gram"> #93

Open
iljackb opened this issue Nov 3, 2019 · 0 comments

Comments

@iljackb
Copy link
Owner

iljackb commented Nov 3, 2019

As per the discussion on issue #91, I need to decide whether to combine the annotations of IGT with those of grammar.

Rather than doing the following and creating duplicate content (which is time consuming and redundant)....

               <spanGrp type="annotations">
                  .....
                  <span type="gram" target="#d1e200" ana="#V #INTRANS #INCOMPL">
                  <span type="igt" target="#d1e200">go</span>

                  <span type="gram"  target="#d1e202" ana="#ENCLTC #3PERS #SG #ANML"/>
                  <span type="igt" target="#d1e202">3sg.anml</span>

                  <span target="#d1e204" xml:lang="en">up to</span>
                  <span target="#d1e204" xml:lang="es">hasta</span>
                  <span type="gram" target="#d1e204" ana="#ADPOS"/>
                  <span type="igt" target="#d1e204">up.to</span>

                  <span type="translation"  target="#d1e206" xml:lang="en">where</span>
                  <span type="translation"  target="#d1e206" xml:lang="es">dónde</span>
                  <span type="gram" target="#d1e206" ana="#ADPOS"/>
                  <span type="igt" target="#d1e206">face</span>

                  <span type="translation" target="#d1e208" xml:lang="en" type="inflected">are sitting</span>
                  <span type="translation" target="#d1e208" xml:lang="es" type="inflected">están</span>
                  <span type="gram" target="#d1e208" ana="#V #INTRANS #INCOMPL"/>
                  <span type="igt" target="#d1e208">sit</span>

                  <span type="translation" target="#d1e210" xml:lang="en">tortilla</span>
                  <span type="translation" target="#d1e210" xml:lang="es">tortilla</span>
                  <span type="gram" target="#d1e210" ana="#N"/>
                  <span type="igt" target="#d1e210">tortilla</span>
               </spanGrp> 

...it would be more efficient to combine the two and put the IGT in the value of the <span type="gram"> element given that the given content will be annotated anyway.. Thus I would propose to do the following:

            <spanGrp type="annotations" resp="#JB">
              ...
               <span type="gram" target="#d1e200" ana="#V #INTRANS"><gloss type="igt">go</gloss></span>
               <span type="gram" target="#d1e202" ana="#ENCLTC #3PERS #SG #ANML"><gloss type="igt">3sg.anml</gloss></span>
              ...
               <span type="gram" target="#d1e204" ana="#ADPOS"><gloss type="igt">up.to</gloss></span>
              ...
               <span type="gram" target="#d1e206" ana="#ADPOS"><gloss type="igt">face</gloss></span>
              ...
               <span type="gram" target="#d1e208" ana="#V #INTRANS #INCOMPL"><gloss type="igt">sit</gloss></span>
              ...
               <span type="gram" target="#d1e210" ana="#N"><gloss type="igt">tortilla</gloss></span>
            </spanGrp>

Ideally, I'd like to use @notation for specifying interlinear-glossed text since it is an annotation standard, I could do this in the ODD and maybe propose a ticket too...

@laurent what do you think?

This was referenced Nov 3, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant