forked from undertheseanlp/underthesea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (38 loc) · 1.34 KB
/
tox.ini
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
38
39
40
41
42
43
44
45
46
47
[tox]
envlist = py37
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 underthesea
[testenv]
deps=
pip>=20.3
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/underthesea
commands =
python -m unittest discover tests.pipeline.sent_tokenize
python -m unittest discover tests.pipeline.text_normalize
python -m unittest discover tests.pipeline.word_tokenize
python -m unittest discover tests.pipeline.pos_tag
python -m unittest discover tests.pipeline.chunking
python -m unittest discover tests.pipeline.ner
python -m unittest discover tests.dictionary
python -m unittest discover tests.feature_engineering
python -m unittest discover tests.corpus
; classification module
python -m unittest discover tests.pipeline.classification
; sentiment module
python -m unittest discover tests.pipeline.sentiment
; command lines
underthesea list-data
underthesea list-data --all
underthesea list-model
underthesea download-data VNTC
; Modules with deep learning
; dependency_parse module
pip install -e .[deep]
python -m unittest discover tests.pipeline.dependency_parse
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
; -r{toxinidir}/requirements.txt