original_docstring: Uses argparse to intelligently run eval
docstring: Uses argparse to intelligently run eval
docstring_tokens: Uses argparse to intelligently run eval
code: def main():
      """Uses argparse to intelligently run eval"""
      parser = argparse.ArgumentParser(description='Captcha evaluation')
      parser.add_argument('--square', '-s', action='store_true',
                      help='whether or not to evaluate the OpenCV method')
      parser.add_argument('--dcnn', '-d', action='store_true',
                      help='evaluate the DCNN model')
      args = parser.parse_args()
      # if we should evaluate the opencv model
      if args.square:
          score = eval_cv()
          print("OpenCV precision:", score)
      # if we should evaluate the dcnn model
      if args.dcnn:
          score = eval_dl()
          print("DCNN precision:", score)
code_tokens: def main ( ) : parser = argparse . ArgumentParser ( description = 'Captcha evaluation' ) parser . add_argument ( '--square' , '-s' , action = 'store_true' , help = 'whether or not to evaluate the OpenCV method' ) parser . add_argument ( '--dcnn' , '-d' , action = 'store_true' , help = 'evaluate the DCNN model' ) args = parser . parse_args ( ) if args . square : score = eval_cv ( ) print ( "OpenCV precision:" , score ) if args . dcnn : score = eval_dl ( ) print ( "DCNN precision:" , score )
short_docstring: Uses argparse to intelligently run eval
short_docstring_tokens: Uses argparse to intelligently run eval
comment: """Uses argparse to intelligently run eval"""$SEP$# if we should evaluate the opencv model$SEP$# if we should evaluate the dcnn model