diff options
author | Bryan Newbold <bnewbold@archive.org> | 2019-10-04 14:05:26 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2019-10-04 14:05:26 -0700 |
commit | 324e368c174b95e62a99b7a1f80c5e884d8053c8 (patch) | |
tree | 24ec510b83de3036fb83cee2d54596328f08ef31 /python | |
parent | 85a3355abe23fe9bf1cec480ddc9ab7c1f79322a (diff) | |
download | sandcrawler-324e368c174b95e62a99b7a1f80c5e884d8053c8.tar.gz sandcrawler-324e368c174b95e62a99b7a1f80c5e884d8053c8.zip |
fix GROBID POST flags
Diffstat (limited to 'python')
-rw-r--r-- | python/sandcrawler/grobid.py | 4 |
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, } ) |