<div dir="ltr"><div dir="ltr">On Wed, Aug 28, 2019 at 2:46 AM Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a>&gt; wrote:<br></div><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-GB">
<div class="gmail-m_-8136865383944050217WordSection1">
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)">What I mean is that you can’t use XML elements, only XML attributes (And it is the
<b>value</b> of the attribute that appears). These must first exist in your corpus of course. </span><span style="color:rgb(31,73,125);font-family:Verdana,sans-serif;font-size:10pt">So, if you want to use sentence numbers, you need to have a sentence number attribute (call it num, n or whatever) on &lt;s&gt; . If you
 only have &lt;s&gt; … &lt;/s&gt; with no attribute-values, then there is nothing to use as a label. </span><span style="color:rgb(31,73,125);font-family:Verdana,sans-serif;font-size:10pt">And that requires having &lt;s num=”…”&gt; in your corpus input files, and declaring num as an attribute of s  when indexing. That internally
 will define s_num.</span></p></div></div></blockquote><div><br></div><div>Thanks for the explanation, Andrew. It looks like the solution would be a script that reads through the tagged texts and adds a number from a counter to all the &lt;s&gt; tags, then. </div><div><br></div><div>Best wishes,</div><div>Scott</div><div><br></div></div></div>