Skip to content

Commit

Permalink
Removed spacy install in travis.yml,
Browse files Browse the repository at this point in the history
Added spacy import in discourse_markers,
Added spacy dependency in tox.ini
  • Loading branch information
sourvad committed Apr 5, 2021
1 parent e4bc9f3 commit 2642c5f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ before_install:
- pip install -U pytest-cov
install:
- pip install tox-travis
- pip install spacy
script: tox
1 change: 1 addition & 0 deletions src/TRUNAJOD/discourse_markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"""
import re
from typing import List
from spacy.tokens import Doc

CAUSE_DISCOURSE_MARKERS = {
"dado que",
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ deps =
coverage
pytest-cov
mock
spacy
commands = pytest

0 comments on commit 2642c5f

Please sign in to comment.