Simple scripts to perform bulk sentiment analysis using an ensemble approach
This script expects one CLI arg that is a path to a JSON file with the following schema:
{
"query": "string; a SQL query selecting an ID and a text column",
"fetch_size": "int; row count of output dataframes",
"run_id": "string; unique identifier for the run",
"output_parent_dir": "string; parent directory in which to create run folder",
"id_col": "string; ID column in DB",
"text_col":"string; text column in DB"
}This script is a companion script to classify_db.py and uploads the saved feather files to a database with a matching table. It expects one CLI arg that is a path to the same JSON file used for classify_db.py.