Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Text::Normalize::NACO 0.13

    Download button

    No screenshots available
    Downloads: 308  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.4/5)
    11 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Brian Cassidy | More programs
    Perl Artistic License / FREE
    January 29th, 2008, 14:29 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Text::Normalize::NACO description

    A Perl module that allows you to normalize text based on the NACO rules.

    Text::Normalize::NACO is a Perl module that allows you to normalize text based on the NACO rules.

    SYNOPSIS

    # exported method
    use Text::Normalize::NACO qw( naco_normalize );

    $normalized = naco_normalize( $original );

    # as an object
    $naco = Text::Normalize::NACO->new;
    $normalized = $naco->normalize( $original );

    # normalize to lowercase
    $naco->case( 'lower' );
    $normalized = $naco->normalize( $original );


    In general, normalization is defined as:

    To make (a text or language) regular and consistent, especially with respect to spelling or style.

    It is commonly used for comparative purposes. These particular normalization rules have been set out by the Name Authority Cooperative. The rules are described in detail at: http://www.loc.gov/catdir/pcc/naco/normrule.html

    INSTALLATION

    perl Makefile.PL
    make
    make test
    make install


    METHODS

    new( %options )

    Creates a new Text::Normalize::NACO object. You explicitly request strings to be normalized in upper or lower-case by setting the "case" option (defaults to "upper").

    my $naco = Text::Normalize::NACO->new( case => 'lower' );
    case( $case )

    Accessor/Mutator for the case in which the string should be returned.

    # lower-case
    $naco->case( 'lower' );

    # upper-case
    $naco->case( 'upper' );


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    normalize text | NACO rules | Perl module | text | normalizer | NACO

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM