Skip to content

Commit

Permalink
added utils for me
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinoMensio committed Apr 9, 2021
1 parent 85946b0 commit 88d4b5d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,13 @@ nlp = spacy.load('en_core_web_lg')
# Use your endpoint: don't put any trailing slashes, and don't include the /annotate path
nlp.add_pipe('dbpedia_spotlight', config={'dbpedia_rest_endpoint': 'http://localhost:2222/rest'})
```

## Utils

```bash
pip install -r requirements.txt
# build the archive
python setup.py sdist
# upload to pypi
twine upload dist/spacy_dbpedia_spotlight-0.2.1.tar.gz
```

0 comments on commit 88d4b5d

Please sign in to comment.