summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/xml/mtconfidence1xml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/xml/mtconfidence1xml.xml')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/xml/mtconfidence1xml.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/xml/mtconfidence1xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/xml/mtconfidence1xml.xml
new file mode 100644
index 0000000000..c3cdedad0a
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/xml/mtconfidence1xml.xml
@@ -0,0 +1,22 @@
+<text xmlns:its="http://www.w3.org/2005/11/its">
+<head>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:mtConfidenceRule selector="/text/body/p/span[@id='ireland']"
+ mtConfidence="0.6982"/>
+ <its:mtConfidenceRule selector="/text/body/p/span[@id='england']"
+ mtConfidence="0.7982"/>
+ <its:mtConfidenceRule selector="/text/body/p/span[@id='spain']"
+ mtConfidence="0.8982"/>
+ <its:mtConfidenceRule selector="/text/body/p/span[@id='germany']"
+ mtConfidence="0.8982"/>
+ </its:rules>
+</head>
+ <body>
+ <p>
+ <span its:annotatorsRef="mt-confidence|file:///tools.xml#T1" id="ireland">Dublin is the capital city of Ireland and has the 50th biggest population density in Europe.</span>
+ <span its:annotatorsRef="mt-confidence|file:///tools.xml#T2" id="spain">Madrid is the capital of Spain.</span>
+ <span its:annotatorsRef="mt-confidence|file:///tools.xml#T3" id="germany">Berlin is the capital of Germany.</span>
+ <span its:annotatorsRef="mt-confidence|file:///tools.xml#T4" id="england">London is the capital of England</span>
+ </p>
+ </body>
+</text>