diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-01-02 18:11:35 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-01-02 18:11:35 +0100 |
commit | be43049db0da2df4343bd5e1392d6c5201fc67d0 (patch) | |
tree | 219fa25011f424da745eece11226438cf741f345 /python/tests/files/datacite/datacite_result_12.json | |
parent | cb223fccb64500a8e134b9ec721c8a08b1a60f19 (diff) | |
download | fatcat-be43049db0da2df4343bd5e1392d6c5201fc67d0.tar.gz fatcat-be43049db0da2df4343bd5e1392d6c5201fc67d0.zip |
datacite: address raw_name index form comment
> The convention for display_name and raw_name is to be how the name
would normally be printed, not in index form (surname comma given_name).
So we might need to un-encode names like "Tricart, Pierre".
Use an additional `index_form_to_display_name` function to convert index
from to display form, heuristically.
Diffstat (limited to 'python/tests/files/datacite/datacite_result_12.json')
-rw-r--r-- | python/tests/files/datacite/datacite_result_12.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/tests/files/datacite/datacite_result_12.json b/python/tests/files/datacite/datacite_result_12.json index 6b6cad4a..192062e3 100644 --- a/python/tests/files/datacite/datacite_result_12.json +++ b/python/tests/files/datacite/datacite_result_12.json @@ -12,28 +12,28 @@ "contribs": [ { "index": 0, - "raw_name": "Spanias, Charalampos", + "raw_name": "Charalampos Spanias", "given_name": "Charalampos", "surname": "Spanias", "role": "author" }, { "index": 1, - "raw_name": "Nikolaidis, Pantelis T", + "raw_name": "Pantelis T Nikolaidis", "given_name": "Pantelis T", "surname": "Nikolaidis", "role": "author" }, { "index": 2, - "raw_name": "Rosemann, Thomas", + "raw_name": "Thomas Rosemann", "given_name": "Thomas", "surname": "Rosemann", "role": "author" }, { "index": 3, - "raw_name": "Knechtle, Beat", + "raw_name": "Beat Knechtle", "given_name": "Beat", "surname": "Knechtle", "role": "author" |