summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-10-25 17:18:31 -0700
committerBryan Newbold <bnewbold@archive.org>2021-10-25 17:18:31 -0700
commitd33abe3b63bfd7a5dc5a06b8d6d0800e66fd8110 (patch)
tree7df278920553c5d97c12309474ea8fdb4bc84a9f
parent1d00cc5ef900998523aa75245daf69f2513205bb (diff)
downloadgrobid_tei_xml-d33abe3b63bfd7a5dc5a06b8d6d0800e66fd8110.tar.gz
grobid_tei_xml-d33abe3b63bfd7a5dc5a06b8d6d0800e66fd8110.zip
README: fix README tests
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3ff0654..2b06da1 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ grobid_resp.raise_for_status()
doc = grobid_tei_xml.parse_document_xml(grobid_resp.text)
print("title: " + doc.header.title)
-print("authors: " + ", ".join([a.name for a in doc.header.authors]))
+print("authors: " + ", ".join([a.full_name for a in doc.header.authors]))
print("doi: " + str(doc.header.doi))
print("citation count: " + str(len(doc.citations)))
print("abstract: " + doc.abstract)