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

Relax has_content to not require valid akomaNtoso #868

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

dragon-dxw
Copy link
Collaborator

There were many errors on PUI caused by the examples having short XML which doesn't have header or judgmentBody tags. Let's be casual about what we expect to receive.

@dragon-dxw
Copy link
Collaborator Author

dragon-dxw commented Jan 31, 2025

Do Press Summaries use a different tag than judgmentBody?
Yes, preface, mainBody. We should probably consider just going for "text after meta"

@dragon-dxw
Copy link
Collaborator Author

Rewritten to iterate through "tags after meta" to see if any contain or are followed by non-whitespace

@dragon-dxw dragon-dxw added this pull request to the merge queue Feb 3, 2025
Merged via the queue into main with commit cbe974f Feb 3, 2025
13 of 14 checks passed
@dragon-dxw dragon-dxw deleted the relax-has-content branch February 3, 2025 14:26
This was referenced Feb 3, 2025
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