diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-10-16 18:19:15 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-10-16 18:19:17 -0700 |
commit | 18d497eb7a83f935fa941c2e4dd86545104a9412 (patch) | |
tree | 38de98ee428cb6a2b1312ba49806268f63a80878 | |
parent | 701bc6b77808daba3ea15a1e49add326d9f6badd (diff) | |
download | fatcat-scholar-18d497eb7a83f935fa941c2e4dd86545104a9412.tar.gz fatcat-scholar-18d497eb7a83f935fa941c2e4dd86545104a9412.zip |
SIM pipeline: more language conversions
Not sure where these language strings are coming from, but these were
from existing SIM item metadata in archive.org
-rw-r--r-- | fatcat_scholar/transform.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fatcat_scholar/transform.py b/fatcat_scholar/transform.py index c08be7b..590d44a 100644 --- a/fatcat_scholar/transform.py +++ b/fatcat_scholar/transform.py @@ -50,9 +50,12 @@ SIM_RELEASE_TYPE_MAP = { } SIM_LANG_MAP = { "English": "en", - "Spanish": "es", "German": "de", - # TODO: + "Italian": "it", + "French": "fr", + "Afrikaans": "af", + "Spanish": "es", + # TODO: more } SIM_COUNTRY_MAP = { "United States": "us", |