12
edits
Changes
no edit summary
* [http://gitref.org/ quick reference for Git]
* [https://github.com/ryscher/hamr Ryan's really stupid scratch implementation]
== Output Spec ==
* We will use a simple XML output consisting of paired (and possibly unpaired) values.
* The root element will contain an attribute signifying the source of the authority metadata.
* The <match> element will be used to pair values, with a strength attribute to signify the string distance.
* Within each match element will be exactly 2 metadata elements with attributes signifying the source of each value: either the local input or the remote authority data.
* An <nonmatch> element will be used for unpaired values.
=== Sample Output ===
<source lang="XML">
<hamr authority="PubMed">
<match strength="100%">
<creator src="input">Trojan, Tommy</creator>
<creator src="authority">Trojan, Tommy</creator>
</match>
<match strength="90%">
<title src="input">Great American Article</title>
<title src="authority">Great American Article, The</title>
</match>
<nonmatch>
<subject src="input">Medical Stuff</subject>
</nonmatch>
<nonmatch>
<type src="authority">text</type>
</nonmatch>
</hamr>
</source>
== Need to do ==