TEIC / TEI

The Text Encoding Initiative Guidelines
https://www.tei-c.org
Other
271 stars 88 forks source link

<measure> should be a member of att.ranging #2254

Closed sydb closed 1 year ago

sydb commented 2 years ago

4 of the 5 attributes provided by att.ranging have the word “measurement” in their definitions. Yet, to my surprise, <measure> is not a member! (The members of att.ranging are [1], but some of those really should be removed from this class. See #299, which I just realized is still assigned to me, but probably should be assigned to @hcayless.)

Seems to me it is important to be able to express ranges with <measure>. Take the phrase

provided more than $120m in aid to Ukrainians

(something I just found on the web). If you are encoding measurements of money in this corpus, you can easily say

… provided more than <measure unit="USD" commodity="currency" quantity="120000000">$120m</> in aid to Ukrainians.

But if you want to encode it as a limit (perhaps for comparisons to other contributions), you can’t say

… provided <measure unit="USD" commodity="currency" atLeast="120000000">more than $120m</> in aid to Ukrainians.

That seems silly to me.

Notes [1] <add>, <addSpan>, <age>, <birth>, <damage>, <damageSpan>, <date>, <death>, <del>, <delSpan>, <depth>, <dim>, <dimensions>, <ellipsis>, <ex>, <floruit>, <gap>, <geogFeat>, <height>, <mod>, <num>, <offset>, <origDate>, <population>, <precision>, <redo>, <restore>, <retrace>, <secl>, <space>, <state>, <subst>, <substJoin>, <supplied>, <surplus>, <time>, <trait>, <unclear>, <undo>, and <width>.