Archimedes Text Repository: Sentence ID Tool
The sentence id insertion tool adds ids (i.e. an "id" attribute with a value) to <s> tags in any valid archimedes xml document.
The ids are numbered sequentially, starting with the first occurrence of <s>, and are null-padded to six digits. They are also prefixed with "s." for "s element", in order to conform to sgml data-typing rules that prohibits a digit as the first character of an id value.
Thus, the first sentence in a document will receive the id:
and the <s> tag for that sentence will look like this:
NB: All preexisting values for sentence id attributes will be lost. The tag's other attributes, if it has any, will remain unchanged.