Implement sentiment/NLP annotation and optimise processing

This commit is contained in:
2022-09-16 17:09:49 +01:00
parent f432e9b29e
commit a89b5a8b6f
11 changed files with 203 additions and 338 deletions

View File

@@ -1,19 +1,11 @@
import asyncio
from os import getenv
import db
import util
from sources.ch4 import Chan4
from sources.dis import DiscordClient
from sources.ingest import Ingest
# For development
# if not getenv("DISCORD_TOKEN", None):
# print("Could not get Discord token, attempting load from .env")
# from dotenv import load_dotenv
# load_dotenv()
log = util.get_logger("monolith")
modules_enabled = getenv("MODULES_ENABLED", False)