On May 27, 2010, at 7:06 PM, Ted Dunning wrote: > That should be a small change (and helpful for a lot of mining tasks). > > But once you jump on that slippery slope, why not allow a tiny Groovy > closure to be injected? Or to pass in an object that will extract a map of > values from each line?
Expanding on this, I think we could do the following: Map capturing groups to labels, then have pluggable output so that one could easily output to FPG, Classifiers, etc. I'm not all that familiar w/ Groovy, so I'll put up my variation and then people can expand on it. -Grant
