Beispiel #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")
     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(
         "filename",
         help="a file where each line is a <User ID> <TOKENIZATION TASK ID>"
     )
     ServerAccessor.add_user_id_argument(argparser)
     ServerAccessor.add_arguments(argparser)
Beispiel #3
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)
 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="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)
Beispiel #6
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)
 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)
Beispiel #8
0
 def add_arguments(argparser):
     argparser.add_argument("filenames", nargs="+", help="passage file names to convert and upload")
     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> <Passage ID>")
     ServerAccessor.add_user_id_argument(argparser)
     ServerAccessor.add_arguments(argparser)