src/smjsindustry/finance/processor.py [393:422]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        s3_output_path: str,
        output_file_name: str,
        wait: bool = True,
        logs: bool = True,
    ):
        """Runs a processing job to generate NLP scores for input text.

        Args:
            score_config (:class:`~smjsindustry.NLPScorerConfig`):
                The config for the NLP scorer.
            text_column_name (str): The name for column containing text to be summarized.
            input_file_path (str): The input file path pointing to the input dataframe
                containing the text to be summarized. It can be a local path or an S3 path.
            s3_output_path (str): An S3 prefix in the format of
                ``'s3://<output bucket name>/output/path'``.
            output_file_name (str): The output file name. The full path is
                ``'s3://<output bucket name>/output/path/output_file_name'``.
            wait (bool): Whether the call should wait until the job completes (default: ``True``).
            logs (bool): Whether to show the logs produced by the job (default: ``True``).

        Raises:
            ValueError: if ``logs`` is True but ``wait`` is False.

        """
        parse_result = urlparse(s3_output_path)
        if parse_result.scheme != "s3":
            raise Exception(
                "Expected an S3 prefix in the format of s3://<output bucket name>/output/path"
            )
        with tempfile.TemporaryDirectory() as tmpdirname:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/smjsindustry/finance/processor.py [541:566]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        s3_output_path: str,
        output_file_name: str,
        wait: bool = True,
        logs: bool = True,
    ):
        """Runs a processing job to load dataset from `SEC EDGAR database <https://www.sec.gov/edgar/>`_.

        Args:
            dataset_config (:class:`~smjsindustry.finance.EDGARDataSetConfig`):
                The config for the DataLoader.
            s3_output_path (str): An S3 prefix in the format of
                ``'s3://<output bucket name>/output/path'``.
            output_file_name (str): The output file name. The full path is
                ``'s3://<output bucket name>/output/path/output_file_name'``.
            wait (bool): Whether the call should wait until the job completes (default: ``True``).
            logs (bool): Whether to show the logs produced by the job (default: ``True``).

        Raises:
            ValueError: if ``logs`` is True but ``wait`` is False.
        """
        parse_result = urlparse(s3_output_path)
        if parse_result.scheme != "s3":
            raise Exception(
                "Expected an S3 prefix in the format of s3://<output bucket name>/output/path"
            )
        with tempfile.TemporaryDirectory() as tmpdirname:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



