Ed Summers > MARC-Detrans > MARC::Detrans::Name

Download:
MARC-Detrans-1.41.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

MARC::Detrans::Name - A single name mapping

SYNOPSIS ^

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

DESCRIPTION ^

MARC::Detrans::Rule represents a single non-standard detransliteration mapping for a MARC field. For example personal names often have non-standard transliterations, so to get them back to the original script a non-rules based detransliteration has to occur.

MARC::Detrans::Name and MARC::Detrans::Names aid in this process by allowing you to create a single mapping of one field to another, and then adding them to a rule set.

METHODS ^

new()

The constructor which you must pass the from and to parameters, which define what name will be transformed.

from()

to()

syntax highlighting: