sgnlp.models.rst_pointer.utils.parse_args_and_load_config

parse_args_and_load_config()Union[sgnlp.models.rst_pointer.data_class.RstPointerParserTrainArgs, sgnlp.models.rst_pointer.data_class.RstPointerSegmenterTrainArgs][source]

Helper method to parse input arguments

Returns

returns the corresponding TrainArgs object depending on the input arguments.

Return type

Union[RstPointerParserTrainArgs, RstPointerSegmenterTrainArgs]