Adjust circuit-breaker for #1113 by lfoppiano · Pull Request #1125 · grobidOrg/grobid (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

View all resources

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

grobidOrg / grobid Public

Additional navigation options

Merged

lfoppiano merged 1 commit intomasterfrom

bugfix/fix-links-beginning-sent

Jun 12, 2024

ConversationCommits (1)ChecksFiles changed

Merged

Adjust circuit-breaker for #1113#1125

lfoppiano merged 1 commit intomasterfrom

bugfix/fix-links-beginning-sent

Conversation

@lfoppiano

Copy link Copy Markdown

Member

@lfoppiano lfoppiano commented

Jun 10, 2024

edited

Loading

In the fix for #1113:

https://github.com/kermitt2/grobid/blob/83f2c81a3580c052697ffb46949dfec3deb67f32/grobid-core/src/main/java/org/grobid/core/document/TEIFormatter.java#L1614

if the URL is at beginning of the sentence/paragraph, it's normal to have both pos and matchingPosition.start) == 0, which should not cause any trouble (the string before will be empty).

This PR updates the >= with >. 😅

@lfoppiano

[Adjust circuit-breaker that would miss to identify urls at the beginn…](/grobidOrg/grobid/pull/1125/commits/c5c924ec480a765967a5d489d86718b3441b4a39 "Adjust circuit-breaker that would miss to identify urls at the beginning of the sentence/paragraph")

[c5c924e](/grobidOrg/grobid/pull/1125/commits/c5c924ec480a765967a5d489d86718b3441b4a39)

…ing of the sentence/paragraph

@lfoppiano lfoppiano marked this pull request as ready for review

June 10, 2024 05:49

@lfoppiano lfoppiano added this to the 0.8.1 milestone

Jun 10, 2024

@coveralls

Copy link Copy Markdown

coveralls commented

Jun 10, 2024

Coverage Status

coverage: 40.787%. remained the same
when pulling c5c924e on bugfix/fix-links-beginning-sent
into 694f0ed on master.

@lfoppiano lfoppiano merged commit c44a755 into master

Jun 12, 2024

@lfoppiano lfoppiano deleted the bugfix/fix-links-beginning-sent branch

June 12, 2024 02:42

@kermitt2 kermitt2 mentioned this pull request

Aug 15, 2024

Support for biblio-glutton 0.3#1086

Merged

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

0.8.1

Development

Successfully merging this pull request may close these issues.

2 participants

@lfoppiano @coveralls