code: def main():
      
      log.setup_main_logger(console=True, file_logging=False)
      log.log_sockeye_version(logger)
  
      params = argparse.ArgumentParser(description="Rerank nbest lists of translations."
                                                   " Reranking sorts a list of hypotheses according"
                                                   " to their score compared to a common reference.")
      arguments.add_rerank_args(params)
      args = params.parse_args()
  
      logger.info(args)
  
      rerank(args)
docs: Commandline interface to rerank nbest lists.