Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.02 KB

reset-ids.md

File metadata and controls

24 lines (19 loc) · 1.02 KB

reset-ids

  • domain(s): pairs, pretrain, translation
  • accepts: ldc.api.supervised.pairs.PairData, ldc.api.pretrain.PretrainData, ldc.api.translation.TranslationData
  • generates: ldc.api.supervised.pairs.PairData, ldc.api.pretrain.PretrainData, ldc.api.translation.TranslationData

Resets the IDs in the meta-data using consecutive integer ones.

usage: reset-ids [-h] [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
                 [-N LOGGER_NAME] [-o OFFSET]

Resets the IDs in the meta-data using consecutive integer ones.

optional arguments:
  -h, --help            show this help message and exit
  -l {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --logging_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        The logging level to use. (default: WARN)
  -N LOGGER_NAME, --logger_name LOGGER_NAME
                        The custom name to use for the logger, uses the plugin
                        name by default (default: None)
  -o OFFSET, --offset OFFSET
                        The offset for the ID counter (default: 0)