Skip to content

Commit

Permalink
initial import
Browse files Browse the repository at this point in the history
git-svn-id: http://inkdroid.org/svn/marc-detrans/trunk@1 4dc5e89f-90f6-0310-ab54-a6a856e7c30e
  • Loading branch information
edsu committed May 8, 2005
0 parents commit 816d01e
Show file tree
Hide file tree
Showing 26 changed files with 5,660 additions and 0 deletions.
68 changes: 68 additions & 0 deletions Changes
@@ -0,0 +1,68 @@
v1.2 Mon May 2 15:51:16 CDT 2005
- added new example configuration files

v1.1 Mon Jan 31 20:15:52 CST 2005
- allow ^ESC sequence in rule <to> sections

v1.0 Thu Nov 18 11:43:19 CST 2004
- require at least 5.7.2 for XML encoding support

v0.99 Tue Nov 16 22:47:16 CST 2004
- added 'records written' to log
- MARC::Detrans::convert() can return undef when a bad error
has ocurred or when the record is not edited.
- added translation and parallel title log tallies
- added new russian config file
- added test of record skipping when target script is already
present in the record (t/scriptpresent.t)
- added the creation of a 940 tag to convert.pl

v0.98 Sun Nov 14 19:48:05 CST 2004
- added 001 to log messages

v0.97 Tue Nov 9 21:37:20 CST 2004
- don't include $c(B in 066

v0.96 Tue Nov 9 21:26:21 CST 2004
- add script code to $6 in 880 and config options
- add script orientation to $6 in 880 and config options
- test for both

v0.95 Mon Nov 8 20:48:59 CST 2004
- fixed writing to log file in example/convert.pl

v0.9 Sat Nov 6 14:21:03 CST 2004
- fixed counting for linked field

v0.8 Wed Nov 3 21:58:12 CST 2004
- original field gets an subfield 6 now

v0.7 Sat Oct 23 14:25:36 CDT 2004
- enhanced logging in convert.pl
- functionality and tests for handling translations
- functionality and tests for handling parallel titles

v0.6 Thu Oct 21 20:39:24 CDT 2004
- fixed ordering of 880s and the content of the subfield 6

v0.5 Wed Oct 20 10:40:42 CDT 2004
- fixed bug in setup of MARC::Detrans object. Needed to set errors
internal array.

v0.4 Fri Oct 15 09:41:18 CDT 2004
- added ability to define position on rules (initial, medial, final)
to control when a rule is activated.

v0.3 Wed Oct 13 21:04:21 CDT 2004
- changed error() to errors() in MARC::Detrans so that multiple
errors can be accumulated.
- convert() always returns a MARC::Record object instead of returning
undef when an error was encountered.

v0.2 Wed Oct 13 14:09:35 CDT 2004
- docfix in Detrans.pm (thanks Brian Cassidy)
- updated error messages in Detrans.pm to indicate field/subfield
- updated error messages emitted by convert.pl

v0.1 Sun Sep 26 10:04:32 CDT 2004
- initial release
27 changes: 27 additions & 0 deletions MANIFEST
@@ -0,0 +1,27 @@
Changes
example/bulgarian.xml
example/convert.pl
example/greek.xml
example/russian.xml
example/ukranian.xml
lib/MARC/Detrans.pm
lib/MARC/Detrans/Config.pm
lib/MARC/Detrans/Name.pm
lib/MARC/Detrans/Names.pm
lib/MARC/Detrans/Rule.pm
lib/MARC/Detrans/Rules.pm
Makefile.PL
MANIFEST
README
t/config.t
t/detrans.t
t/marc.dat
t/names.t
t/parallel.t
t/position.t
t/repeated.t
t/rules.t
t/scriptpresent.t
t/testconfig.xml
t/translation.t
META.yml
17 changes: 17 additions & 0 deletions Makefile.PL
@@ -0,0 +1,17 @@
use ExtUtils::MakeMaker;

require v5.7.2;

WriteMakefile(
NAME => 'MARC::Detrans',
VERSION_FROM => 'lib/MARC/Detrans.pm',
ABSTRACT_FROM => 'lib/MARC/Detrans.pm',
AUTHOR => 'Ed Summers <ehs@pobox.com>',
PREREQ_PM =>
{
'MARC::Record' => '1.38',
'Class::Accessor' => '0.19',
'XML::SAX' => '0.12',
'Test::Exception' => 0,
},
);
40 changes: 40 additions & 0 deletions README
@@ -0,0 +1,40 @@
MARC::Detrans

MARC::Detrans is a framework for detransliterating MARC records.
For details see the POD in MARC::Detrans.

INSTALLATION

To install this module type the following:

perl Makefile.PL
make
make test
make install

DEPENDENCIES

MARC::Record
XML::SAX

EXAMPLES

There are sample configuration files and an example driving program
in the example directory of this distribution. It's hoped that they
will prove to be starting places for your own de-transliterators, or
perhaps you can use them as is, with a few tweaks.

THANKYOUS

This software was commissioned by Queens Borough Public Library who
made it's creation possible, and had the generosity to make the
software opensource. Many thanks to Jane Jacobs and Elizabeth Ankerson
who expressed how the software should work, and built the configration
file for Russian.

COPYRIGHT AND LICENCE

Copyright (C) 2004 Ed Summers

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

0 comments on commit 816d01e

Please sign in to comment.