Skip to content

regression: no more line_color_filter #21

Open

Description

@jeremybmerrill

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.

This doesn't exist in tabula-java

Activity

  1. jazzido commented on May 2, 2015

    @jazzido
    Contributor

    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?

  2. jeremybmerrill commented on May 2, 2015

    @jeremybmerrill
    MemberAuthor

    Yes, great. 💯

    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)
    .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions