Skip to content

Horizontal-Labs/argument-mining-db

Repository files navigation

Argument Mining Guided Project SS25

Table of Contents

Overview

This repository contains code and tools for experimenting with argument mining techniques. It includes a db package that manages interactions with our MySQL database via SQLAlchemy and Alembic migrations.

Getting Started

Prerequisites

  • Python 3.8+
  • pip

Note: We host the MySQL database at argumentmining.ddns.net. You do not need to host your own database.

Installation

git clone https://github.com/your-org/argument-mining-ss25.git
cd argument-mining-ss25
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Usage

Import and use the db package to get a session and interact with the hosted database:

from db.db import get_engine, get_session, get_db_session

# Get a session
session = get_session()

# Example query
from db.models import ADU
adu_list = session.query(ADU).all()

Database

All database models live under db/models.py. Sessions and engine configuration live in db/db.py.

Schema

Below is the current ER-diagram of our database (exported from Schema AM.drawio).

Database Schema
Figure 1: Database schema

About

Argument Mining Pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7