Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/conflictingtheories/spacy_ws
Websocket example with Spacy.io
https://github.com/conflictingtheories/spacy_ws
nlp spacy spacy-models spacy-ner websocket
Last synced: about 2 months ago
JSON representation
Websocket example with Spacy.io
- Host: GitHub
- URL: https://github.com/conflictingtheories/spacy_ws
- Owner: ConflictingTheories
- License: gpl-3.0
- Created: 2019-08-27T02:12:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T14:37:08.000Z (about 2 years ago)
- Last Synced: 2023-03-07T18:12:11.738Z (almost 2 years ago)
- Topics: nlp, spacy, spacy-models, spacy-ner, websocket
- Language: JavaScript
- Size: 383 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spacyio_ws
Example of Combining Websockets with Spacy.io NLP Library.Example of Websocket streaming data as typed and returning Entities identified by Spacy Library.
# Server / Client
Server acts like an NLP API - Opens a websocket listener and then waits for a connection. When connected, it reads the stream and then parses the stream through the NLP model and returns identified entities.Client opens a connection to the server - then it allows the user to type and whatever is typed is streamed to the NLP model.
# setup
sudo setup.sh
./run.shThis opens a portal on your localhost which you can access from your web browser. It will allow you load data sets, code entities, and load different models and test them.
# Training
Shows an example of training a new dataset - very basic example. Data learned is trained and stored in the model folder.# setup
sudo setup.sh
./train.sh# Mentions / usage
Created by Kyle Derby MacInnis for the purpose of learning. Please use to learn, but if using code, please reference me as the author.copyright (c) 2019 Kyle Derby MacInnis