aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/files/small.json16
-rw-r--r--python/tests/files/small.xml10
2 files changed, 25 insertions, 1 deletions
diff --git a/python/tests/files/small.json b/python/tests/files/small.json
index 7c75187..eb93d9e 100644
--- a/python/tests/files/small.json
+++ b/python/tests/files/small.json
@@ -1,7 +1,21 @@
{
"title": "Dummy Example File",
"authors": [
- {"name": "Brewster Kahle", "given_name": "Brewster", "surname": "Kahle"},
+ {
+ "name": "Brewster Kahle",
+ "given_name": "Brewster",
+ "surname": "Kahle",
+ "affiliation": {
+ "department": "Faculty ofAgricultrial Engineering",
+ "laboratory": "Plant Physiology Laboratory",
+ "institution": "Technion-Israel Institute of Technology",
+ "address": {
+ "postCode": "32000",
+ "settlement": "Haifa",
+ "country": "Israel"
+ }
+ }
+ },
{"name": "J Doe", "given_name": "J", "surname": "Doe"}
],
"journal": {
diff --git a/python/tests/files/small.xml b/python/tests/files/small.xml
index 78b9ba2..4de4059 100644
--- a/python/tests/files/small.xml
+++ b/python/tests/files/small.xml
@@ -25,6 +25,16 @@ xsi:schemaLocation="http://www.tei-c.org/ns/1.0 /srv/grobid/grobid-0.5.1/grobid-
<analytic>
<author>
<persName xmlns="http://www.tei-c.org/ns/1.0"><forename type="first">Brewster</forename><surname>Kahle</surname></persName>
+ <affiliation key="aff0">
+ <orgName type="department">Faculty ofAgricultrial Engineering</orgName>
+ <orgName type="laboratory">Plant Physiology Laboratory</orgName>
+ <orgName type="institution">Technion-Israel Institute of Technology</orgName>
+ <address>
+ <postCode>32000</postCode>
+ <settlement>Haifa</settlement>
+ <country key="IL">Israel</country>
+ </address>
+ </affiliation>
</author>
<author>
<persName xmlns="http://www.tei-c.org/ns/1.0"><forename type="first">J</forename><surname>Doe</surname></persName>