I've made available the code we use in the solrmarc/solr installation behind
http://mirlyn.lib.umich.edu to normalize LCCNs and ISBNs and add our local
High Level Browse LC-callnumber-based categorization scheme.
The code itself and a downloadable .jar file for the normalizers are
The README has usage examples as well, so you know what to put in your
The source is not pretty in the same way the sea is not above the sky, but
it all works as best as I can tell and we all know the dangers of waiting
to "clean up" code before release. Patches are, of course, always welcome.
Library Systems Programmer
University of Michigan Library