-
Notifications
You must be signed in to change notification settings - Fork 1
Install instructions fail to install the program correctly #1
Copy link
Copy link
Open
Description
To install your library I had to do the following:
pip install grammar
python -c "import grammar"
# ModuleNotFoundError: No module named 'spacy'
pip install spacy
python -c "import grammar"
# ModuleNotFoundError: No module named 'base32hex'
pip install base32hex
python -c "import grammar"
# OSError: [E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
python -m spacy download en
python -c "import grammar"
# Finally it worked!Your documentation also doesn't explain where display comes from. And you can just use .view().
from grammar import Document
# create document
document = Document("He also begat and brought up five pairs of male children.")
document.graph.render().view()Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels