mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-10-24 06:24:01 +00:00
Also adds pytest-mock requirement, those fixtures are nice to have! Implements issue/feature #396 .
SEC Sentiment Analysis Model
This directory contains an example of how to use the SEC API, the Unstructured SEC pipeline API,
and several bricks from the unstructured library to train a sentiment analysis model for the
risk factors section of S-1 filings. To get started, use the following steps:
- Ensure you have Python 3.8 or higher installed on your system
- Create a new Python virtual environment
- Run
pip install -r requirements.txtto install the dependencies - Run
PYTHONPATH=. jupyter notebookfrom this directory to launch the notebook
At this point, you'll be able to run the sentiment analysis example notebook.