clarin-eric / parla-clarin

Schema for modelling parliamentary debates
https://clarin-eric.github.io/parla-clarin/
21 stars 6 forks source link

ID for speeches / utterance chains #25

Open ninpnin opened 3 months ago

ninpnin commented 3 months ago

The Parla-Clarin documentation specifies the use of next and prev attributes for sequences of utterances:

https://clarin-eric.github.io/parla-clarin/#sec-interruptions

<u who="#BorisJohnson" xml:id="GB001.8.3"
 next="#GB001.8.5">I propose a no-deal Brexit.</u>
<u who="#JeremyCorbyn" xml:id="GB001.8.4">Traitor!</u>
<u who="#BorisJohnson" xml:id="GB001.8.5"
 prev="#GB001.8.3">Because England does not want any dealings with the European Union.</u>

However, only the individual utterance elements (<u>) have IDs, and the full sequences / speeches cannot be identified. It would be good to have some way to refer to these speeches / sequences (unless there's a way to do that already).

TomazErjavec commented 2 months ago

the full sequences / speeches cannot be identified.

I'm not sure why not - they differ from uninterrupted speeches by the fact that they have @next and/or @prev attributes, and you can use these attributes to determine the "full" speech.

That said, this is currently not really used in ParlaMint as far as I am aware, and we have simply copied this principle from the TEI Guidelines, i.e. nobody has made an effort to write some XSLT to actually do this. I can try, if there is a use case.