http://www.perlmonks.org?node_id=627853


in reply to Re^2: Creating Metadata from Text File
in thread Creating Metadata from Text File

Yours sounds like an adequate "brute force" method; but if you have the time, you should take a look at RDF (Resource Desciption Format) which is the standard for metadata about documents and other things that a library might consider a "Resource"; its being extended to encompass other things as well; like code and databases; but it started right where you are at now.

I suggest it because there are tools to search RDF for matching resources, based on subject and meaning, rather than just the appearance of certain words.