diff options
Diffstat (limited to 'python/grobid_tool.py')
-rwxr-xr-x | python/grobid_tool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/grobid_tool.py b/python/grobid_tool.py index 2a1d8b5..0084330 100755 --- a/python/grobid_tool.py +++ b/python/grobid_tool.py @@ -9,10 +9,10 @@ Example of large parallel run, locally: cat /srv/sandcrawler/tasks/ungrobided.2019-09-23.json | pv -l | parallel -j30 --pipe ./grobid_tool.py --kafka-env prod --kafka-hosts wbgrp-svc263.us.archive.org:9092,wbgrp-svc284.us.archive.org:9092,wbgrp-svc285.us.archive.org:9092 --kafka-mode --grobid-host http://localhost:8070 -j0 extract-json - """ -import sys -import json import argparse import datetime +import json +import sys from grobid2json import teixml2json from sandcrawler import * |