-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yml
37 lines (30 loc) · 1.09 KB
/
project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
title: "Holmes Demo"
description: "This repository builds a streamlit application for demonstrating Topic Extraction with [Holmes](https://github.com/msg-systems/holmes-extractor)."
vars:
en_ontology: "data/example_search_EN_literature_ontology.owl"
en_literature: "data/en_literature/"
en_model : "en_core_web_trf"
directories: ["scripts","data"]
assets:
- dest: "data/example_search_EN_literature_ontology.owl"
description: "Ontology for the english literature example"
workflows:
install:
- requirements
commands:
- name: "requirements"
help: "Install dependencies and requirements"
script:
- "pip install -r requirements.txt"
- name: "download_en_literature"
help: "Download data for the english literature example"
script:
- "python -m coreferee install en"
- "python -m spacy download en_core_web_trf"
- "python scripts/download.py ${vars.en_ontology} ${vars.en_model} ${vars.en_literature}"
deps:
- ${vars.en_ontology}
- name: "app"
help: "Start the Holmes demo"
script:
- "python -m streamlit run scripts/app.py"