Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

need <ref> or <annotationRef>; <linkGrp> would make sense as well #17

Open
bansp opened this issue Mar 20, 2017 · 2 comments
Open

need <ref> or <annotationRef>; <linkGrp> would make sense as well #17

bansp opened this issue Mar 20, 2017 · 2 comments

Comments

@bansp
Copy link
Contributor

bansp commented Mar 20, 2017

  1. I am taking a very analytic approach to creating and assembling annotations, and I found myself in need of expressing reference in a clean way (not by abusing <seg>, which allows for <ref> children), right under listAnnotation.

What I have is something like:

<listAnnotation type="segmentation" xml:id="lA1">...
<listAnnotation type="terminals" xml:id="lA2">...
<listAnnotation type="nonterminals" xml:id="lA3">...

-- these are in a way general-purpose annotations, especially the upper two (and note that I can have many instances of each, if I want to support multiple annotations for a single resource), and now I would like to follow up with something like:

<listAnnotation type="tree">
   <annotationRef type="root" target="lA3.5"/>
    <annotationRef type="nonterminals" target="lA3"/>
    <annotationRef type="terminals" target="lA2"/>
 </listAnnotation>

... to recreate the typical Tiger-XML-like serialization. I could do with <tei:ref> here, although <annotationRef> appears to me to carry the right amount and the right kind of semantics, as opposed to the extremely general <ref>.

  1. Additionally, it's struck me now, belatedly, that alignment was after all among the original goals behind the standoff approach (recall: cesAna and... cesAlign), so it would not be in any way shameful, and indeed quite sensible, to re-implement the second part of the original goal in an approach that is, among others, meant to cater to people who would otherwise attempt to revive the CES in some form. In other words, I would like to suggest adding <tei:linkGrp> as a child of listAnnotation.

These are related proposals, but with definitely different scopes. <linkGrp> points outside (e.g. for sentence alignment in a multilingual resource, etc.), whereas the putative <annotationRef> would be a <standOff>-internal pointer.

@bansp
Copy link
Contributor Author

bansp commented Mar 21, 2017

Ah, to be sure: I'm not asking for work to be done, I'm just asking for discussion or green light :-)

@bansp
Copy link
Contributor Author

bansp commented Apr 4, 2017

Ping.
I'm moving in this direction... am I on my own or is there interest in enriching the standOff model with this? (hint: there should be interest in that ;-))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant