You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it comes up every now and again that tabula-extractor allowed users (in the Ruby version only -- I don't think there were hooks into the CLI version) to only use lines whose RGB matches a certain lambda for Spreadsheet/Lattice mode.
Filtering lines by color is currently implemented in tabula-extractor as a Proc that's passed to the ObjectExtractor. That is, filtering is done at page mining time.
Maybe we could mine every Ruling instead, and provide some kind of option to the Extractors that let the user pass a lambda (that accepts a Ruling as its argument) to allow for more generic filtering.
Jeremy B. Merrill
Sent from my mobile device
On May 2, 2015 6:32 PM, "Manuel Aristarán" notifications@github.com wrote:
Filtering lines by color is currently implemented in tabula-extractor as
a Proc that's passed to the ObjectExtractor. That is, filtering is done
at page mining time.
Maybe we could mine every Ruling instead, and provide some kind of option
to the Extractors that let the user pass a lambda (that accepts a Ruling
as its argument) to allow for more generic filtering.
What do you think?
—
Reply to this email directly or view it on GitHub #21 (comment)
.
Activity
jazzido commentedon May 2, 2015
Filtering lines by color is currently implemented in
tabula-extractoras aProcthat's passed to theObjectExtractor. That is, filtering is done at page mining time.Maybe we could mine every
Rulinginstead, and provide some kind of option to the Extractors that let the user pass a lambda (that accepts aRulingas its argument) to allow for more generic filtering.What do you think?
jeremybmerrill commentedon May 2, 2015
Yes, great. 💯
Jeremy B. Merrill
Sent from my mobile device
On May 2, 2015 6:32 PM, "Manuel Aristarán" notifications@github.com wrote: