<certainty> 指出標記文本某些部分的確定或不確定的程度。 21.1.2 Structured Indications of Uncertainty
組件
certainty — 21 Certainty, Precision, and Responsibility
除全域屬性以外
att.scoping (@target , @match )
locus
指出不確定標記的確切位置:元素的應用性、開始標籤或結束標籤的確切位置、特定屬性的屬性值等。
狀態
必備的
資料類型
合法的值是:
name
uncertainty concerns whether the name of the element
or attribute used is correctly applied.
start
uncertainty concerns whether the start of the element
is correctly identified.
end
uncertainty concerns whether the end of the element
is correctly identified.
location
uncertainty concerns both the start and the end of the
element.
value
uncertainty concerns the content (for an element) or
the value (for an attribute)
assertedValue
提供一個替代屬性值給指定標記部分—一個替代的類目識別符碼、轉錄、或屬性值,或是元素anchor (用來指出一個替代的開始或結束位置) 的識別符碼。若使用屬性assertedValue ,則屬性degree 中指出的確定程度適用於屬性assertedValue 所指明的替代標記;若無使用,則確定程度適用於文本中的標記。
狀態
推薦的
資料類型
值
generic identifier, attribute value, location (e.g.
indicated by a reference to an anchor element or to an
ptr element), or other appropriate alternative
value.
<certainty target="#ESX " locus="name " assertedValue="placeName " degree="0.2 "> <desc> It is unlikely, but possible, that this refers to the place
rather than the person.
</desc> </certainty>
given
指出在評估確定程度時所設想的情況。
狀態
推薦的
資料類型
1–∞ 次可出現:
以空白鍵隔開
值
a pointer to a characterization of the conditions which
are assumed in the assignment of a degree of
confidence.
degree
指出屬性locus 所指定的標記部分之確定程度。
屬於
可包含
宣告
簡潔式轉到XML式 XML式轉到簡潔式 <rng:element name="certainty "> <rng:ref name="att.global.attributes "/> <rng:ref name="att.scoping.attributes "/> <rng:attribute name="locus "> <rng:choice> <rng:value> name</rng:value> <rng:value> start</rng:value> <rng:value> end</rng:value> <rng:value> location</rng:value> <rng:value> value</rng:value> </rng:choice> </rng:attribute> <rng:optional> <rng:attribute name="assertedValue "> <rng:choice> <rng:ref name="data.pointer "/> <rng:ref name="data.name "/> <rng:ref name="data.word "/> </rng:choice> </rng:attribute> </rng:optional> <rng:optional> <rng:attribute name="given "> <rng:list> <rng:oneOrMore> <rng:ref name="data.pointer "/> </rng:oneOrMore> </rng:list> </rng:attribute> </rng:optional> <rng:optional> <rng:attribute name="degree "> <rng:ref name="data.probability "/> </rng:attribute> </rng:optional> <rng:zeroOrMore> <rng:ref name="model.glossLike "/> </rng:zeroOrMore> </rng:element>
element certainty
{
att.global.attributes ,
att.scoping.attributes ,
attribute locus { "name" | "start" | "end" | "location" | "value" },
attribute assertedValue { data.pointer | data.name | data.word }?,
attribute given { list { data.pointer + } }?,
attribute degree { data.probability }?,
model.glossLike *
}
例子
張先生去看
<persName xml:id="zh-tw_JZZ "> 江子翠
</persName> 那邊有什麼活動。
<certainty target="#zh-tw_JZZ " locus="name " degree="0.6 "/> <certainty target="#zh-tw_JZZ " locus="name " assertedValue="placeName " degree="0.4 "/>
例子
王先生找到
<anchor xml:id="zh-tw_A1 "/> 小
<persName xml:id="zh-tw_lin "> 林
</persName> ,感動極了。
<certainty xml:id="zh-tw_c1 " target="#zh-tw_lin " locus="name " degree="0.8 "/> <certainty target="#zh-tw_lin " given="#c1 " locus="start " degree="0.9 "/> <certainty xml:id="zh-tw_c2 " target="#zh-tw_lin " locus="name " assertedValue="placeName " degree="0.2 "/> <certainty target="#zh-tw_lin " given="#c2 " locus="start " degree="0.1 "/> <certainty target="#zh-tw_lin " given="#c2 " locus="start " assertedValue="#a1 " degree="0.9 "/>