From d8fe1602ce6953af43416efc04c6c84c777f3cba Mon Sep 17 00:00:00 2001 From: lopez Date: Mon, 29 Jan 2024 19:27:52 +0100 Subject: [PATCH] default config for tests --- .../java/org/grobid/core/document/TEIFormatter.java | 1 - grobid-home/config/grobid.yaml | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/grobid-core/src/main/java/org/grobid/core/document/TEIFormatter.java b/grobid-core/src/main/java/org/grobid/core/document/TEIFormatter.java index e2424bf3b8..638e4eb4b6 100755 --- a/grobid-core/src/main/java/org/grobid/core/document/TEIFormatter.java +++ b/grobid-core/src/main/java/org/grobid/core/document/TEIFormatter.java @@ -262,7 +262,6 @@ public StringBuilder toTEIHeader(BiblioItem biblio, // a dummy publicationStmt is still necessary according to TEI tei.append("\t\t\t\t\n"); } - // We introduce something more meaningful with TEI customization to encode copyrights information: // - @copyrightsOwner with value "publisher", "authors", "unknown" diff --git a/grobid-home/config/grobid.yaml b/grobid-home/config/grobid.yaml index a862f47c3b..914ec06498 100644 --- a/grobid-home/config/grobid.yaml +++ b/grobid-home/config/grobid.yaml @@ -262,9 +262,9 @@ grobid: - name: "copyright" # at this time, we only have a DeLFT implementation, - # use crf if the deep learning library JNI is not available and model will then be ignored - engine: "delft" - #engine: "crf" + # use "wapiti" if the deep learning library JNI is not available and model will then be ignored + #engine: "delft" + engine: "wapiti" delft: # deep learning parameters architecture: "gru" @@ -273,9 +273,9 @@ grobid: - name: "license" # at this time, must always be DeLFT, not other implementation - # use crf if the deep learning library JNI is not available and model will then be ignored - engine: "delft" - #engine: "crf" + # use "wapiti" if the deep learning library JNI is not available and model will then be ignored + #engine: "delft" + engine: "wapiti" delft: # deep learning parameters architecture: "gru"