aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2019-10-22 21:33:10 -0700
committerBryan Newbold <bnewbold@archive.org>2019-10-22 21:33:10 -0700
commitb11fe8c8f444756ae246250cbbfe44e7dc62eac3 (patch)
treec2f2e3fd168d859b0fa17bccb2c56bf65e29a619
parent54dabe601eaa19d0495d9a102b34e9daa056457d (diff)
downloadsandcrawler-b11fe8c8f444756ae246250cbbfe44e7dc62eac3.tar.gz
sandcrawler-b11fe8c8f444756ae246250cbbfe44e7dc62eac3.zip
remove spurious debug print from grobid2json
-rwxr-xr-xpython/grobid2json.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/grobid2json.py b/python/grobid2json.py
index df21883..1f7270c 100755
--- a/python/grobid2json.py
+++ b/python/grobid2json.py
@@ -145,7 +145,7 @@ def teixml2json(content, encumbered=True):
info['citations'] = refs
text = tei.find('.//{%s}text' % (ns))
- print(text.attrib)
+ #print(text.attrib)
info['language_code'] = text.attrib['{%s}lang' % xml_ns] # xml:lang
if encumbered: