Skip to content

Commit

Permalink
add coordinates for <p> in batch mode for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
kermitt2 committed Dec 29, 2023
1 parent 7b7b5ce commit a506eb1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -137,7 +137,7 @@ public void processFullText(final GrobidMainArgs pGbdArgs) throws Exception {
} else {
List<String> elementCoordinates = null;
if (pGbdArgs.getTeiCoordinates()) {
elementCoordinates = Arrays.asList("figure", "persName", "ref", "biblStruct", "formula", "s", "note", "title", "head", "affiliation");
elementCoordinates = Arrays.asList("figure", "persName", "ref", "biblStruct", "formula", "s", "note", "title", "head", "affiliation", "p");
}
processFullTextDirectory(files, pGbdArgs, pGbdArgs.getPath2Output(), pGbdArgs.getSaveAssets(),
elementCoordinates, pGbdArgs.getSegmentSentences(), pGbdArgs.getAddElementId());
Expand Down

0 comments on commit a506eb1

Please sign in to comment.