Commit 2b965e40 authored by Ulrich's avatar Ulrich

switched to new llamapun and libxml version and added frederiks declaration spotter

parent 73837456
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:kat="https://github.com/KWARC/KAT/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:d="http://kwarc.info/semanticextraction/KAnnSpec#">
<rdf:Description><kat:annotation rdf:nodeID="kat_run"/></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"/><kat:date rdf:datatype="xs:dateTime">2017-3-8T15:5:31.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"/></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"/><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
<rdf:Description><kat:annotation rdf:nodeID="kat_run"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"></rdf:type><kat:date rdf:datatype="xs:dateTime">2017-4-10T11:58:17.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"></rdf:type><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:kat="https://github.com/KWARC/KAT/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:d="http://kwarc.info/semanticextraction/KAnnSpec#">
<rdf:Description><kat:annotation rdf:nodeID="kat_run"/></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"/><kat:date rdf:datatype="xs:dateTime">2017-3-8T15:5:33.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"/></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"/><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
<rdf:Description><kat:annotation rdf:nodeID="kat_run"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"></rdf:type><kat:date rdf:datatype="xs:dateTime">2017-4-10T11:58:19.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"></rdf:type><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:kat="https://github.com/KWARC/KAT/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:d="http://kwarc.info/semanticextraction/KAnnSpec#">
<rdf:Description><kat:annotation rdf:nodeID="kat_run"/></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"/><kat:date rdf:datatype="xs:dateTime">2017-3-8T15:5:56.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"/></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"/><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
<rdf:Description rdf:nodeID="KAT_56891192430"><kat:run rdf:nodeID="kat_run"/>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"/>
<rdf:Description><kat:annotation rdf:nodeID="kat_run"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"></rdf:type><kat:date rdf:datatype="xs:dateTime">2017-4-10T11:58:43.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"></rdf:type><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
<rdf:Description rdf:nodeID="KAT_43977252527"><kat:run rdf:nodeID="kat_run"></kat:run>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"></kat:kannspec>
<kat:concept>QuantityExpression</kat:concept>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"/>
<kat:annotates rdf:resource="http://localhost/cond-mat9807154.html#cse(%2F%2F*%5B%40id%3D'p8.1'%5D%2C%2F%2F*%5B%40id%3D'p8.1.m9.1.5'%5D%2C%2F%2F*%5B%40id%3D'p8.1.w235'%5D)"/>
<kat:contentmathml rdf:parseType="Literal" score="-1"><apply><times/><cn type="float" id="p8.1.m9.1.5.cmml" xref="p8.1.m9.1.5">0.1</cn><apply><csymbol cd="Prefix">Prefix</csymbol><csymbol cd="atto">a</csymbol><csymbol cd="second">s</csymbol></apply></apply></kat:contentmathml>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"></kat:type>
<kat:annotates rdf:resource="http://localhost/cond-mat9807154.html#cse(%2F%2F*%5B%40id%3D'p8.1'%5D%2C%2F%2F*%5B%40id%3D'p8.1.m9.1.5'%5D%2C%2F%2F*%5B%40id%3D'p8.1.w235'%5D)"></kat:annotates>
<kat:contentmathml rdf:parseType="Literal"><apply><times/><cn type="float" id="p8.1.m9.1.5.cmml" xref="p8.1.m9.1.5">0.1</cn><apply><times/><apply><csymbol cd="Prefix">Prefix</csymbol><csymbol cd="atto">a</csymbol><csymbol cd="second">s</csymbol></apply></apply></apply></kat:contentmathml>
</rdf:Description>
<rdf:Description rdf:nodeID="KAT_56891202244"><kat:run rdf:nodeID="kat_run"/>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"/>
<rdf:Description rdf:nodeID="KAT_43977261573"><kat:run rdf:nodeID="kat_run"></kat:run>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"></kat:kannspec>
<kat:concept>QuantityExpression</kat:concept>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"/>
<kat:annotates rdf:resource="http://localhost/cond-mat9807154.html#cse(%2F%2F*%5B%40id%3D'p9.1'%5D%2C%2F%2F*%5B%40id%3D'p9.1.m3.1.4'%5D%2C%2F%2F*%5B%40id%3D'p9.1.w94'%5D)"/>
<kat:contentmathml rdf:parseType="Literal" score="-1"><apply><times/><cn type="integer" id="p9.1.m3.1.4.cmml" xref="p9.1.m3.1.4">0</cn><apply><csymbol cd="Prefix">Prefix</csymbol><csymbol cd="atto">a</csymbol><csymbol cd="second">s</csymbol></apply></apply></kat:contentmathml>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"></kat:type>
<kat:annotates rdf:resource="http://localhost/cond-mat9807154.html#cse(%2F%2F*%5B%40id%3D'p9.1'%5D%2C%2F%2F*%5B%40id%3D'p9.1.m3.1.4'%5D%2C%2F%2F*%5B%40id%3D'p9.1.w94'%5D)"></kat:annotates>
<kat:contentmathml rdf:parseType="Literal"><apply><times/><cn type="integer" id="p9.1.m3.1.4.cmml" xref="p9.1.m3.1.4">0</cn><apply><times/><apply><csymbol cd="Prefix">Prefix</csymbol><csymbol cd="atto">a</csymbol><csymbol cd="second">s</csymbol></apply></apply></apply></kat:contentmathml>
</rdf:Description>
<rdf:Description rdf:nodeID="KAT_56891205577"><kat:run rdf:nodeID="kat_run"/>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"/>
<rdf:Description rdf:nodeID="KAT_43977264244"><kat:run rdf:nodeID="kat_run"></kat:run>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"></kat:kannspec>
<kat:concept>QuantityExpression</kat:concept>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"/>
<kat:annotates rdf:resource="http://localhost/cond-mat9807154.html#cse(%2F%2F*%5B%40id%3D'S0.E2.m3.1.2.2'%5D%2C%2F%2F*%5B%40id%3D'S0.E2.m3.1.2.2.1'%5D%2C%2F%2F*%5B%40id%3D'S0.E2.m3.1.2.2.2'%5D)"/>
<kat:contentmathml rdf:parseType="Literal" score="1"><apply><times/><cn type="integer" id="S0.E2.m3.1.2.2.1.cmml" xref="S0.E2.m3.1.2.2.1">3</cn><csymbol cd="joule">J</csymbol></apply></kat:contentmathml>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"></kat:type>
<kat:annotates rdf:resource="http://localhost/cond-mat9807154.html#cse(%2F%2F*%5B%40id%3D'S0.E2.m3.1.2.2'%5D%2C%2F%2F*%5B%40id%3D'S0.E2.m3.1.2.2.1'%5D%2C%2F%2F*%5B%40id%3D'S0.E2.m3.1.2.2.2'%5D)"></kat:annotates>
<kat:contentmathml rdf:parseType="Literal"><apply><times/><cn type="integer" id="S0.E2.m3.1.2.2.1.cmml" xref="S0.E2.m3.1.2.2.1">3</cn><apply><times/><csymbol cd="joule">J</csymbol></apply></apply></kat:contentmathml>
</rdf:Description>
</rdf:RDF>
</rdf:RDF>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:kat="https://github.com/KWARC/KAT/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:d="http://kwarc.info/semanticextraction/KAnnSpec#">
<rdf:Description><kat:annotation rdf:nodeID="kat_run"/></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"/><kat:date rdf:datatype="xs:dateTime">2017-3-8T15:5:14.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"/></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"/><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
<rdf:Description><kat:annotation rdf:nodeID="kat_run"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"></rdf:type><kat:date rdf:datatype="xs:dateTime">2017-4-10T11:58:1.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"></rdf:type><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:kat="https://github.com/KWARC/KAT/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:d="http://kwarc.info/semanticextraction/KAnnSpec#">
<rdf:Description><kat:annotation rdf:nodeID="kat_run"/></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"/><kat:date rdf:datatype="xs:dateTime">2017-3-8T15:5:41.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"/></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"/><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
<rdf:Description><kat:annotation rdf:nodeID="kat_run"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"></rdf:type><kat:date rdf:datatype="xs:dateTime">2017-4-10T11:58:28.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"></rdf:type><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:kat="https://github.com/KWARC/KAT/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:d="http://kwarc.info/semanticextraction/KAnnSpec#">
<rdf:Description><kat:annotation rdf:nodeID="kat_run"/></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"/><kat:date rdf:datatype="xs:dateTime">2017-3-8T15:5:41.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"/></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"/><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
<rdf:Description rdf:nodeID="KAT_41909865329"><kat:run rdf:nodeID="kat_run"/>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"/>
<rdf:Description><kat:annotation rdf:nodeID="kat_run"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"></rdf:type><kat:date rdf:datatype="xs:dateTime">2017-4-10T11:58:28.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"></rdf:type><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
<rdf:Description rdf:nodeID="KAT_28468297614"><kat:run rdf:nodeID="kat_run"></kat:run>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"></kat:kannspec>
<kat:concept>QuantityExpression</kat:concept>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"/>
<kat:annotates rdf:resource="http://localhost/hep-ph9807306.html#cse(%2F%2F*%5B%40id%3D'S3.T3.1.5.1.m1.1.8'%5D%2C%2F%2F*%5B%40id%3D'S3.T3.1.5.1.m1.1.8.2'%5D%2C%2F%2F*%5B%40id%3D'S3.T3.1.5.1.m1.1.8.4'%5D)"/>
<kat:contentmathml rdf:parseType="Literal" score="0.25"><apply><times/><apply id="S3.T3.1.5.1.m1.1.8.2.cmml" xref="S3.T3.1.5.1.m1.1.8.2"><csymbol cd="ambiguous" id="S3.T3.1.5.1.m1.1.8.2.1.cmml">superscript</csymbol><cn type="integer" id="S3.T3.1.5.1.m1.1.2.cmml" xref="S3.T3.1.5.1.m1.1.2">10</cn><cn type="integer" id="S3.T3.1.5.1.m1.1.3.1.cmml" xref="S3.T3.1.5.1.m1.1.3.1">6</cn></apply><apply><times/><apply><power/><apply><csymbol cd="Prefix">Prefix</csymbol><csymbol cd="centi">c</csymbol><csymbol cd="meter">m</csymbol></apply><apply id="S3.T3.1.5.1.m1.1.5.1.cmml" xref="S3.T3.1.5.1.m1.1.5.1"><minus id="S3.T3.1.5.1.m1.1.5.1.1.cmml" xref="S3.T3.1.5.1.m1.1.5.1.1"/><cn type="integer" id="S3.T3.1.5.1.m1.1.5.1.2.cmml" xref="S3.T3.1.5.1.m1.1.5.1.2">2</cn></apply></apply><apply><power/><csymbol cd="second">s</csymbol><apply id="S3.T3.1.5.1.m1.1.7.1.cmml" xref="S3.T3.1.5.1.m1.1.7.1"><minus id="S3.T3.1.5.1.m1.1.7.1.1.cmml" xref="S3.T3.1.5.1.m1.1.7.1.1"/><cn type="integer" id="S3.T3.1.5.1.m1.1.7.1.2.cmml" xref="S3.T3.1.5.1.m1.1.7.1.2">1</cn></apply></apply></apply></apply></kat:contentmathml>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"></kat:type>
<kat:annotates rdf:resource="http://localhost/hep-ph9807306.html#cse(%2F%2F*%5B%40id%3D'S3.T3.1.5.1.m1.1.8'%5D%2C%2F%2F*%5B%40id%3D'S3.T3.1.5.1.m1.1.8.2'%5D%2C%2F%2F*%5B%40id%3D'S3.T3.1.5.1.m1.1.8.4'%5D)"></kat:annotates>
<kat:contentmathml rdf:parseType="Literal"><apply><times/><apply id="S3.T3.1.5.1.m1.1.8.2.cmml" xref="S3.T3.1.5.1.m1.1.8.2"><csymbol cd="ambiguous" id="S3.T3.1.5.1.m1.1.8.2.1.cmml">superscript</csymbol><cn type="integer" id="S3.T3.1.5.1.m1.1.2.cmml" xref="S3.T3.1.5.1.m1.1.2">10</cn><cn type="integer" id="S3.T3.1.5.1.m1.1.3.1.cmml" xref="S3.T3.1.5.1.m1.1.3.1">6</cn></apply><apply><times/><apply><power/><apply><csymbol cd="Prefix">Prefix</csymbol><csymbol cd="centi">c</csymbol><csymbol cd="meter">m</csymbol></apply><apply id="S3.T3.1.5.1.m1.1.5.1.cmml" xref="S3.T3.1.5.1.m1.1.5.1"><minus id="S3.T3.1.5.1.m1.1.5.1.1.cmml" xref="S3.T3.1.5.1.m1.1.5.1.1"/><cn type="integer" id="S3.T3.1.5.1.m1.1.5.1.2.cmml" xref="S3.T3.1.5.1.m1.1.5.1.2">2</cn></apply></apply><apply><power/><csymbol cd="second">s</csymbol><apply id="S3.T3.1.5.1.m1.1.7.1.cmml" xref="S3.T3.1.5.1.m1.1.7.1"><minus id="S3.T3.1.5.1.m1.1.7.1.1.cmml" xref="S3.T3.1.5.1.m1.1.7.1.1"/><cn type="integer" id="S3.T3.1.5.1.m1.1.7.1.2.cmml" xref="S3.T3.1.5.1.m1.1.7.1.2">1</cn></apply></apply></apply></apply></kat:contentmathml>
</rdf:Description>
<rdf:Description rdf:nodeID="KAT_41909877945"><kat:run rdf:nodeID="kat_run"/>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"/>
<rdf:Description rdf:nodeID="KAT_28468347420"><kat:run rdf:nodeID="kat_run"></kat:run>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"></kat:kannspec>
<kat:concept>QuantityExpression</kat:concept>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"/>
<kat:annotates rdf:resource="http://localhost/hep-ph9807306.html#cse(%2F%2F*%5B%40id%3D'S3.T3.1.6.1.m1.1.8'%5D%2C%2F%2F*%5B%40id%3D'S3.T3.1.6.1.m1.1.8.2'%5D%2C%2F%2F*%5B%40id%3D'S3.T3.1.6.1.m1.1.8.4'%5D)"/>
<kat:contentmathml rdf:parseType="Literal" score="0.25"><apply><times/><apply id="S3.T3.1.6.1.m1.1.8.2.cmml" xref="S3.T3.1.6.1.m1.1.8.2"><csymbol cd="ambiguous" id="S3.T3.1.6.1.m1.1.8.2.1.cmml">superscript</csymbol><cn type="integer" id="S3.T3.1.6.1.m1.1.2.cmml" xref="S3.T3.1.6.1.m1.1.2">10</cn><cn type="integer" id="S3.T3.1.6.1.m1.1.3.1.cmml" xref="S3.T3.1.6.1.m1.1.3.1">6</cn></apply><apply><times/><apply><power/><apply><csymbol cd="Prefix">Prefix</csymbol><csymbol cd="centi">c</csymbol><csymbol cd="meter">m</csymbol></apply><apply id="S3.T3.1.6.1.m1.1.5.1.cmml" xref="S3.T3.1.6.1.m1.1.5.1"><minus id="S3.T3.1.6.1.m1.1.5.1.1.cmml" xref="S3.T3.1.6.1.m1.1.5.1.1"/><cn type="integer" id="S3.T3.1.6.1.m1.1.5.1.2.cmml" xref="S3.T3.1.6.1.m1.1.5.1.2">2</cn></apply></apply><apply><power/><csymbol cd="second">s</csymbol><apply id="S3.T3.1.6.1.m1.1.7.1.cmml" xref="S3.T3.1.6.1.m1.1.7.1"><minus id="S3.T3.1.6.1.m1.1.7.1.1.cmml" xref="S3.T3.1.6.1.m1.1.7.1.1"/><cn type="integer" id="S3.T3.1.6.1.m1.1.7.1.2.cmml" xref="S3.T3.1.6.1.m1.1.7.1.2">1</cn></apply></apply></apply></apply></kat:contentmathml>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"></kat:type>
<kat:annotates rdf:resource="http://localhost/hep-ph9807306.html#cse(%2F%2F*%5B%40id%3D'S3.T3.1.6.1.m1.1.8'%5D%2C%2F%2F*%5B%40id%3D'S3.T3.1.6.1.m1.1.8.2'%5D%2C%2F%2F*%5B%40id%3D'S3.T3.1.6.1.m1.1.8.4'%5D)"></kat:annotates>
<kat:contentmathml rdf:parseType="Literal"><apply><times/><apply id="S3.T3.1.6.1.m1.1.8.2.cmml" xref="S3.T3.1.6.1.m1.1.8.2"><csymbol cd="ambiguous" id="S3.T3.1.6.1.m1.1.8.2.1.cmml">superscript</csymbol><cn type="integer" id="S3.T3.1.6.1.m1.1.2.cmml" xref="S3.T3.1.6.1.m1.1.2">10</cn><cn type="integer" id="S3.T3.1.6.1.m1.1.3.1.cmml" xref="S3.T3.1.6.1.m1.1.3.1">6</cn></apply><apply><times/><apply><power/><apply><csymbol cd="Prefix">Prefix</csymbol><csymbol cd="centi">c</csymbol><csymbol cd="meter">m</csymbol></apply><apply id="S3.T3.1.6.1.m1.1.5.1.cmml" xref="S3.T3.1.6.1.m1.1.5.1"><minus id="S3.T3.1.6.1.m1.1.5.1.1.cmml" xref="S3.T3.1.6.1.m1.1.5.1.1"/><cn type="integer" id="S3.T3.1.6.1.m1.1.5.1.2.cmml" xref="S3.T3.1.6.1.m1.1.5.1.2">2</cn></apply></apply><apply><power/><csymbol cd="second">s</csymbol><apply id="S3.T3.1.6.1.m1.1.7.1.cmml" xref="S3.T3.1.6.1.m1.1.7.1"><minus id="S3.T3.1.6.1.m1.1.7.1.1.cmml" xref="S3.T3.1.6.1.m1.1.7.1.1"/><cn type="integer" id="S3.T3.1.6.1.m1.1.7.1.2.cmml" xref="S3.T3.1.6.1.m1.1.7.1.2">1</cn></apply></apply></apply></apply></kat:contentmathml>
</rdf:Description>
</rdf:RDF>
</rdf:RDF>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:kat="https://github.com/KWARC/KAT/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:d="http://kwarc.info/semanticextraction/KAnnSpec#">
<rdf:Description><kat:annotation rdf:nodeID="kat_run"/></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"/><kat:date rdf:datatype="xs:dateTime">2017-3-8T15:5:48.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"/></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"/><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
<rdf:Description rdf:nodeID="KAT_48732571208"><kat:run rdf:nodeID="kat_run"/>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"/>
<rdf:Description><kat:annotation rdf:nodeID="kat_run"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"></rdf:type><kat:date rdf:datatype="xs:dateTime">2017-4-10T11:58:35.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"></rdf:type><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
<rdf:Description rdf:nodeID="KAT_35667630748"><kat:run rdf:nodeID="kat_run"></kat:run>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"></kat:kannspec>
<kat:concept>QuantityExpression</kat:concept>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"/>
<kat:annotates rdf:resource="http://localhost/hep-ph9807339.html#cse(%2F%2F*%5B%40id%3D'p16.1.m6.1.4'%5D%2C%2F%2F*%5B%40id%3D'p16.1.m6.1.2'%5D%2C%2F%2F*%5B%40id%3D'p16.1.m6.1.3'%5D)"/>
<kat:contentmathml rdf:parseType="Literal" score="1"><apply><times/><cn type="integer" id="p16.1.m6.1.2.cmml" xref="p16.1.m6.1.2">20</cn><csymbol cd="tesla">T</csymbol></apply></kat:contentmathml>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"></kat:type>
<kat:annotates rdf:resource="http://localhost/hep-ph9807339.html#cse(%2F%2F*%5B%40id%3D'p13.1.m2.1.7'%5D%2C%2F%2F*%5B%40id%3D'p13.1.m2.1.7.2'%5D%2C%2F%2F*%5B%40id%3D'p13.1.m2.1.7.3'%5D)"></kat:annotates>
<kat:contentmathml rdf:parseType="Literal"><apply><times/><cn type="integer" id="p13.1.m2.1.7.2.cmml" xref="p13.1.m2.1.7.2">1</cn><apply><divide/><apply><times/></apply><csymbol cd="tesla">T</csymbol></apply></apply></kat:contentmathml>
</rdf:Description>
</rdf:RDF>
<rdf:Description rdf:nodeID="KAT_35667638093"><kat:run rdf:nodeID="kat_run"></kat:run>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"></kat:kannspec>
<kat:concept>QuantityExpression</kat:concept>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"></kat:type>
<kat:annotates rdf:resource="http://localhost/hep-ph9807339.html#cse(%2F%2F*%5B%40id%3D'p16.1.m6.1.4'%5D%2C%2F%2F*%5B%40id%3D'p16.1.m6.1.2'%5D%2C%2F%2F*%5B%40id%3D'p16.1.m6.1.3'%5D)"></kat:annotates>
<kat:contentmathml rdf:parseType="Literal"><apply><times/><cn type="integer" id="p16.1.m6.1.2.cmml" xref="p16.1.m6.1.2">20</cn><apply><times/><csymbol cd="tesla">T</csymbol></apply></apply></kat:contentmathml>
</rdf:Description>
</rdf:RDF>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:kat="https://github.com/KWARC/KAT/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:d="http://kwarc.info/semanticextraction/KAnnSpec#">
<rdf:Description><kat:annotation rdf:nodeID="kat_run"/></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"/><kat:date rdf:datatype="xs:dateTime">2017-3-8T15:5:54.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"/></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"/><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
<rdf:Description><kat:annotation rdf:nodeID="kat_run"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"></rdf:type><kat:date rdf:datatype="xs:dateTime">2017-4-10T11:58:41.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"></rdf:type><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:kat="https://github.com/KWARC/KAT/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:d="http://kwarc.info/semanticextraction/KAnnSpec#">
<rdf:Description><kat:annotation rdf:nodeID="kat_run"/></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"/><kat:date rdf:datatype="xs:dateTime">2017-3-8T15:5:31.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"/></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"/><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
<rdf:Description><kat:annotation rdf:nodeID="kat_run"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"></rdf:type><kat:date rdf:datatype="xs:dateTime">2017-4-10T11:58:16.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"></rdf:type><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
<rdf:Description rdf:nodeID="KAT_16964105839"><kat:run rdf:nodeID="kat_run"></kat:run>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"></kat:kannspec>
<kat:concept>QuantityExpression</kat:concept>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"></kat:type>
<kat:annotates rdf:resource="http://localhost/hep-th9807198.html#cse(%2F%2F*%5B%40id%3D'S4.Ex52.m1.1.41.2.2.2.3'%5D%2C%2F%2F*%5B%40id%3D'S4.Ex52.m1.1.16.2'%5D%2C%2F%2F*%5B%40id%3D'S4.Ex52.m1.1.16.3'%5D)"></kat:annotates>
<kat:contentmathml rdf:parseType="Literal"><apply><times/><cn type="integer" id="S4.Ex52.m1.1.16.2.cmml" xref="S4.Ex52.m1.1.16.2">1</cn><apply><divide/><apply><times/></apply><csymbol cd="meter">m</csymbol></apply></apply></kat:contentmathml>
</rdf:Description>
<rdf:Description rdf:nodeID="KAT_16964113817"><kat:run rdf:nodeID="kat_run"></kat:run>
<kat:kannspec rdf:nodeID="KAT_1_QuantityExpression"></kat:kannspec>
<kat:concept>QuantityExpression</kat:concept>
<kat:type rdf:resource="http://kwarc.info/semanticextraction/KAnnSpec#quantityexpression"></kat:type>
<kat:annotates rdf:resource="http://localhost/hep-th9807198.html#cse(%2F%2F*%5B%40id%3D'S4.Ex54.m1.1.39.2.2.2.3'%5D%2C%2F%2F*%5B%40id%3D'S4.Ex54.m1.1.16.2'%5D%2C%2F%2F*%5B%40id%3D'S4.Ex54.m1.1.16.3'%5D)"></kat:annotates>
<kat:contentmathml rdf:parseType="Literal"><apply><times/><cn type="integer" id="S4.Ex54.m1.1.16.2.cmml" xref="S4.Ex54.m1.1.16.2">1</cn><apply><divide/><apply><times/></apply><csymbol cd="meter">m</csymbol></apply></apply></kat:contentmathml>
</rdf:Description>
</rdf:RDF>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:kat="https://github.com/KWARC/KAT/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:d="http://kwarc.info/semanticextraction/KAnnSpec#">
<rdf:Description><kat:annotation rdf:nodeID="kat_run"/></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"/><kat:date rdf:datatype="xs:dateTime">2017-3-8T15:5:54.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"/></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"/><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
<rdf:Description><kat:annotation rdf:nodeID="kat_run"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="kat_run"><rdf:type rdf:resource="kat:run"></rdf:type><kat:date rdf:datatype="xs:dateTime">2017-4-10T11:58:41.000Z</kat:date><kat:tool>KAT</kat:tool><kat:runid>0</kat:runid></rdf:Description>
<rdf:Description><kat:annotation rdf:nodeID="KAT_1_QuantityExpression"></kat:annotation></rdf:Description>
<rdf:Description rdf:nodeID="KAT_1_QuantityExpression"><rdf:type rdf:resource="kat:kannspec"></rdf:type><kat:kannspec-name>QuantityExpression</kat:kannspec-name><kat:kannspec-uri>http://localhost:3000/KAnnSpecs/units-annotations.xml</kat:kannspec-uri></rdf:Description>
</rdf:RDF>
\ No newline at end of file
......@@ -535,8 +535,8 @@ author</span></span></span></p>
<div id="S4.SS3.p6" class="ltx_para">
<p id="S4.SS3.p6.1" class="ltx_p"><span class="word" id="S4.SS3.p6.1.w1">No</span><span class="word" id="S4.SS3.p6.1.w2"> </span><span class="word" id="S4.SS3.p6.1.w3">preprocessing</span><span class="word" id="S4.SS3.p6.1.w4"> </span><span class="word" id="S4.SS3.p6.1.w5">is</span><span class="word" id="S4.SS3.p6.1.w6"> </span><span class="word" id="S4.SS3.p6.1.w7">applied</span><span class="word" id="S4.SS3.p6.1.w8">
</span><span class="word" id="S4.SS3.p6.1.w9">for</span><span class="word" id="S4.SS3.p6.1.w10"> </span><span class="word" id="S4.SS3.p6.1.w11">the</span><span class="word" id="S4.SS3.p6.1.w12"> </span><span class="word" id="S4.SS3.p6.1.w13">functional</span><span class="word" id="S4.SS3.p6.1.w14"> </span><span class="word" id="S4.SS3.p6.1.w15">link</span><span class="word" id="S4.SS3.p6.1.w16"> </span><span class="word" id="S4.SS3.p6.1.w17">method</span><span class="word" id="S4.SS3.p6.1.w18">,</span><span class="word" id="S4.SS3.p6.1.w19"> </span><span class="word" id="S4.SS3.p6.1.w20">because</span><span class="word" id="S4.SS3.p6.1.w21">
</span><span class="word" id="S4.SS3.p6.1.w22">the</span><span class="word" id="S4.SS3.p6.1.w23"> </span><span class="word" id="S4.SS3.p6.1.w24">inputs</span><span class="word" id="S4.SS3.p6.1.w25"> </span><span class="word" id="S4.SS3.p6.1.w26">are</span><span class="word" id="S4.SS3.p6.1.w27"> </span><span class="word" id="S4.SS3.p6.1.w28">automatically</span><span class="word" id="S4.SS3.p6.1.w29"> </span><span class="word" id="S4.SS3.p6.1.w30">scaled</span><span class="word" id="S4.SS3.p6.1.w31"> </span><span class="word" id="S4.SS3.p6.1.w32">into</span><span class="word" id="S4.SS3.p6.1.w33"> </span><span class="word" id="S4.SS3.p6.1.w34">-</span><span class="word" id="S4.SS3.p6.1.w35">(</span><span class="word" id="S4.SS3.p6.1.w36">1</span><span class="word" id="S4.SS3.p6.1.w37">,</span><span class="word" id="S4.SS3.p6.1.w38">1</span><span class="word" id="S4.SS3.p6.1.w39">)</span><span class="word" id="S4.SS3.p6.1.w40"> </span><span class="word" id="S4.SS3.p6.1.w41">range</span><span class="word" id="S4.SS3.p6.1.w42"> </span><span class="word" id="S4.SS3.p6.1.w43">as</span><span class="word" id="S4.SS3.p6.1.w44"> </span><span class="word" id="S4.SS3.p6.1.w45">the</span><span class="word" id="S4.SS3.p6.1.w46"> </span><span class="word" id="S4.SS3.p6.1.w47">first</span><span class="word" id="S4.SS3.p6.1.w48"> </span><span class="word" id="S4.SS3.p6.1.w49">step</span><span class="word" id="S4.SS3.p6.1.w50">
</span><span class="word" id="S4.SS3.p6.1.w51">of</span><span class="word" id="S4.SS3.p6.1.w52"> </span><span class="word" id="S4.SS3.p6.1.w53">processing</span><span class="word" id="S4.SS3.p6.1.w54"> </span><span class="word" id="S4.SS3.p6.1.w55">in</span><span class="word" id="S4.SS3.p6.1.w56"> </span><span class="word" id="S4.SS3.p6.1.w57">this</span><span class="word" id="S4.SS3.p6.1.w58"> </span><span class="word" id="S4.SS3.p6.1.w59">approach</span><span class="word" id="S4.SS3.p6.1.w60">.</span></p>
</span><span class="word" id="S4.SS3.p6.1.w22">the</span><span class="word" id="S4.SS3.p6.1.w23"> </span><span class="word" id="S4.SS3.p6.1.w24">inputs</span><span class="word" id="S4.SS3.p6.1.w25"> </span><span class="word" id="S4.SS3.p6.1.w26">are</span><span class="word" id="S4.SS3.p6.1.w27"> </span><span class="word" id="S4.SS3.p6.1.w28">automatically</span><span class="word" id="S4.SS3.p6.1.w29"> </span><span class="word" id="S4.SS3.p6.1.w30">scaled</span><span class="word" id="S4.SS3.p6.1.w31"> </span><span class="word" id="S4.SS3.p6.1.w32">into</span><span class="word" id="S4.SS3.p6.1.w33"> </span><span class="word" id="S4.SS3.p6.1.w34">-</span><span class="word" id="S4.SS3.p6.1.w35">(</span><span class="word" id="S4.SS3.p6.1.w36">1,1</span><span class="word" id="S4.SS3.p6.1.w37">)</span><span class="word" id="S4.SS3.p6.1.w38"> </span><span class="word" id="S4.SS3.p6.1.w39">range</span><span class="word" id="S4.SS3.p6.1.w40"> </span><span class="word" id="S4.SS3.p6.1.w41">as</span><span class="word" id="S4.SS3.p6.1.w42"> </span><span class="word" id="S4.SS3.p6.1.w43">the</span><span class="word" id="S4.SS3.p6.1.w44"> </span><span class="word" id="S4.SS3.p6.1.w45">first</span><span class="word" id="S4.SS3.p6.1.w46"> </span><span class="word" id="S4.SS3.p6.1.w47">step</span><span class="word" id="S4.SS3.p6.1.w48">
</span><span class="word" id="S4.SS3.p6.1.w49">of</span><span class="word" id="S4.SS3.p6.1.w50"> </span><span class="word" id="S4.SS3.p6.1.w51">processing</span><span class="word" id="S4.SS3.p6.1.w52"> </span><span class="word" id="S4.SS3.p6.1.w53">in</span><span class="word" id="S4.SS3.p6.1.w54"> </span><span class="word" id="S4.SS3.p6.1.w55">this</span><span class="word" id="S4.SS3.p6.1.w56"> </span><span class="word" id="S4.SS3.p6.1.w57">approach</span><span class="word" id="S4.SS3.p6.1.w58">.</span></p>
</div>
</section>
</section>
......
......@@ -31,10 +31,6 @@ path = "examples/scoring.rs"
name = "harvesting"
path = "examples/harvesting.rs"
[[bin]]
name = "screen_reading"
path = "examples/screen_reading.rs"
[dependencies]
......@@ -42,12 +38,12 @@ regex = "0.1"
time = "0.1"
unidecode = "0.2.0"
fs_extra = "0.2.0"
libxml = "0.0.746"
[dependencies.rust-senna]
git = "https://github.com/jfschaefer/rust-senna.git"
[dependencies.libxml]
git = "https://github.com/jfschaefer/rust-libxml.git"
branch = "merge_branch"
[dependencies.llamapun]
git = "https://github.com/KWARC/llamapun.git"
[dependencies.llamapun_adaption]
git = "https://github.com/urabenstein/llamapun.git"
branch = "experimentation"
......
......@@ -14,7 +14,7 @@ Run the spotter with
to create the annotations.
Run the scorer with
```cargo run --bin scoring AnnotationOutputpath```
```cargo run --bin scoring Outputpath AnnotationOutputpath```
to add scores to the annotations.
......
......@@ -43,6 +43,7 @@ Units:
m meters meter
g gram
s sec second
hour hours hour
A ampere
K Kelvin
mol mol
......
This diff is collapsed.
......@@ -99,7 +99,7 @@ pub fn read_document(s : &str, config : &Config, filename : &str) -> String{
panic!("Cannot parse file {}", s);
}
let doc = opt_doc.unwrap();
let root = doc.get_root_element().unwrap();
let root = doc.get_root_element();
let mut content = format!("<?xml version=\"1.0\" ?>\n<mws:harvest xmlns:m=\"http://www.w3.org/1998/Math/MathML\" xmlns:mws=\"http://search.mathweb.org/ns\">");
......@@ -283,15 +283,15 @@ pub fn parse_units(node : &Node, document : &Document) -> (Vec<Unit>, Vec<Unit>)
mul_units.push(Unit::new(first.opt_prefix_sym.unwrap_or(String::new()), first.unit_sym, exp));
}else if first_child.get_name().eq("csymbol") && first_child.get_all_content().eq("Prefix"){
}else if first_child.get_name().eq("csymbol") && get_all_content(&first_child).eq("Prefix"){
let second_child = first_child.get_next_sibling().unwrap();
let third_child = second_child.get_next_sibling().unwrap();
mul_units.push(Unit::new(second_child.get_all_content(), third_child.get_all_content(), "1".to_string()));
mul_units.push(Unit::new(get_all_content(&second_child), get_all_content(&third_child), "1".to_string()));
}
}
if node.get_name().eq("csymbol"){
mul_units.push(Unit::new(String::new(), node.get_all_content(), "1".to_string()));
mul_units.push(Unit::new(String::new(), get_all_content(&node), "1".to_string()));
}
return (mul_units, div_units);
......
......@@ -27,14 +27,9 @@ pub fn main(){
let root = dom.get_root_element();
if root.is_err(){
println!("No root element");
return;
}
let space = String::new();
print_document(Some(root.unwrap()), space);
print_document(Some(root), space);
return;
......
......@@ -2,7 +2,6 @@ extern crate llamapun;
extern crate libxml;
extern crate senna;
extern crate spotter_lib;
extern crate llamapun_adaption;
use std::fs;
use std::env;
......@@ -14,7 +13,7 @@ use libxml::tree::*;
use libxml::parser::Parser;
use llamapun::data::Corpus;
use llamapun::data::Document as lDoc;
use llamapun_adaption::pattern_example_adaption::get_declarations;
use llamapun::pattern_example_adaption::get_declarations;
/* This adds scores to ambiguities of an annotation. The higher the score, the more likely the annotation. */
......@@ -29,8 +28,8 @@ pub fn main() {
let config = parse_config("config.txt");
let input_path = args[1].to_owned();
let document_path = args[2].to_owned();
let input_path = args[2].to_owned();
let document_path = args[1].to_owned();
search_dir(Path::new(&input_path), Path::new(&input_path), Path::new(&document_path), &config);
......@@ -72,7 +71,7 @@ pub fn read_document(s : &str, old_path : &Path, document_path : &Path, config :
return;
}
let doc = opt_doc.unwrap();
let root = doc.get_root_element().unwrap();
let mut root = doc.get_root_element();
//open also the other document here
//deduct the length of old_path from s and attach the rest to document_path the get the original document
......@@ -93,9 +92,34 @@ pub fn read_document(s : &str, old_path : &Path, document_path : &Path, config :
let orig_doc = opt_orig_doc.unwrap();
//call Frederiks program
println!("Spotting declarations...");
let decl_vec = get_declarations(original_document.clone());
let xpath_context = libxml::xpath::Context::new(&orig_doc.dom).unwrap();
let mut declaration_symbols = Vec::new();
for decl in decl_vec{
println!("declaration {}", decl.clone());
let opt_decl_nodes = xpath_context.evaluate(&decl);
if opt_decl_nodes.is_err(){
println!("error getting declaration at {}", decl);
continue;
}
let ref decl_node = opt_decl_nodes.unwrap().get_nodes_as_vec()[0];
let content = get_all_content(&decl_node);
declaration_symbols.push(content);
println!("node content {}", get_all_content(&decl_node));
}
println!("done.");
// for decl in decl_vec{
// println!("decl {}", decl);
// }
......@@ -103,11 +127,11 @@ pub fn read_document(s : &str, old_path : &Path, document_path : &Path, config :
find_content(&root, &doc, &orig_doc, config);
find_content(&mut root, &doc, &orig_doc, config, &declaration_symbols);
doc.save_file(&s).unwrap();
}
fn find_content(node : &Node, annotation_document : &Document, original_document : &lDoc, config : &Config) {
fn find_content(node : &mut Node, annotation_document : &Document, original_document : &lDoc, config : &Config, declaration_symbols : &Vec<String>) {
let mut cnml = false;
match node.get_type().unwrap() {
NodeType::ElementNode => {
......@@ -121,28 +145,38 @@ fn find_content(node : &Node, annotation_document : &Document, original_document
let mut opt_score = None;
while c.is_some(){
let c_unw = c.unwrap();
let mut c_unw = c.unwrap();
if c_unw.get_name().eq("contentmathml"){
let cc = c_unw.get_first_child();
//attach an old score, if there is one
if opt_score.is_some(){
c_unw.remove_property_with_name("score");
c_unw.remove_property("score");
c_unw.add_property("score", opt_score.unwrap());
}else {
if let Some(child) = cc {
let qe = parse_cnml(&child, annotation_document).unwrap();
let inv_score = 1.0 / score_annotation(&qe);
let as_score = bad_score_for_as(&qe);
let decl_score = score_declaration(&qe, declaration_symbols);
if decl_score.is_some(){
c_unw.remove_property("score");
c_unw.add_property("score", &decl_score.unwrap());
}else {
let inv_score = 1.0 / score_annotation(&qe);
let as_score = bad_score_for_as(&qe);
c_unw.remove_property_with_name("score");
c_unw.remove_property("score");
let new_score = if as_score < 0.0 { as_score } else { inv_score };
c_unw.add_property("score", &format!("{}", new_score));
let new_score = if as_score < 0.0 { as_score } else { inv_score };
c_unw.add_property("score", &format!("{}", new_score));
vec.push(qe);
vec.push(qe);
}
}
}
}else if c_unw.get_name().eq("annotates"){
......@@ -154,7 +188,8 @@ fn find_content(node : &Node, annotation_document : &Document, original_document
let start = url.split("'").nth(3).unwrap();
// let end = url.split("'").nth(5).unwrap();
let query = format!("//*[@id='{}']", start);
let res = original_document.xpath_context.evaluate(&query);
let xpath_context = libxml::xpath::Context::new(&original_document.dom).unwrap();
let res = xpath_context.evaluate(&query);
let vec = res.unwrap().get_nodes_as_vec();
if vec.len() != 1{
......@@ -180,20 +215,19 @@ fn find_content(node : &Node, annotation_document : &Document, original_document
let opt_new_qe = add_meaning_for_as(&vec);
if let Some(mut new_qe) = opt_new_qe{
let new_node = Node::new("kat:contentmathml", None, annotation_document).unwrap();
let mut new_node = Node::new("kat:contentmathml", None, annotation_document).unwrap();
new_node.add_property("rdf:parseType","Literal");
let parser = Parser::default();
let doc = parser.parse_string(&new_qe.to_mathml(config)).unwrap();
let root = doc.get_root_element().unwrap();
let root = doc.get_root_element();
root.unlink();
new_node.add_child(&root).unwrap();
node.add_child(&new_node).unwrap();
new_node.add_child(root).unwrap();
let inv_score = 1.0/score_annotation(&new_qe);
new_node.add_property("score",&format!("{}", inv_score));
node.add_child(new_node).unwrap();
}
......@@ -205,8 +239,8 @@ fn find_content(node : &Node, annotation_document : &Document, original_document
if !cnml {
let mut c: Option<Node> = node.get_first_child();
while let Some(child) = c {
find_content(&child, annotation_document, original_document, config);
while let Some(mut child) = c {
find_content(&mut child, annotation_document, original_document, config, declaration_symbols);
c = child.get_next_sibling();
}
}
......@@ -265,15 +299,15 @@ pub fn parse_units(node : &Node, document : &Document) -> (Vec<Unit>, Vec<Unit>)
mul_units.push(Unit::new(first.opt_prefix_sym.unwrap_or(String::new()), first.unit_sym, exp));
}else if first_child.get_name().eq("csymbol") && first_child.get_all_content().eq("Prefix"){
}else if first_child.get_name().eq("csymbol") && get_all_content(&first_child).eq("Prefix"){
let second_child = first_child.get_next_sibling().unwrap();
let third_child = second_child.get_next_sibling().unwrap();
mul_units.push(Unit::new(second_child.get_all_content(), third_child.get_all_content(), "1".to_string()));
mul_units.push(Unit::new(get_all_content(&second_child), get_all_content(&third_child), "1".to_string()));
}
}
if node.get_name().eq("csymbol"){
mul_units.push(Unit::new(String::new(), node.get_all_content(), "1".to_string()));
mul_units.push(Unit::new(String::new(), get_all_content(&node), "1".to_string()));
}
return (mul_units, div_units);
......@@ -370,5 +404,21 @@ pub fn add_meaning_for_as(qes : &Vec<SpottedQE>) -> Option<SpottedQE>{
}
pub fn score_declaration(qe : &SpottedQE, declaration_symbols : &Vec<String>) -> Option<String>{
for unit in qe.mul_units.clone(){
let sym = unit.opt_prefix_sym.unwrap_or(String::new()) + &unit.unit_sym.clone();
if declaration_symbols.contains(&sym){
return Some("-2.0".to_string());
}
}
for unit in qe.div_units.clone(){
let sym = unit.opt_prefix_sym.unwrap_or(String::new()) + &unit.unit_sym.clone();
if declaration_symbols.contains(&sym){
return Some("-2.0".to_string());
}
}
return None;
}
This diff is collapsed.
......@@ -76,12 +76,6 @@ pub fn main() {
let mut document = corpus.load_doc(file_path).unwrap();
*/
let root = document.dom.get_root_element();
if root.is_err() {
println!("No root element");
return;
}
let mut ambiguities = Vec::new();
......@@ -125,7 +119,9 @@ pub fn main() {
*/
pub fn evaluate_text(document : &mut Document, config : &Config) -> Vec<Ambiguity> {
let eval_res = document.xpath_context.evaluate("//p | //td | //span");
let xpath_context = libxml::xpath::Context::new(&document.dom).unwrap();
let eval_res = xpath_context.evaluate("//p | //td | //span");
let mut return_res = Vec::new();
......@@ -143,7 +139,7 @@ pub fn evaluate_text(document : &mut Document, config : &Config) -> Vec<Ambiguit
return_res.append(&mut evaluate_text_and_math_rec(&node, None, config, document));
}
let eval_fig_res = document.xpath_context.evaluate("//figure");
let eval_fig_res = xpath_context.evaluate("//figure");
if eval_fig_res.is_err(){
return return_res;
......@@ -225,7 +221,7 @@ pub fn evaluate_text_and_math_rec(node : &Node, substitute_id : Option<String>,
let opt_span = next_kid.get_property("class");
let mut content;
if next_kid.get_name().eq("span") && opt_span.is_some() && opt_span.unwrap().eq("word") {
content = next_kid.get_all_content();
content = get_all_content(&next_kid);
content = content.trim().to_string();
content = content.trim_left().to_string();
......@@ -296,7 +292,10 @@ pub fn evaluate_text_and_math_rec(node : &Node, substitute_id : Option<String>,
/* Searches for all math-nodes and searches for number units patterns on them */
pub fn evaluate_math(document : &Document, config : &Config) -> Vec<Ambiguity>{
let eval_res = document.xpath_context.evaluate("//math");
let xpath_context = libxml::xpath::Context::new(&document.dom).unwrap();
let eval_res = xpath_context.evaluate("//math");
let mut res = Vec::new();
......@@ -365,23 +364,23 @@ pub fn numeric_unit_cnml_spotter(opt_node : Option<Node>, document : &Document,
res.push(amb);
found = true;
}
}else if kids[0].get_name().eq("csymbol") && kids[0].get_all_content().eq("superscript") &&
cnml_is_numeric(&kids[1]) && kids[2].get_all_content().eq("′′"){
}else if kids[0].get_name().eq("csymbol") && get_all_content(&kids[0]).eq("superscript") &&
cnml_is_numeric(&kids[1]) && get_all_content(&kids[2]).eq("′′"){
let mut amb = Ambiguity::new(node.get_property("xref").unwrap(), kids[1].get_property("xref").unwrap(), kids[2].get_property("xref").unwrap());
let mut qe = SpottedQE::new(Some(document.dom.node_to_string(&kids[1])));
let unit = Unit::new("".to_string(),"arcsec".to_string(),"1".to_string());
qe.add_mul_unit(unit);
amb.add_ambiguity(qe);