Re: <sp> dans <seg>
James Cummings <[email protected]> Fri, 5 May 2017 13:01:33 +0100
| Newsgroups | gmane.text.tei.general |
|---|---|
| Organization | IT Services, University of Oxford |
| Message-ID | <[email protected]> |
Hi Ioana, I might be misunderstanding without a clear example, but if the=20 entirety of the speech is relating to a particular interpretation=20 then why not use the @ana attribute on the speech itself? Then=20 where the interpretation stops or changes mid-speech then mark it=20 using <seg> inside the paragraph or verse lines. <seg> is=20 definitely only intended for phrase-level segments of text. =20 (<ab> is the equivalent for paragraph-like anonymous blocks.) <sp ana=3D"#confrontation"> <p>Some text</p> </sp> <sp ana=3D"#confrontation"> <l>Some verse continuing the confrontation</l> </sp> <sp> <p><seg ana=3D"#confrontation">Here some confrontation</seg> <seg=20 ana=3D"#somethingElse">a different segment of interpretation</seg></p> </sp> These can indeed point to <interp> elements as you note, those=20 for some forms of more taxonomical interpretation there are those=20 who use @ana to point to a hierarchical <taxonomy> of many=20 <category> and sub <category> elements. But maybe I've misunderstood. Best wishes, James On 05/05/17 12:52, Ioana Galleron wrote: > Dear all, > > I am trying to encode some topical elements in several plays,=20 > and I thought about using the couple of tags <seg @ana> and=20 > <interp>, as recommended by the guidelines; I think I can=20 > define a quite stable taxonomy of elements, which I could use=20 > to mark up several plays, and several occurrences of some=20 > motifs in the same play - hence the choice of <interp> rather=20 > than simply resorting to the use of <span>. > > (An example of such elements, for those interested and/ or for=20 > clarity sake: =C2=AB recognition =C2=BB; =C2=AB husband and wife quarre= ling =C2=BB;=20 > =C2=AB confrontation of rival women =C2=BB etc.; once again, these are=20 > widely used infra-scenes in the French plays of 17th and 18th=20 > century I am studying, so a common typology can be drafted of,=20 > and used to consistenly mark up several plays, by different=20 > authors). > > Unfortunately, <seg> does not seem to accept <sp> as a child,=20 > nor <sp> <seg>. Actually, <seg> is accepted only inside <p> or=20 > <l> (some of my plays are in prose, other in verses). > I can work around it by using the <join> element, pointing to=20 > the xml:id of each speech, but this is a cumbersome task when=20 > the topical element I want to mark runs over dozen of speeches=20 > (but still, does not cover the entire scene). It would be much=20 > easier if I could start a <seg> before the appropriate <sp> and=20 > end it after the last one. > > What am I not doing correctly? What else could I use to label=20 > chunks of text (of various lengths) after a coherent list of=20 > classes? > Best regards, > Ioana Galleron > > --=20 Dr James Cummings, [email protected] Academic IT Services, University of Oxford