diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-01-03 13:46:05 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-01-03 13:46:05 +0100 |
commit | 391565cbbc0ba17ffd8c4f5d88d4dfda8a8b323c (patch) | |
tree | a6f8c2c5dd3244e2bfc8a6035f5c351770ea9975 /python/fatcat_import.py | |
parent | 61f0bbfbfdaf41be799fa41c88077806ef913188 (diff) | |
download | fatcat-391565cbbc0ba17ffd8c4f5d88d4dfda8a8b323c.tar.gz fatcat-391565cbbc0ba17ffd8c4f5d88d4dfda8a8b323c.zip |
datacite: remove --lang-detect flag
Estimated time for a single call is in the order of 50ms.
Diffstat (limited to 'python/fatcat_import.py')
-rwxr-xr-x | python/fatcat_import.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/python/fatcat_import.py b/python/fatcat_import.py index a17029cc..6b04d547 100755 --- a/python/fatcat_import.py +++ b/python/fatcat_import.py @@ -172,7 +172,6 @@ def run_datacite(args): edit_batch_size=args.batch_size, bezerk_mode=args.bezerk_mode, debug=args.debug, - lang_detect=args.lang_detect, extid_map_file=args.extid_map_file, insert_log_file=args.insert_log_file) if args.kafka_mode: @@ -474,9 +473,6 @@ def main(): sub_datacite.add_argument('--debug', action='store_true', help="write converted JSON to stdout") - sub_datacite.add_argument('--lang-detect', - action='store_true', - help="try to detect language (slow)") sub_datacite.add_argument('--insert-log-file', default='', type=str, |