Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deneutoy/spacy-vis
A visualisation tool for Spacy using Hierplane.
https://github.com/deneutoy/spacy-vis
dependency-parsing nlp spacy visualization
Last synced: 19 days ago
JSON representation
A visualisation tool for Spacy using Hierplane.
- Host: GitHub
- URL: https://github.com/deneutoy/spacy-vis
- Owner: DeNeutoy
- License: apache-2.0
- Created: 2018-04-23T03:31:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T04:41:02.000Z (almost 2 years ago)
- Last Synced: 2024-10-26T23:42:48.214Z (25 days ago)
- Topics: dependency-parsing, nlp, spacy, visualization
- Language: Python
- Homepage:
- Size: 3.03 MB
- Stars: 65
- Watchers: 4
- Forks: 9
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Visualise Spacy Models with Hierplane!
## Building and running the demo
To run the demo using Docker, run:
```
docker run -p 8080:8080 -it markn/spacy-vis bash bin/serve
```and then navigate to `localhost:8080` in your browser. The docker image is
quite large, because it contains all of the spacy Models.## Installing and running locally
First, make sure you have a relatively new version of `npm` installed on your
system. If you are on a Mac, you can install `npm` with `brew install node`.```
# npm -v
5.3.0
```Next, you will need to install the dependencies specified in `package.json`.
You only need to run this once, or whenever dependencies are updated. This
will install your dependencies into the newly created `node_modules` subfolder.```
cd demo
npm install
npm run build
cd ..
```Finally you will need to install the python requirements(the server requires python 3.6):
```
pip install -r displacy/requirements.txt
```Now to run the demo, run the following.
```
bash bin/serve
```You may need to force refresh your web browser.
If you are developing the Javascript, then you will want to run that portion
through npm itself. This way the browser will refresh after each code change.```
npm start
```