Skip to content

Conversation

@Whattabatt
Copy link
Contributor

No description provided.

Copy link
Member

@soldni soldni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mmmh this is ticky, would be nice to merge changes in soldni/backoff branch before touching linearizers


# extract text
doc.text = linearizer.linearize(content=decoded_content)
if skip_linearization:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we have a no-op linearizer instead of a boolean flag?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do

default=False,
help="If true, only print the configuration and exit without running the taggers.",
)
document_dir: Optional[str] = field(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we parametrize attributes too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could for the sake of symmetry but it has little utility that I can see

@Whattabatt
Copy link
Contributor Author

mmmh this is ticky, would be nice to merge changes in soldni/backoff branch before touching linearizers

All good, I wasn't planning on pushing this yet, mostly wanted to validate the tests

@Whattabatt Whattabatt marked this pull request as draft February 14, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants