pip install -r requirements.txt
Create a directory called data at the same level as the python notebook or script.
Drop the contract files in data (note: currently only pdf is supported).
python -m spacy download en_core_web_sm
python -m spacy download en
import spacy
nlp = spacy.load("en_core_web_sm")
- navigate to the test folder
- Create a directory called data at the same level as the python notebook or script.
- Drop the contract files in data (note: currently only pdf is supported).
- start the test web app: python server.py
- open this url in web browser: http://127.0.0.1:5000/
- To test word search, enter a dictionary of words to search. An example is captured in the text box.
Syntax: {'legal': 'anti-bribery', 'financial': 'escrow','financial': 'perpetual','SLA': 'breach','SLA': 'uptime'}
which is key/value pairs (eg: category, word to search)