You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repro steps:
Install lexnlp pip install lexnlp
Start a python interactive shell and run
from lexnlp.ml.catalog.download import download_github_release
Import fails with error message
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/Andrew.Hoang/.local/share/virtualenvs/binary_contract_classification-0V95ndJZ/lib/python3.8/site-packages/lexnlp/ml/catalog/__init__.py", line 20, in <module>
CATALOG: Path = Path(nltk.data.find('')) / 'lexpredict-lexnlp'
File "/Users/Andrew.Hoang/.local/share/virtualenvs/binary_contract_classification-0V95ndJZ/lib/python3.8/site-packages/nltk/data.py", line 560, in find
resource_zipname = resource_name.split("/")[1]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Repro steps:
Install lexnlp
pip install lexnlp
Start a python interactive shell and run
Import fails with error message
The text was updated successfully, but these errors were encountered: