Problems? Is your data what you think it is? | |
PerlMonks |
Re: Extracting structured data from unstructured text - just how difficult would this be?by Limbic~Region (Chancellor) |
on Feb 21, 2008 at 16:44 UTC ( [id://669310]=note: print w/replies, xml ) | Need Help?? |
clinton,
So hear is me talking out my @$$ Typically, what I would suggest is the prospector method. You pass the text through a series of finer filters until you find the nuggets you are looking for. Things that fall out or records that yield no gold are examined by hand to determine why. Either existing filters are modified or new ones are added. This can reduce the amount of manually work greatly. The trouble with using this approach for this task is that even if it finds nuggets, you have to be sure you haven't been handed Fool's Gold. This is where using Bayesian and expert systems may help. Suppose you have more than just one series of filter and/or you have multiple dispositions (gold, pyrite, dirt, your wedding band, etc). By "ranking" the output, you can "teach" the system to recognize which filters and weights work best for which types of text. Of course, you will never achieve 100% accuracy but I don't think you want to. Way over my head though. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|