Technical requirements
We will be using the Jupyter Notebook to run our coding exercises, which requires python>=3.8.0
. In addition, the following packages will need to be installed, with the pip install
command, in your environment:
igraph==0.9.8
spacy==3.4.4
scispacy==0.5.1
matplotlib
Alternatively, you could run pip install –r requirements.txt
, in the supporting requirements file, to install all the supporting dependencies for this chapter.
For this chapter, you will also need to install a text corpus for some Natural Language Processing (NLP). Go to https://allenai.github.io/scispacy/ and download the en_core_sci_sm
model. In a command prompt or terminal window, navigate to where this is downloaded and run pip
install en_core_sci_sm-0.5.1.tar.gz
.
All notebooks, with the coding exercises, are available at the following GitHub link: https://github.com/PacktPublishing/Graph-Data-Modeling-in-Python/tree/main/CH04.