Tutorials for Entity Resolved Knowledge Graphs, doing Entity Linking on ICIJ articles.
pyenv local 3.12.5
poetry install
poetry shell
jupyter notebook
# open tutorial.ipynb
- Download and unzip the Senzing overlay: https://storage.googleapis.com/erkg/icij/ICIJ-entity-report-2024-06-21_12-04-57-std.json.zip
- setup local Neo4j with GDS plugin and Macos setting
- run src.senzing_parser
brew doctor
# do missing methods from brew doctor
brew upgrade
# ref https://sebhastian.com/error-metadata-generation-failed/
pip install --upgrade pip setuptools wheel
pip install spacy-ann-linker
graphdatascience==1.10 (the Py library) Neo4j Desktop 1.6.0 Neo4j DB engine 5.18.1 GDS plugin 2.6.8
lsof -i tcp:5000-5005,6000-6005,7000-7005
pyenv install --list | grep " 3\.[(7)]"
brew install openssl readline sqlite3 xz zlib
pyenv install 3.7.17
pyenv local 3.7.17
python -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install flit
OPENBLAS="$(brew --prefix openblas)" MACOSX_DEPLOYMENT_TARGET=14.5 flit install --deps=all --symlink
spacy download en_core_web_md
brew install openblas
pip install --upgrade pip setuptools wheel
OPENBLAS="$(brew --prefix openblas)" MACOSX_DEPLOYMENT_TARGET=14.5 pip install spacy-ann-linker
export OPENBLAS=$(brew --prefix openblas)
export CFLAGS="-falign-functions=8 ${CFLAGS}"