Ed Summers > MARC-Detrans-1.41 > MARC::Detrans::Names

Download:
MARC-Detrans-1.41.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

MARC::Detrans::Names - A set of non-standard authority mappings

SYNOPSIS ^

    use MARC::Detrans::Names
    my $names = MARC::Detrans::Names->new();
    $names->addName( 
        from => '$aNicholas $bI, $cEmperor of Russia, $d1796-1855',
        to  => '$a^[(NnIKOLAJ^[s, $bI, $c^[(NiMPERATOR^[s ^[(NwSEROSSIJSKIJ^[s, $d1796-1855'
    );

DESCRIPTION ^

Often times personal names are transliterated in non-standard ways, so in order to get back to the original script it's necessary to have non-standard mappings. MARC::Detrans::Names allows you to map the transliterated name back to it's original.

METHODS ^

new()

addName()

You must pass in a MARC::Detrans::Name object that you want to have added to the names mapping.

convert()

Pass in a MARC::Field object and you'll get back an array ref of modified subfield data which could be used to create a new field. If there is no mapping for a particular MARC::Field then you'll get back undef.

syntax highlighting: