diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml')
11 files changed, 108 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis1xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis1xml.xml new file mode 100644 index 0000000000..0aa9803ac3 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis1xml.xml @@ -0,0 +1,15 @@ +<?xml version="1.0"?> +<text> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:textAnalysisRule selector="/text/body/p/*[@id='dublin']" + taClassRefPointer="@classref" + taIdentRefPointer="@identref"/> + <its:textAnalysisRule selector="/text/body/p/*[@id='capital']" + taClassRefPointer="@classref" + taSourcePointer="@source" + taIdentPointer="@ident"/> + </its:rules> + <body> + <p><span classref="http://nerd.eurecom.fr/ontology#Location" id="dublin" identref="http://dbpedia.org/resource/Dublin">Dublin</span> is the <span id="capital" classref="http://nerd.eurecom.fr/ontology#City" source="Wordnet3.0" ident="301467919">capital</span> of Ireland.</p> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis2xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis2xml.xml new file mode 100644 index 0000000000..74ffc81194 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis2xml.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<text> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="textanalysis2xmlrules.xml"/> + <body> + <p><span classref="http://nerd.eurecom.fr/ontology#Location" id="dublin" identref="http://dbpedia.org/resource/Dublin">Dublin</span> is the <span id="capital" classref="http://nerd.eurecom.fr/ontology#City" source="Wordnet3.0" ident="301467919">capital</span> of Ireland.</p> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis2xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis2xmlrules.xml new file mode 100644 index 0000000000..eb25afba0c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis2xmlrules.xml @@ -0,0 +1,9 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:textAnalysisRule selector="/text/body/p/*[@id='dublin']" + taClassRefPointer="@classref" + taIdentRefPointer="@identref"/> + <its:textAnalysisRule selector="/text/body/p/*[@id='capital']" + taClassRefPointer="@classref" + taSourcePointer="@source" + taIdentPointer="@ident"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis3xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis3xml.xml new file mode 100644 index 0000000000..108061ce8a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis3xml.xml @@ -0,0 +1,17 @@ +<?xml version="1.0"?> +<text> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:param name="taCityParam">dublin</its:param> + <its:param name="taCapitalParam">capital</its:param> + <its:textAnalysisRule selector="/text/body/p/*[@id='dublin']" + taClassRefPointer="@classref" + taIdentRefPointer="@identref"/> + <its:textAnalysisRule selector="/text/body/p/*[@id='capital']" + taClassRefPointer="@classref" + taSourcePointer="@source" + taIdentPointer="@ident"/> + </its:rules> + <body> + <p><span classref="http://nerd.eurecom.fr/ontology#Location" id="dublin" identref="http://dbpedia.org/resource/Dublin">Dublin</span> is the <span id="capital" classref="http://nerd.eurecom.fr/ontology#City" source="Wordnet3.0" ident="301467919">capital</span> of Ireland.</p> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis4xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis4xml.xml new file mode 100644 index 0000000000..e90c6c33fc --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis4xml.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<text> +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="textanalysis4xmlrules.xml"/> + <body> + <p><span classref="http://nerd.eurecom.fr/ontology#Location" id="dublin" identref="http://dbpedia.org/resource/Dublin">Dublin</span> is the <span id="capital" classref="http://nerd.eurecom.fr/ontology#City" source="Wordnet3.0" ident="301467919">capital</span> of Ireland.</p> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis4xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis4xmlrules.xml new file mode 100644 index 0000000000..1a437e6cd1 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis4xmlrules.xml @@ -0,0 +1,11 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:param name="taCityParam">dublin</its:param> + <its:param name="taCapitalParam">capital</its:param> + <its:textAnalysisRule selector="/text/body/p/*[@id='dublin']" + taClassRefPointer="@classref" + taIdentRefPointer="@identref"/> + <its:textAnalysisRule selector="/text/body/p/*[@id='capital']" + taClassRefPointer="@classref" + taSourcePointer="@source" + taIdentPointer="@ident"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis5xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis5xml.xml new file mode 100644 index 0000000000..b570404cb0 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis5xml.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<text xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0" its:annotatorsRef="text-analysis|http://enrycher.ijs.si"> + <body> + <p><span its:taClassRef="http://nerd.eurecom.fr/ontology#Location" its:taIdentRef="http://dbpedia.org/resource/Dublin" its:taConfidence="0.7">Dublin</span> is the <span its:taSource="Wordnet3.0" its:taIdent="301467919" its:taConfidence="0.5">capital</span> of Ireland.</p> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis6xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis6xml.xml new file mode 100644 index 0000000000..1ffc651698 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis6xml.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<text xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0" its:annotatorsRef="text-analysis|http://enrycher.ijs.si"> + <body> + <p><its:span taClassRef="http://nerd.eurecom.fr/ontology#Location" taIdentRef="http://dbpedia.org/resource/Dublin" taConfidence="0.7" +>Dublin</its:span> is the <its:span taSource="Wordnet3.0" taIdent="301467919" taConfidence="0.5">capital</its:span> of Ireland.</p> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis7xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis7xml.xml new file mode 100644 index 0000000000..f69754392f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis7xml.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<text> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:textAnalysisRule selector="/text/body/p/*[@id='dublin']" + taClassRefPointer="@classref" + taIdentRefPointer="@identref"/> + <its:textAnalysisRule selector="/text/body/p/*[@id='capital']" + taSourcePointer="@source" + taIdentPointer="@ident"/> + </its:rules> + <body> + <p><span classref="http://nerd.eurecom.fr/ontology#Location" identref="http://dbpedia.org/resource/Dublin" id="dublin">Dublin</span> is the <span source="Wordnet3.0" ident="301467919" id="capital">capital</span> of Ireland.</p> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis8xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis8xml.xml new file mode 100644 index 0000000000..563d4fac05 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis8xml.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<text> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="textanalysis8xmlrules.xml"/> + <body> + <p><span classref="http://nerd.eurecom.fr/ontology#Location" identref="http://dbpedia.org/resource/Dublin" id="dublin">Dublin</span> is the <span source="Wordnet3.0" ident="301467919" id="capital">capital</span> of Ireland.</p> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis8xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis8xmlrules.xml new file mode 100644 index 0000000000..05894fcaaf --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis8xmlrules.xml @@ -0,0 +1,8 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:textAnalysisRule selector="/text/body/p/*[@id='dublin']" + taClassRefPointer="@classref" + taIdentRefPointer="@identref"/> + <its:textAnalysisRule selector="/text/body/p/*[@id='capital']" + taSourcePointer="@source" + taIdentPointer="@ident"/> + </its:rules> |