i've got a bunch of mp3 files, say 100, in a directory and there is a directory with around 40000 lyrics. so here is my question. i want to get a copy of all the lyrics files corresponding to the mp3 dir.
/home/mydir/mp3: ls > mp3.list
/home/mydir/lyrics: ls > lyrics.list
in either case, the naming is as following:
artist - songtitle.mp3 for song
artist - songtitle.txt for lyrics
i've written a perl program to match and extract the filename from the lyrics.list.
the only problem, not all lyrics are matched due to small different in the naming convention. such as "aren't" and "arent" and other sutle differences.
is there any way i can get around this and at use a more fussy logic to do the matching.
any help will be appreciated.