-
Notifications
You must be signed in to change notification settings - Fork 0
Home
littleRound edited this page Nov 19, 2020
·
1 revision
Welcome to the kg4sec wiki!
Useful resources:
-
Prepare a python(>=3.7) environment using
virtualenv
orconda
-
Clone the repo (also the submodule)
git clone --recursive [email protected]:camelop/kg4sec.git
cd kg4sec
-
Install securitytext2graph(st2g) submodule
pip install -e submodules/securitytext2graph
python -m spacy download en_core_web_sm
-
Install kg4sec
pip install -e .
-
Download nltk dependency
python -c "import nltk;nltk.download('averaged_perceptron_tagger');nltk.download('punkt')"
(Check the github-action of this repo for example.)
-
Install pytest
pip install pytest
-
(Switch to the project dir and) run all tests cases
pytest tests