Yeah, but then you get into disambiguation hell. My first serious coding project was an insanely ambitious attempt to do something like this with CH data. Great punt for a Masters thesis, but not the sort of thing I'd base proper research on.
Love the look of the library they used to do this, in considerably better shape than my attempt.