def init_dataset_prepare_args(self, parser):
        '''Only invoked conditionally if subcommand is 'prepare' '''
        parser.add_argument('-f', '--configuration', dest='config', default=DEFAULT_USER_CONFIG_PATH,
                            help='the path to the configuration file to use -- ./config.yaml by default')
        parser.add_argument('-c', '--corpus-name', help='the name of the corpus to process')
        parser.add_argument('-n', '--dataset-name', help='the name to assign the newly processed dataset')
def init_dataset_prepare_args ( self , parser ) : parser . add_argument ( '-f' , '--configuration' , dest = 'config' , default = DEFAULT_USER_CONFIG_PATH , help = 'the path to the configuration file to use -- ./config.yaml by default' ) parser . add_argument ( '-c' , '--corpus-name' , help = 'the name of the corpus to process' ) parser . add_argument ( '-n' , '--dataset-name' , help = 'the name to assign the newly processed dataset' )
Only invoked conditionally if subcommand is 'prepare'