Skip to content

Commit fd4967d

Browse files
committed
feat: update configuration to include BlingFire as an optional sentence detector
1 parent 598e949 commit fd4967d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

grobid-home/config/grobid-evaluation.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ grobid:
5353
# the actual implementation for language recognition to be used
5454
languageDetectorFactory: "org.grobid.core.lang.impl.CybozuLanguageDetectorFactory"
5555

56-
# the actual implementation for optional sentence segmentation to be used (PragmaticSegmenter or OpenNLP)
56+
# the actual implementation for optional sentence segmentation to be used (PragmaticSegmenter, OpenNLP or BlingFire)
5757
#sentenceDetectorFactory: "org.grobid.core.lang.impl.PragmaticSentenceDetectorFactory"
5858
sentenceDetectorFactory: "org.grobid.core.lang.impl.OpenNLPSentenceDetectorFactory"
59+
#sentenceDetectorFactory: "org.grobid.core.lang.impl.BlingFireSentenceDetectorFactory"
5960

6061
# maximum concurrency allowed to GROBID server for processing parallel requests - change it according to your CPU/GPU capacities
6162
# for a production server running only GROBID, set the value slightly above the available number of threads of the server

grobid-home/config/grobid-full.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ grobid:
5353
# the actual implementation for language recognition to be used
5454
languageDetectorFactory: "org.grobid.core.lang.impl.CybozuLanguageDetectorFactory"
5555

56-
# the actual implementation for optional sentence segmentation to be used (PragmaticSegmenter or OpenNLP)
56+
# the actual implementation for optional sentence segmentation to be used (PragmaticSegmenter, OpenNLP or BlingFire)
5757
#sentenceDetectorFactory: "org.grobid.core.lang.impl.PragmaticSentenceDetectorFactory"
5858
sentenceDetectorFactory: "org.grobid.core.lang.impl.OpenNLPSentenceDetectorFactory"
59+
#sentenceDetectorFactory: "org.grobid.core.lang.impl.BlingFireSentenceDetectorFactory"
5960

6061
# maximum concurrency allowed to GROBID server for processing parallel requests - change it according to your CPU/GPU capacities
6162
# for a production server running only GROBID, set the value slightly above the available number of threads of the server

0 commit comments

Comments
 (0)