def add_arguments(cls, arg_parser):
     _Pipeline.add_arguments(arg_parser)
     arg_parser.add_argument(
         "--swow-archive-path",
         help="Path to a bz2 archive to use as a source of SWOW data",
         required=False,
         default=SWOW_ARCHIVE_PATH)
Esempio n. 2
0
 def add_arguments(cls, arg_parser):
     arg_parser.add_argument(
         "--sentic_zip_url",
         help="URL to zip file containing ontology data",
         required=False,
         default=ONTOSENTICNET_ZIP_URL,
     )
     arg_parser.add_argument(
         "--owl_filename",
         help=
         "Name of the OntoSenticNet OWL file within the sentic zip archive.",
         required=False,
         default=ONTOSENTICNET_OWL_FILENAME,
     )
     _Pipeline.add_arguments(arg_parser)
 def add_arguments(cls, arg_parser: ArgParser) -> None:
     _Pipeline.add_arguments(arg_parser)
     arg_parser.add_argument("--product-type-classifier",
                             default="heuristic")
Esempio n. 4
0
 def add_arguments(cls, arg_parser):
     _Pipeline.add_arguments(arg_parser)
Esempio n. 5
0
 def add_arguments(cls, arg_parser):
     _Pipeline.add_arguments(arg_parser)
     arg_parser.add_argument("--xml-file-path", help="EAT .xml file path", default=default_eat_file_path)
 def add_arguments(cls, arg_parser: ArgParser) -> None:
     _Pipeline.add_arguments(arg_parser)
     arg_parser.add_argument("--parallel", action="store_true", help="run pipelines in parallel")