aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2019-10-04 14:05:26 -0700
committerBryan Newbold <bnewbold@archive.org>2019-10-04 14:05:26 -0700
commit324e368c174b95e62a99b7a1f80c5e884d8053c8 (patch)
tree24ec510b83de3036fb83cee2d54596328f08ef31
parent85a3355abe23fe9bf1cec480ddc9ab7c1f79322a (diff)
downloadsandcrawler-324e368c174b95e62a99b7a1f80c5e884d8053c8.tar.gz
sandcrawler-324e368c174b95e62a99b7a1f80c5e884d8053c8.zip
fix GROBID POST flags
-rw-r--r--python/sandcrawler/grobid.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/sandcrawler/grobid.py b/python/sandcrawler/grobid.py
index 4c4112f..78ffa0a 100644
--- a/python/sandcrawler/grobid.py
+++ b/python/sandcrawler/grobid.py
@@ -31,7 +31,9 @@ class GrobidClient(object):
self.host_url + "/api/processFulltextDocument",
files={
'input': blob,
- 'consolidate_mode': self.consolidate_mode,
+ 'consolidateHeaders': self.consolidate_mode,
+ 'consolidateCitations': self.consolidate_mode,
+ 'includeRawCitations': 1,
}
)