Project to showcase space and spacy-llm entity and relationship extraction, as well as neo4j for graphDB.
data/
: Contains all the data filesraw/
: Original, immutable dataprocessed/
: Sampled dataoutput/
: Data with entities and relationships information
src/
: Source code for use in this projectscripts/
: Scripts for downloading spacy core models
- Clone this repository
- Install requirements:
pip install -r requirements.txt
- Download spacy core models:
python scripts/setup.py
- Download and sample the dataset:
python src/dataset.py
- Run entity and relationship extraction:
python src/entity_extraction.py
- Load data into neo4j:
python src/neo4j_operations.py