diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html')
8 files changed, 96 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence1html.html b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence1html.html new file mode 100644 index 000000000..91f6c3b73 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence1html.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"/> + <title>Sentences about European capitals.</title> + </head> + <body> + <p> + <span its-mt-confidence="0.8982" its-annotators-ref="mt-confidence|file:///tools.xml#T1"> Dublin is the capital of Ireland.</span> + <span its-mt-confidence="0.8536" its-annotators-ref="mt-confidence|file:///tools.xml#T2"> The capital of the Czech Republic is Prague.</span> + <span its-mt-confidence="0.7982" its-annotators-ref="mt-confidence|file:///tools.xml#T3">Madrid is the capital of Spain.</span> + <span its-mt-confidence="0.9982" its-annotators-ref="mt-confidence|file:///tools.xml#T4">Berlin is the capital of Germany.</span> + </p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence2html.html b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence2html.html new file mode 100644 index 000000000..7a57318c0 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence2html.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"/> + <title>Sentences about Dublin and Prague MTed from Czech with mtConfidence locally.</title> + <link href="mtconfidence2htmlrules.xml" rel="its-rules"/> + </head> + <body its-annotators-ref="mt-confidence|file:///tools.xml#T0"> + <p> + <span its-annotators-ref="mt-confidence|file:///tools.xml#T1"> Dublin is the capital of Ireland.</span> + <span its-annotators-ref="mt-confidence|file:///tools.xml#T2"> The capital of the Czech Republic is Prague.</span> + <span its-annotators-ref="mt-confidence|file:///tools.xml#T3">Madrid is the capital of Spain.</span> + <span its-annotators-ref="mt-confidence|file:///tools.xml#T4">Berlin is the capital of Germany.</span> + </p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence2htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence2htmlrules.xml new file mode 100644 index 000000000..19cb15483 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence2htmlrules.xml @@ -0,0 +1,3 @@ + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:mtConfidenceRule selector="/h:html/h:body/h:p" mtConfidence="0.8982"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence3html.html b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence3html.html new file mode 100644 index 000000000..c0f99ac8f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence3html.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"/> + <title>Sentences about Dublin and Prague MTed from Czech with mtConfidence locally.</title> + <link href="mtconfidence3htmlrules.xml" rel="its-rules"/> + </head> + <body> + <p> + <span its-annotators-ref="mt-confidence|file:///tools.xml#T1" id="ireland"> Dublin is the capital of Ireland.</span> + <span id="czech"> The capital of the Czech Republic is Prague.</span> + <span id="germany">Berlin is the capital of Germany.</span> + <span id="london">London is the capital of England</span> + </p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence3htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence3htmlrules.xml new file mode 100644 index 000000000..f6e20179a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence3htmlrules.xml @@ -0,0 +1,5 @@ + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:param name="mtParam">ireland</its:param> + <its:mtConfidenceRule selector="/h:html/h:body/h:p/h:span[@id=$mtParam]" + mtConfidence="0.8982"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence4html.html b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence4html.html new file mode 100644 index 000000000..580aee97c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence4html.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang=en> + <head> + <meta charset=utf-8> + <title>Example of MT Confidence with annotator references.</title> + <link href="mtconfidence4htmlrules.xml" rel="its-rules"/> + </head> + <body its-annotators-ref="mt-confidence|file:///tools.xml#T1" > + <p its-annotators-ref="text-analysis|file:///tools.xml#T2" > + <span id="ireland">Dublin is the capital city of Ireland and has the 50th biggest population density in Europe.</span> + <span id="spain">Madrid is the capital of Spain.</span> + <span its-annotators-ref="mt-confidence|file:///tools.xml#T3" id="germany">Berlin is the capital of Germany.</span> + <span id="england">London is the capital of England</span> + </p> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence4htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence4htmlrules.xml new file mode 100644 index 000000000..151a0ff17 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence4htmlrules.xml @@ -0,0 +1,4 @@ + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:mtConfidenceRule selector="/h:html/h:body/h:p/h:span[@id='ireland']" + mtConfidence="0.8982"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence5html.html b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence5html.html new file mode 100644 index 000000000..fe343db0b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/mtconfidence/html/mtconfidence5html.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html lang=en> + <head> + <meta charset=utf-8> + <title>Sentences about European capitals.</title> + <script type="application/its+xml"> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:param name="mtParam">ireland</its:param> + <its:mtConfidenceRule selector="/h:html/h:body/h:p/h:span[@id=$mtParam]" mtConfidence="0.8982"/> + </its:rules> + </script> + </head> + <body> + <p its-annotators-ref="mt-confidence|file:///tools.xml#T1"> + <span id="ireland"> Dublin is the capital of Ireland.</span> + <span> The capital of the Czech Republic is Prague.</span> + <span>Madrid is the capital of Spain.</span> + <span>Berlin is the capital of Germany.</span> + </p> + </body> +</html> |