Click here to get back home

RFC on module name: Music_Normalize_Fields

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
RFC on module name: Music_Normalize_Fields Ilya Zakharevich 03-26-2008
Posted by Ilya Zakharevich on March 26, 2008, 5:14 pm
Please log in for more thread options
I spent quite some time working on music collection maintainance framework.
The current name for the module is Music_Normalize_Field. The current
purpose is to convert the various pieces of information about an audio
file to a "normalized" form.

For example, the current test suite checks that the records with

A="beethoven", N="sonata in F#"

can be converted to

A=Ludwig van Beethoven (1770-1827)
T=Piano Sonata No. 24 in F sharp major; Op. 78 (1809)

and knows that a correct way to shorten the name is L. van Beethoven.

As you can see, the current algorithms is somewhat tuned up for musical
works. Moreover, the underscores in the module name indicate that I
do not have a slightest idea where in the module name tree the module
should better belong.

There is a toplevel domain "Music", but the name-lookup subroutines are
not music-specific, and there is a significant part of non-music specific
work (via databases) done with titles as well. Some module mention
"Normalize" in the name, but there is no toplevel "Normalize".

So I have two questions for you:

a) can you see some other areas (in addition to audio files) where
this framework may be useful?

b) does it deserve a new toplevel name "Normalize", or do you see
a better place in the module name tree?

Thanks,
Ilya

Posted by Darin McBride on March 27, 2008, 5:19 pm
Please log in for more thread options
Ilya Zakharevich wrote:

(Thank you, Ilya - my first exposure to Perl was your port to OS/2.)

> a) can you see some other areas (in addition to audio files) where
> this framework may be useful?

Movie/Video collection? (title, director, screen writer, actors)

Normalising form entries (e.g., on the web) against a database of countries
(provinces/states/regions; municipalities)?

Fantasy sports leagues (entry of short names to expand to player names, or
team names or whatever)?

Or do you mean to me, personally?

> b) does it deserve a new toplevel name "Normalize", or do you see
> a better place in the module name tree?

Depends on how generic of a framework you can get it to. I would think
Data::Normalize::DB (object-noun-method) may be appropriate.

Posted by Ilya Zakharevich on March 28, 2008, 5:26 pm
Please log in for more thread options
[A complimentary Cc of this posting was sent to
Darin McBride
> > a) can you see some other areas (in addition to audio files) where
> > this framework may be useful?
>
> Movie/Video collection? (title, director, screen writer, actors)
>
> Normalising form entries (e.g., on the web) against a database of countries
> (provinces/states/regions; municipalities)?
>
> Fantasy sports leagues (entry of short names to expand to player names, or
> team names or whatever)?

> Or do you mean to me, personally?

Of course, the personal point of view is as important as the
"theoretical" one.

> > b) does it deserve a new toplevel name "Normalize", or do you see
> > a better place in the module name tree?

> Depends on how generic of a framework you can get it to. I would think
> Data::Normalize::DB (object-noun-method) may be appropriate.

So far all the usages are with "Names", not arbitrary "Data"...

Thanks,
Ilya

Similar ThreadsPosted
Lower case module name for non-pragma module January 4, 2005, 10:19 am
RFC: New module 'Module::Bundled::Files' August 26, 2005, 3:49 pm
help with an MD5.pm module!! September 3, 2005, 11:39 pm
Looking for RTP module December 9, 2004, 9:17 pm
module for FFT May 9, 2005, 3:06 pm
Module may not be right one? April 27, 2006, 12:57 pm
The 'if' module June 1, 2006, 8:18 pm
The 'if' module June 1, 2006, 8:26 pm
use module March 3, 2007, 5:13 am
Name my Module! July 27, 2007, 6:46 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap