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)
def add_arguments(argparser): argparser.add_argument("filenames", help="passage file names to convert and upload") ServerAccessor.add_project_id_argument(argparser) ServerAccessor.add_source_id_argument(argparser) ServerAccessor.add_user_id_argument(argparser) ServerAccessor.add_arguments(argparser)
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") argparser.add_argument("--no-submit", action="store_false", dest="submit", help="do not submit annotation task") argparser.add_argument( "--existing-ids", help= "use existing task IDs from file (output of --log); no creation") argparser.add_argument("-n", "--no-upload", action="store_false", dest="upload", help="do not upload anything") ServerAccessor.add_project_id_argument(argparser) ServerAccessor.add_source_id_argument(argparser) ServerAccessor.add_user_id_argument(argparser) ServerAccessor.add_arguments(argparser)
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)
def add_arguments(argparser): argparser.add_argument( "filename", help="a file where each line is a <User ID> <Passage ID>") ServerAccessor.add_project_id_argument(argparser) ServerAccessor.add_source_id_argument(argparser) ServerAccessor.add_arguments(argparser)
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)
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)
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)
def add_arguments(argparser): argparser.add_argument( "filename", help= "text file with one line paragraph, where paragraphs are separated " "by multiple newlines and an optional <DELIMITER>") argparser.add_argument( "-l", "--log", help="filename to write log of uploaded passages to") argparser.add_argument("--lang", choices=["ru", "en", "fr", "de"], default="ru", help="language two-letter code, for tokenizer") ServerAccessor.add_project_id_argument(argparser) ServerAccessor.add_source_id_argument(argparser) ServerAccessor.add_user_id_argument(argparser) ServerAccessor.add_arguments(argparser)
def add_arguments(argparser): argparser.add_argument( "filename", help="a file where each line is a <User ID> <INPUT TASK ID>, " "where the input task may be an annotation/review task " "(if given --review) or a tokenization task") ServerAccessor.add_arguments(argparser) argparser.add_argument("-r", "--review", action="store_true", help="Create annotation/review task") argparser.add_argument( "-l", "--log", help="filename to write log of uploaded passages to") argparser.add_argument("--manager-comment", help="Manager comment to set for all tasks") ServerAccessor.add_project_id_argument(argparser) argparser.add_argument("-s", "--strict", action="store_true", help="Require parent task to be submitted")