This Python script utilizes Wikipedia data and natural language processing to generate a knowledge graph and provides a user interface for querying information.
- Install dependencies:
pip install wikipedia-api
pip install spacy=3.5.4
pip install coreferee
pip install networkx
pip install pyvis
and download these model
python -m spacy download en_core_web_lg
python -m coreferee install en
- Run the script python knowledge_graph_generator.py