Text::Normalize::NACO

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

Text::Normalize::NACO Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Brian Cassidy
  • Publisher web site:
  • http://search.cpan.org/~bricas/DBIx-Class-Loader-ADO-0.07/lib/DBIx/Class/Loader/ADO.pm

Text::Normalize::NACO Tags


Text::Normalize::NACO Description

Text::Normalize::NACO is 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.htmlINSTALLATION perl Makefile.PL make make test make installMETHODSnew( %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' ); Requirements: · Perl


Text::Normalize::NACO Related Software