예제 #1
0
 def add_arguments(argparser):
     argparser.add_argument("filenames", nargs="+", help="passage file names to convert and upload")
     argparser.add_argument("-l", "--log", help="filename to write log of uploaded passages to")
     ServerAccessor.add_project_id_argument(argparser)
     ServerAccessor.add_source_id_argument(argparser)
     ServerAccessor.add_user_id_argument(argparser)
     ServerAccessor.add_arguments(argparser)
예제 #2
0
 def add_arguments(argparser):
     argparser.add_argument("filenames", nargs="+", help="filename pattern of CoNLL-U files")
     ServerAccessor.add_project_id_argument(argparser)
     ServerAccessor.add_source_id_argument(argparser)
     ServerAccessor.add_user_id_argument(argparser)
     argparser.add_argument("--annotation-user-id", type=int, help="user id for annotation tasks, if different")
     ServerAccessor.add_arguments(argparser)
예제 #3
0
 def add_arguments(argparser):
     argparser.add_argument("task_ids",
                            nargs="+",
                            type=int,
                            help="IDs of tasks to download and convert")
     ServerAccessor.add_project_id_argument(argparser)
     ServerAccessor.add_source_id_argument(argparser)
     TaskDownloader.add_write_arguments(argparser)
     ServerAccessor.add_arguments(argparser)
예제 #4
0
 def add_arguments(argparser):
     argparser.add_argument(
         "filename",
         help="a file where each line is a <User ID> <TOKENIZATION TASK ID>"
     )
     ServerAccessor.add_project_id_argument(argparser)
     ServerAccessor.add_source_id_argument(argparser)
     ServerAccessor.add_user_id_argument(argparser)
     ServerAccessor.add_arguments(argparser)
예제 #5
0
 def add_arguments(argparser):
     argparser.add_argument("filenames",
                            help="passage file names to convert and upload")
     argparser.add_argument(
         "-l",
         "--log",
         help="filename to write log of uploaded passages to")
     ServerAccessor.add_project_id_argument(argparser)
     ServerAccessor.add_source_id_argument(argparser)
     ServerAccessor.add_user_id_argument(argparser)
     ServerAccessor.add_arguments(argparser)