Skip to content

Commit

Permalink
Merge branch 'master' into bugfix/sent-seg-ack-fund
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed May 9, 2024
2 parents 7d9044e + 83f2c81 commit cf6fb98
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-build-manual-crf.yml
@@ -1,6 +1,7 @@
name: Build and push a CRF-only docker image

on: "workflow_dispatch"
on:
workflow_dispatch:


jobs:
Expand Down Expand Up @@ -38,4 +39,4 @@ jobs:
pushImage: true
tags: latest-develop, latest-crf
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
run: echo ${{ steps.docker_build.outputs.digest }}
Expand Up @@ -1611,6 +1611,9 @@ public StringBuilder toTEITextPiece(StringBuilder buffer,
Note note = labels2Notes.get(matching.getLeft());
OffsetPosition matchingPosition = matching.getRight();

if (pos >= matchingPosition.start)
break;

List<LayoutToken> before = clusterTokens.subList(pos, matchingPosition.start);
String clusterContentBefore = LayoutTokensUtil.normalizeDehyphenizeText(before);

Expand Down
8 changes: 4 additions & 4 deletions grobid-home/config/grobid.yaml
Expand Up @@ -25,11 +25,11 @@ grobid:
consolidation:
# define the bibliographical data consolidation service to be used, either "crossref" for CrossRef REST API or
# "glutton" for https://github.com/kermitt2/biblio-glutton
service: "crossref"
#service: "glutton"
#service: "crossref"
service: "glutton"
glutton:
url: "https://cloud.science-miner.com/glutton"
#url: "http://localhost:8080"
#url: "https://cloud.science-miner.com/glutton"
url: "http://localhost:8080"
crossref:
mailto:
# to use crossref web API, you need normally to use it politely and to indicate an email address here, e.g.
Expand Down

0 comments on commit cf6fb98

Please sign in to comment.