- From: CVS User fsasaki <cvsmail@w3.org>
- Date: Tue, 20 Nov 2012 12:02:52 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory gil:/tmp/cvs-serv20959
Modified Files:
its20.html its20.odd
Log Message:
edits related to mtconfidence, its tool annotation and confidence score - see change log for related action items
--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2012/11/20 11:30:45 1.236
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2012/11/20 12:02:52 1.237
@@ -1658,12 +1658,14 @@
</pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-3.xml" shape="rect">examples/xml/EX-terms-selector-3.xml</a>]</p></div><p id="terminology-local">LOCAL: The following local markup is available for the
<a href="#terminology" shape="rect">Terminology</a> data category:</p><ul><li><p>A <code>term</code> attribute with the value "yes" or
"no".</p></li><li><p>An optional <code>termInfoRef</code> attribute that contains a IRI
- referring to the resource providing information about the term.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-terms-selector-4" id="EX-terms-selector-4" shape="rect"/>Example 40: The <a href="#terminology" shape="rect">Terminology</a> data category expressed
- locally</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><book</strong> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong>
+ referring to the resource providing information about the term.</p></li><li><p>An optional <code>termConfidence</code> attribute with the value of a rational number in the interval 0 to 1. This represents the confidence of the agents producing the annotation that the values of the term and, where provided, <code>termInfoRef</code>, are accurate. 1 represents the highest level of confidence. </p></li></ul><p>Any node selected by the terminology data category with the termConfidence attribute specified MUST be contained in an element with the <code>toolsRef</code> (or in HTML5 <code>its-tools-ref</code>) attribute specified for the terminology data category.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-terms-selector-4" id="EX-terms-selector-4" shape="rect"/>Example 40: The <a href="#terminology" shape="rect">Terminology</a> data category expressed
+ locally, including term information reference and confidence score.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><book</strong> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong>
<strong class="hl-tag" style="color: #000096"><head></strong>...<strong class="hl-tag" style="color: #000096"></head></strong>
<strong class="hl-tag" style="color: #000096"><body></strong>
...
- <strong class="hl-tag" style="color: #000096"><p></strong>And he said: you need a new <strong class="hl-tag" style="color: #000096"><quote</strong> <span class="hl-attribute" style="color: #F5844C">its:term</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">></strong>motherboard<strong class="hl-tag" style="color: #000096"></quote></strong><strong class="hl-tag" style="color: #000096"></p></strong>
+ <strong class="hl-tag" style="color: #000096"><p></strong>And he said: you need a new
+ <strong class="hl-tag" style="color: #000096"><quote</strong> <span class="hl-attribute" style="color: #F5844C">its:term</span>=<span class="hl-value" style="color: #993300">"yes"</span>
+ <span class="hl-attribute" style="color: #F5844C">its-info-term-ref</span>=<span class="hl-value" style="color: #993300">"http://www.directron.com/motherboards1.html"</span> <span class="hl-attribute" style="color: #F5844C">its-term-confidence</span>=<span class="hl-value" style="color: #993300">"0.5"</span><strong class="hl-tag" style="color: #000096">></strong>motherboard<strong class="hl-tag" style="color: #000096"></quote></strong><strong class="hl-tag" style="color: #000096"></p></strong>
...
<strong class="hl-tag" style="color: #000096"></body></strong>
<strong class="hl-tag" style="color: #000096"></book></strong>
@@ -1729,7 +1731,7 @@
<strong class="hl-tag" style="color: #000096"></its:rules></strong>
</pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-2.xml" shape="rect">examples/xml/EX-dir-selector-2.xml</a>]</p></div><p id="directionality-local">LOCAL: The following local markup is available for the
<a href="#directionality" shape="rect">Directionality</a> data category:</p><ul><li><p>A <code>dir</code> attribute with the value "ltr",
- "rtl", "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e4559" id="d0e4559" shape="rect"/>Example 44: The <a href="#directionality" shape="rect">Directionality</a> data category expressed
+ "rtl", "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e4576" id="d0e4576" shape="rect"/>Example 44: The <a href="#directionality" shape="rect">Directionality</a> data category expressed
locally</div><p>On the first <code>quote</code> element, the <code>its:dir="rtl"</code> attribute
indicates a right-to-left content.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text</strong> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"en"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">></strong>
<strong class="hl-tag" style="color: #000096"><body></strong>
@@ -1738,7 +1740,7 @@
W3C<strong class="hl-tag" style="color: #000096"></quote></strong>.<strong class="hl-tag" style="color: #000096"></par></strong>
<strong class="hl-tag" style="color: #000096"></body></strong>
<strong class="hl-tag" style="color: #000096"></text></strong>
-</pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml" shape="rect">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d0e4580" id="d0e4580" shape="rect"/>Example 45: The <a href="#directionality" shape="rect">Directionality</a> data category expressed
+</pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml" shape="rect">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d0e4597" id="d0e4597" shape="rect"/>Example 45: The <a href="#directionality" shape="rect">Directionality</a> data category expressed
locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong>
<strong class="hl-tag" style="color: #000096"><html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">></strong>
<strong class="hl-tag" style="color: #000096"><head></strong>
@@ -1863,7 +1865,7 @@
inheritance. The default is that elements are not within text.</p><p id="withintext-global">GLOBAL: The <code>withinTextRule</code> element contains the
following:</p><ul><li><p>A required <code>selector</code> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this
rule applies.</p></li><li><p>A required <code>withinText</code> attribute with the value "yes",
- "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e4996" id="d0e4996" shape="rect"/>Example 49: Specifying elements within text with a <code>withinTextRule</code> element</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong>
+ "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e5013" id="d0e5013" shape="rect"/>Example 49: Specifying elements within text with a <code>withinTextRule</code> element</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong>
<strong class="hl-tag" style="color: #000096"><its:withinTextRule</strong> <span class="hl-attribute" style="color: #F5844C">withinText</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//b | //em | //i"</span><strong class="hl-tag" style="color: #000096">/></strong>
<strong class="hl-tag" style="color: #000096"></its:rules></strong>
</pre></div><p>[Source file: <a href="examples/xml/EX-within-text-implementation-1.xml" shape="rect">examples/xml/EX-within-text-implementation-1.xml</a>]</p></div><p id="withintext-local">LOCAL: The following local markup is available for the <a href="#elements-within-text" shape="rect">Elements Within Text</a> data category:</p><ul><li><p>A <code>withinText</code> attribute with the values "yes",
@@ -2029,7 +2031,7 @@
specifying the granularity level of the disambiguation. The value can be one of the
following identifiers: <code>lexicalConcept</code>, <code>ontologyConcept</code>, or
<code>entity</code>. The default value is <code>entity</code>.</p></li></ul><p>For an example, see <a href="#EX-disambiguation-html5-rdfa-companion-document" shape="rect">Example 56</a>.</p><p id="disambiguation-local">LOCAL: The following local markup is available for the
- <a href="#Disambiguation" shape="rect">Disambiguation</a> data category:</p><ul><li><p>An optional <code>disambigGranularity</code> attribute that contains a string,
+ <a href="#Disambiguation" shape="rect">Disambiguation</a> data category:</p><ul><li><p>An optional <code>disambigConfidence</code> attribute with the value of a rational number in the interval 0 to 1. This represents the confidence of the agents producing the annotation that the union of the values for the other disambiguation attributes in this instance are accurate. 1 represents the highest level of confidence.</p></li><li><p>An optional <code>disambigGranularity</code> attribute that contains a string,
specifying the granularity level of the disambiguation. The value <a href="#rfc2119" shape="rect">MUST</a> be one of the following identifiers:
<code>lexicalConcept</code>, <code>ontologyConcept</code>, or <code>entity</code>.
The default value is <code>entity</code>.</p></li><li><p>At least one of the following: <ul><li><p>To specify the target type class: <ul><li><p>A <code>disambigClassRef</code> attribute that contains a IRI, specifying
@@ -2037,7 +2039,7 @@
representing the disambiguation identifier collection source.</p></li><li><p>A <code>disambigIdent</code> attribute that contains a string,
representing the disambiguation identifier for the disambiguation target
that is valid within the specified disambiguation source.</p></li></ul></li><li><p>When using the addressing <a href="#disambiguation-use-cases" shape="rect">mode 2</a>:</p><ul><li><p>A <code>disambigIdentRef</code> attribute that contains a IRI that
- represents a unique identifier for the disambiguation target.</p></li></ul></li></ul></p></li></ul></p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-html5-local-1" id="EX-disambiguation-html5-local-1" shape="rect"/>Example 54: Local mixed usage of Usage of <code>disambigClassRef</code>,
+ represents a unique identifier for the disambiguation target.</p></li></ul></li></ul></p></li></ul></p></li></ul><p>Any node selected by the <a href="#Disambiguation" shape="rect">disambiguation</a> data category with the <code>disambigConfidence</code> attribute specified <a href="#rfc2119" shape="rect">MUST</a> be contained in an element with the <code>toolsRef</code> (or in HTML5 <code>its-tools-ref</code>) attribute specified for the <a href="#Disambiguation" shape="rect">disambiguation</a> data category. For more information, see <a class="section-ref" href="#its-tool-annotation" shape="rect">Section 5.8: ITS Tools Annotation</a>.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-html5-local-1" id="EX-disambiguation-html5-local-1" shape="rect"/>Example 54: Local mixed usage of Usage of <code>disambigClassRef</code>,
<code>disambigGranularity</code>, and <code>disambigIdentRef</code> in HTML.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong>
<strong class="hl-tag" style="color: #000096"><html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">"en"</span><strong class="hl-tag" style="color: #000096">></strong>
<strong class="hl-tag" style="color: #000096"><head></strong>
@@ -2046,13 +2048,15 @@
<strong class="hl-tag" style="color: #000096"></head></strong>
<strong class="hl-tag" style="color: #000096"><body></strong>
<strong class="hl-tag" style="color: #000096"><p></strong><strong class="hl-tag" style="color: #000096"><span</strong>
+ <span class="hl-attribute" style="color: #F5844C">its-disambig-confidence</span>=<span class="hl-value" style="color: #993300">"0.7"</span>
<span class="hl-attribute" style="color: #F5844C">its-disambig-class-ref</span>=<span class="hl-value" style="color: #993300">"http://nerd.eurecom.fr/ontology#Place"</span>
<span class="hl-attribute" style="color: #F5844C">its-disambig-ident-ref</span>=<span class="hl-value" style="color: #993300">"http://dbpedia.org/resource/Dublin"</span>
<span class="hl-attribute" style="color: #F5844C">its-disambig-granularity</span>=<span class="hl-value" style="color: #993300">"entity"</span><strong class="hl-tag" style="color: #000096">></strong>Dublin<strong class="hl-tag" style="color: #000096"></span></strong>
is the <strong class="hl-tag" style="color: #000096"><span</strong>
<span class="hl-attribute" style="color: #F5844C">its-disambig-source</span>=<span class="hl-value" style="color: #993300">"Wordnet3.0"</span>
<span class="hl-attribute" style="color: #F5844C">its-disambig-ident</span>=<span class="hl-value" style="color: #993300">"301467919"</span>
- <span class="hl-attribute" style="color: #F5844C">its-disambig-granularity</span>=<span class="hl-value" style="color: #993300">"lexicalConcept"</span><strong class="hl-tag" style="color: #000096">
+ <span class="hl-attribute" style="color: #F5844C">its-disambig-granularity</span>=<span class="hl-value" style="color: #993300">"lexicalConcept"</span>
+ <span class="hl-attribute" style="color: #F5844C">its-disambig-confidence</span>=<span class="hl-value" style="color: #993300">"0.5"</span><strong class="hl-tag" style="color: #000096">
></strong>capital<strong class="hl-tag" style="color: #000096"></span></strong> of Ireland.<strong class="hl-tag" style="color: #000096"></p></strong>
<strong class="hl-tag" style="color: #000096"></body></strong>
<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-disambiguation-html5-local-1.html" shape="rect">examples/html5/EX-disambiguation-html5-local-1.html</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>For referring to <code>disambigClassRef</code> values, implementors are encouraged to
@@ -3172,7 +3176,8 @@
of the element, <em>including</em> child elements, but <em>excluding</em>
attributes.</p><p>Any node selected by the MTConfidence data category MUST be contained in an element
with the its:toolsRef (or in HTML5, its-tools-ref) attribute specified for the
- MTConfidence data category.</p><span class="editor-note">[Ed. note: needs reference to its tool section.]</span><p id="mtconfidence-global">GLOBAL: The <code>mtConfidenceRule</code> element contains
+ MTConfidence data category. For more information, see <a class="section-ref" href="#its-tool-annotation" shape="rect">Section 5.8: ITS Tools Annotation</a>
+ </p><span class="editor-note">[Ed. note: needs reference to its tool section.]</span><p id="mtconfidence-global">GLOBAL: The <code>mtConfidenceRule</code> element contains
the following:</p><ul><li><p>A required <code>selector</code> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which
this rule applies.</p></li><li><p>A required <code>mtConfidence</code> attribute with a value that represents the
translation confidence score as a rational number in the interval 0 to
@@ -3181,7 +3186,7 @@
text of an <code>img</code> element. This is shown alongside the local usage of
<code>mtConfidenceScore</code> for a <code>span</code> element content.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong>
<strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">></strong>
- <strong class="hl-tag" style="color: #000096"><its:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/text/body/p/"</span>
+ <strong class="hl-tag" style="color: #000096"><its:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/text/body/p"</span>
<span class="hl-attribute" style="color: #F5844C">mtProducer</span>=<span class="hl-value" style="color: #993300">"Bing Translator"</span>
<span class="hl-attribute" style="color: #F5844C">mtEngine</span>=<span class="hl-value" style="color: #993300">"en-t-cs"</span><strong class="hl-tag" style="color: #000096">/></strong>
<strong class="hl-tag" style="color: #000096"></its:rules></strong>
@@ -3209,10 +3214,11 @@
<span class="hl-attribute" style="color: #F5844C">title</span>=<span class="hl-value" style="color: #993300">"A tart with a cart"</span><strong class="hl-tag" style="color: #000096">/></strong>
<strong class="hl-tag" style="color: #000096"></p></strong>
<strong class="hl-tag" style="color: #000096"></body></strong>
-<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-mtConfidence-global-html5-1.html" shape="rect">examples/html5/EX-mtConfidence-global-html5-1.html</a>]</p></div><p>Where the external ITS rules file is as shown:</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e8380" id="d0e8380" shape="rect"/>Example 96: XML file with external rules references from an HTML5 file.</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span>
-<strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">></strong>
- <strong class="hl-tag" style="color: #000096"><its:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.785"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//*/img[@title='Front gate of Trinity College Dublin']/@title"</span><strong class="hl-tag" style="color: #000096">/></strong>
- <strong class="hl-tag" style="color: #000096"><its:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.805"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//*/img[@title='A tart with a cart']/@title"</span><strong class="hl-tag" style="color: #000096">/></strong>
+<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-mtConfidence-global-html5-1.html" shape="rect">examples/html5/EX-mtConfidence-global-html5-1.html</a>]</p></div><p>Where the external ITS rules file is as shown:</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e8427" id="d0e8427" shape="rect"/>Example 96: XML file with external rules references from an HTML5 file.</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span>
+<strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span>
+ <span class="hl-attribute" style="color: #F5844C">xmlns:h</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span><strong class="hl-tag" style="color: #000096">></strong>
+ <strong class="hl-tag" style="color: #000096"><its:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.785"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//h:img[@title='Front gate of Trinity College Dublin']/@title"</span><strong class="hl-tag" style="color: #000096">/></strong>
+ <strong class="hl-tag" style="color: #000096"><its:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.805"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//h:img[@title='A tart with a cart']/@title"</span><strong class="hl-tag" style="color: #000096">/></strong>
<strong class="hl-tag" style="color: #000096"></its:rules></strong>
</pre></div><p>[Source file: <a href="examples/html5/EX-mtconfidence-global-html5-1-external-rules.xml" shape="rect">examples/html5/EX-mtconfidence-global-html5-1-external-rules.xml</a>]</p></div><p id="mtconfidence-local">LOCAL: the following local markup is available for the
@@ -3775,7 +3781,7 @@
<em>This section is informative.</em>
</p><p>Several constraints of ITS markup cannot be validated with ITS schemas. The following
<a title="Rule-based validation --
 Schematron" href="#schematron" shape="rect">[Schematron]</a> document allows for validating some of these
- constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e10190" id="d0e10190" shape="rect"/>Example 107: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><schema</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://www.ascc.net/xml/schematron"</span><strong class="hl-tag" style="color: #000096">></strong>
+ constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e10237" id="d0e10237" shape="rect"/>Example 107: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><schema</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://www.ascc.net/xml/schematron"</span><strong class="hl-tag" style="color: #000096">></strong>
<em class="hl-comment" style="color: silver"><!-- Schematron document to test constraints for global and local ITS markup.
For ITS markup definitions, see http://www.w3.org/TR/its/ . --></em>
<strong class="hl-tag" style="color: #000096"><ns</strong> <span class="hl-attribute" style="color: #F5844C">prefix</span>=<span class="hl-value" style="color: #993300">"its"</span> <span class="hl-attribute" style="color: #F5844C">uri</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">/></strong>
@@ -3822,7 +3828,7 @@
</p><p>The following <a title="Namespace-based Validation Dispatching Language
 (NVDL)" href="#nvdl" shape="rect">[NVDL]</a> document allows validation of ITS
markup which has been added to a host vocabulary. Only ITS elements and attributes are
checked. Elements and attributes of host language are ignored during validation against
- this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e10212" id="d0e10212" shape="rect"/>Example 108: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span>
+ this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e10259" id="d0e10259" shape="rect"/>Example 108: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span>
<strong class="hl-tag" style="color: #000096"><rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"</span><strong class="hl-tag" style="color: #000096">></strong>
<strong class="hl-tag" style="color: #000096"><namespace</strong> <span class="hl-attribute" style="color: #F5844C">ns</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong>
<strong class="hl-tag" style="color: #000096"><validate</strong> <span class="hl-attribute" style="color: #F5844C">schema</span>=<span class="hl-value" style="color: #993300">"its20-elements.rng"</span><strong class="hl-tag" style="color: #000096">/></strong>
@@ -3902,7 +3908,7 @@
selectors as feature at risk, see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/272" shape="rect">action-272</a>.</p></li><li><p>Defined in <a class="section-ref" href="#xpath-relative-selector" shape="rect">Section 5.3.2.2: Relative selector</a> that an XPath
based relative selector can also be an absolute location path - see the<code>domainPointer</code> attribute in <a href="#EX-domain-2" shape="rect">Example 53</a> and
<a href="https://www.w3.org/International/multilingualweb/lt/track/actions/282" shape="rect">action-282</a>.</p></li><li><p>Defined <a href="#directionality" shape="rect">Directionality</a> and <a href="#ruby-annotation" shape="rect">Ruby</a> as non-normative features. See <a class="section-ref" href="#relation-to-its10" shape="rect">Section 1.1.1: Relation to ITS 1.0</a>, <a href="#directionality-non-normative-explanation" shape="rect">note on directionality</a>, <a href="#ruby-non-normative-explanation" shape="rect">note on ruby</a>, and <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/250" shape="rect">action-250</a>.</p></li><li><p>Update on <a href="#Disambiguation" shape="rect">Disambiguation</a> example <a href="#EX-disambiguation-html5-rdfa-companion-document" shape="rect">Example 56</a>. See <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/266" shape="rect">action-266</a> (<a href="http://www.w3.org/2012/11/01-mlw-lt-irc#T10-53-44"shape="rect">related discussion</a>).</p></li><li><p>Made a simplification of <a href="#disambiguation-global" shape="rect">Disambiguation used
- global</a>. See <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/267" shape="rect">action-267</a>.</p></li><li><p>Added <a class="section-ref" href="#its-mime-type" shape="rect">Appendix B: Internationalization Tag Set (ITS) MIME Type</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/251" shape="rect">action-251</a>.</p></li></ol><p id="changelog-since-20120829">The following log records major changes that have been
+ global</a>. See <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/267" shape="rect">action-267</a>.</p></li><li><p>Added <a class="section-ref" href="#its-mime-type" shape="rect">Appendix B: Internationalization Tag Set (ITS) MIME Type</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/251" shape="rect">action-251</a>.</p></li><li><p>Added <a class="section-ref" href="#mtconfidence" shape="rect">Section 6.20: MT Confidence</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/287" shape="rect">action-287</a>.</p></li><li><p>Added <a class="section-ref" href="#its-tool-annotation" shape="rect">Section 5.8: ITS Tools Annotation</a> see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/301" shape="rect">action-301</a>.</p></li><li><p>Added confidence score attributes to <a href="#Disambiguation" shape="rect">Disambiguation</a> and <a href="#mtconfidence" shape="rect">MTConfidence</> data categories - <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/299" shape="rect">action-299</a>.</p></li></ol><p id="changelog-since-20120829">The following log records major changes that have been
made to this document since the <a href="http://www.w3.org/TR/2012/WD-its20-20120829/" shape="rect">ITS 2.0 Working Draft 29 August 2012</a>.</p><ol class="depth1"><li><p>Added a first draft of <a class="section-ref" href="#translation-agent-provenance" shape="rect">Section 6.12: Provenance</a></p></li><li><p>Added <a class="section-ref" href="#html5-markup" shape="rect">Section 7: Using ITS Markup in HTML5</a>.</p></li><li><p>Removed inline markup declarations.</p></li><li><p>Addition of a <code>locQualityPrecisVote</code> attribute and a
<code>locQualityPrecisVotePointer</code> attribute to <a class="section-ref" href="#lqprecis" shape="rect">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>A <a href="#its-information_versus_content" shape="rect">clarification</a> of ITS data
category information and processing of content in <a class="section-ref" href="#datacategories-defaults-etc" shape="rect">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>.</p></li><li><p>Added <a class="section-ref" href="#allowedchars" shape="rect">Section 6.21: Allowed Characters</a>.</p></li><li><p>Added <a class="section-ref" href="#storagesize" shape="rect">Section 6.22: Storage Size</a>.</p></li><li><p>Added <a class="section-ref" href="#mtconfidence" shape="rect">Section 6.20: MT Confidence</a>.</p></li><li><p>Added <a href="#qa-issue-types-tool-specific-mappings" shape="rect">a note</a> about
--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2012/11/20 11:30:45 1.234
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2012/11/20 12:02:52 1.235
@@ -2537,7 +2537,6 @@
target="#selectors">relative selector</ref> pointing to a node that holds the
IRI referring to the location of the terminology information.</item>
</list></item>
-
</list>
<exemplum>
<head>Usage of the <att>termInfoPointer</att> attribute</head>
@@ -2562,10 +2561,12 @@
<val>no</val>.</item>
<item>An optional <att type="class">termInfoRef</att> attribute that contains a IRI
referring to the resource providing information about the term.</item>
+ <item>An optional <att>termConfidence</att> attribute with the value of a rational number in the interval 0 to 1. This represents the confidence of the agents producing the annotation that the values of the term and, where provided, <att>termInfoRef</att>, are accurate. 1 represents the highest level of confidence. </item>
</list>
+ <p>Any node selected by the terminology data category with the termConfidence attribute specified MUST be contained in an element with the <att>toolsRef</att> (or in HTML5 <att>its-tools-ref</att>) attribute specified for the terminology data category.</p>
<exemplum xml:id="EX-terms-selector-4">
<head>The <ref target="#terminology">Terminology</ref> data category expressed
- locally</head>
+ locally, including term information reference and confidence score.</head>
<egXML xmlns="http://www.tei-c.org/ns/Examples"
target="examples/xml/EX-terms-selector-4.xml"/>
</exemplum>
@@ -3190,6 +3191,7 @@
<p xml:id="disambiguation-local">LOCAL: The following local markup is available for the
<ref target="#Disambiguation">Disambiguation</ref> data category:</p>
<list type="unordered">
+ <item>An optional <att>disambigConfidence</att> attribute with the value of a rational number in the interval 0 to 1. This represents the confidence of the agents producing the annotation that the union of the values for the other disambiguation attributes in this instance are accurate. 1 represents the highest level of confidence.</item>
<item>An optional <att>disambigGranularity</att> attribute that contains a string,
specifying the granularity level of the disambiguation. The value <ref
target="#rfc2119">MUST</ref> be one of the following identifiers:
@@ -3225,6 +3227,7 @@
</list>
</item>
</list>
+ <p>Any node selected by the <ref target="#Disambiguation">disambiguation</ref> data category with the <att>disambigConfidence</att> attribute specified <ref target="#rfc2119">MUST</ref> be contained in an element with the <att>toolsRef</att> (or in HTML5 <att>its-tools-ref</att>) attribute specified for the <ref target="#Disambiguation">disambiguation</ref> data category. For more information, see <ptr target="#its-tool-annotation" type="specref"/>.</p>
<exemplum xml:id="EX-disambiguation-html5-local-1">
<head>Local mixed usage of Usage of <att>disambigClassRef</att>,
<att>disambigGranularity</att>, and <att>disambigIdentRef</att> in HTML.</head>
@@ -4501,7 +4504,7 @@
attributes.</p>
<p>Any node selected by the MTConfidence data category MUST be contained in an element
with the its:toolsRef (or in HTML5, its-tools-ref) attribute specified for the
- MTConfidence data category.</p>
+ MTConfidence data category. For more information, see <ptr target="#its-tool-annotation" type="specref"/></p>
<note type="ed">needs reference to its tool section.</note>
<p xml:id="mtconfidence-global">GLOBAL: The <gi>mtConfidenceRule</gi> element contains
the following:</p>
@@ -5780,6 +5783,9 @@
<item>Added <ptr target="#its-mime-type" type="specref"/>, see <ref
target="https://www.w3.org/International/multilingualweb/lt/track/actions/251"
>action-251</ref>.</item>
+ <item>Added <ptr target="#mtconfidence" type="specref"/>, see <ref target="https://www.w3.org/International/multilingualweb/lt/track/actions/287">action-287</ref> and <ref target="https://www.w3.org/International/multilingualweb/lt/track/actions/288">action-288</ref>.</item>
+ <item>Added <ptr target="#its-tool-annotation" type="specref"/> see <ref target="https://www.w3.org/International/multilingualweb/lt/track/actions/301">action-301</ref>.</item>
+ <item>Added confidence score attributes to <ref target="#Disambiguation">Disambiguation</ref> and <ref target="#mtconfidence">MTConfidence</ref> data categories - <ref target="https://www.w3.org/International/multilingualweb/lt/track/actions/299">action-299</ref>.</item>
</list>
<p xml:id="changelog-since-20120829">The following log records major changes that have been
made to this document since the <ref target="http://www.w3.org/TR/2012/WD-its20-20120829/"
Received on Tuesday, 20 November 2012 12:03:04 UTC