Commit e991045a authored by Biagio's avatar Biagio

added settings and ontology

parent 2f5881ff
## Installation
* requires python3.7+
* clone this repo
* cd to the repo/development
* create a virtual environment: `python3 -m venv venv`
* load the virtual environment: `source venv/bin/activate`
* install the dependencies: `pip install -r requirements.txt`
* install the spaCy model: `python -m spacy download en_core_web_md`
## Usage
* download all the documents: `python --download`
* to parse one document: `python --parse <filepath> [--outdir <output dir>]`
* to parse all the documents: `python --parseall [--outdir <output dir>]`
* to use with a GUI: `python --gui [--port: port_no]`
(it will return *.akn zip archives, also saved locally in
**All the converted files will be written in the directory `out` unless `--outdir` is specified**
## troubleshooting
If you are experiencing problems with import errors, export the PYTHONPATH
as follows:
```export PYTHONPATH:${PYTHONPATH}:<full/path/to/the/repo/>```
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment