forked from pkeilbach/htwg-practical-nlp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (24 loc) · 716 Bytes
/
Makefile
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
project: pre_commit nltk
pre_commit: requirements
.venv/bin/pre-commit install
nltk: requirements
.venv/bin/python3 -m nltk.downloader -d .venv/nltk_data popular
requirements: pip
.venv/bin/python3 -m pip install -e .
pip: .venv
.venv/bin/pip install --upgrade pip
.venv:
python3.10 -m venv --upgrade-deps .venv
jupyter: project
.venv/bin/jupyter notebook --no-browser
lecture_notes: project
.venv/bin/mkdocs serve
pytest:
.venv/bin/pytest
assignment_1:
.venv/bin/pytest tests/htwgnlp/test_preprocessing.py
assignment_2:
.venv/bin/pytest tests/htwgnlp/test_features.py
.venv/bin/pytest tests/htwgnlp/test_logistic_regression.py
assignment_3:
.venv/bin/pytest tests/htwgnlp/test_naive_bayes.py