Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first #240

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

first #240

wants to merge 5 commits into from

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

@@ -192,12 +194,15 @@ def process_single(
continue

# 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

@@ -91,6 +91,10 @@ class TaggerConfig:
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.

2 participants