diff options
| author | Adam Janovsky | 2024-02-20 12:51:57 +0100 |
|---|---|---|
| committer | Adam Janovsky | 2024-02-20 12:51:57 +0100 |
| commit | 26d316ae23b1b47c8ac3543de233995dac85a67a (patch) | |
| tree | a1915a8b33cb854077698e5dadcbb7478856e4ef /docs | |
| parent | 9f02cf2ef3e499bc4ded221cd918be1461e73708 (diff) | |
| download | sec-certs-26d316ae23b1b47c8ac3543de233995dac85a67a.tar.gz sec-certs-26d316ae23b1b47c8ac3543de233995dac85a67a.tar.zst sec-certs-26d316ae23b1b47c8ac3543de233995dac85a67a.zip | |
revert spacy model download installation
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/installation.md | 3 | ||||
| -rw-r--r-- | docs/quickstart.md | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/installation.md b/docs/installation.md index e62149e6..d489b03c 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -6,7 +6,7 @@ The tool can be installed from PyPi with ```bash -pip install -U sec-certs +pip install -U sec-certs && python -m spacy download en_core_web_sm ``` Note, that `Python>=3.10` is required. @@ -31,6 +31,7 @@ git clone https://github.com/crocs-muni/sec-certs.git python3 -m venv venv source venv/bin/activate pip install -e . +python -m spacy download en_core_web_sm ``` Alternatively, our Our [Dockerfile](https://github.com/crocs-muni/sec-certs/blob/main/Dockerfile) represents a reproducible way of setting up the environment. diff --git a/docs/quickstart.md b/docs/quickstart.md index 49731e88..f2e3690f 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -3,7 +3,7 @@ ::::{tab-set} :::{tab-item} Common Criteria -1. Install the latest version with `pip install -U sec-certs` (see [installation](installation.md)). +1. Install the latest version with `pip install -U sec-certs && python -m spacy download en_core_web_sm` (see [installation](installation.md)). 2. In your Python interpreter, type ```python from sec_certs.dataset.cc import CCDataset @@ -16,7 +16,7 @@ to obtain to obtain freshly processed dataset from [seccerts.org](https://seccer ::: :::{tab-item} FIPS 140 -1. Install the latest version with `pip install -U sec-certs` (see [installation](installation.md)). +1. Install the latest version with `pip install -U sec-certs && python -m spacy download en_core_web_sm` (see [installation](installation.md)). 2. In your Python interpreter, type ```python from sec_certs.dataset.fips import FIPSDataset |
