Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtemporal/nltkjupyter
NLTK and Jupyter together <3
https://github.com/jtemporal/nltkjupyter
docker jupyter jupyter-docker nlp nltk
Last synced: about 1 month ago
JSON representation
NLTK and Jupyter together <3
- Host: GitHub
- URL: https://github.com/jtemporal/nltkjupyter
- Owner: jtemporal
- Created: 2019-03-08T13:55:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-08T19:32:31.000Z (almost 6 years ago)
- Last Synced: 2024-10-11T15:50:55.823Z (2 months ago)
- Topics: docker, jupyter, jupyter-docker, nlp, nltk
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/jtemporal/nltkjupyter
- Size: 1000 Bytes
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jupyter SciPy + NLTK
Now you can go ahead and NLP away
## Main instructions
Run on any Unix-based OS:
```
docker run --rm -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes -v ${PWD}:/home/jovyan/work -v "$PWD"/data:/home/jovyan/nltk_data jtemporal/nltkjupyter
```Run on windows:
```
docker run --rm -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes -v ${PWD}:/home/jovyan/work -v ${PWD}\data:/home/jovyan/nltk_data jtemporal/nltkjupyter
```To Build
```
docker build -t jtemporal/nltkjupyter .
```## Using this image
### volumes
The first volume up there (`${PWD}:/home/jovyan/work`) makes the workspace for the notebooks, whereas the second one `(`${PWD}\data:/home/jovyan/nltk_data`) makes sure that you don't have to download the data all the time.
### data
Here my data directory is called `data/` (I'm not very good one naming).
## Jupyter Docker stacks
If you have more questions about running jupyter with docker, maybe the [jupyter docker stacks documentation](http://jupyter-docker-stacks.readthedocs.io/).