Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 7871072

Browse files
author
yinyinl
committed
service doc updates
1 parent cb73427 commit 7871072

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

doc/source/service.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ Using as a REST service
2020

2121
Overview
2222
========
23-
NLP Architect server is a Falcon server for serving predictions to different models in NLP Architect repository.
24-
The server also includes a very very simple front-end web exposing the model's annotations using displaCy and displaCyENT visualizations.
23+
NLP Architect server is a Falcon server for serving predictions to different models in NLP Architect.
24+
The server also includes a web front-end exposing the model's annotations using displaCy and displaCyENT visualizations.
2525
The server supports both `json` and `gzip` formats.
2626

2727
Running NLP Architect server
2828
============================
29-
In order to keep NLP Architect server light and simple as possible, the server uploads only the needed model.
30-
Hence, in order to run the server you need to know which service you want to upload.
31-
Currently we provided 2 services:
29+
Some of the components, which we provide pre-trained models, are exposed through this server. In order to run the server, a user needs to specify which service, so NLP Archtiect serer will only upload the needed model.
30+
31+
Currently we provide 2 services:
3232

3333
1. `bist` service which provides BIST Dependency parsing
3434
2. `spacy_ner` service which provides Spacy NER annotations.
3535

36-
In order to run the server, simply run `serve.py` with the Parameter `--name` as the name of the service you wish to serve.
36+
To run the server, simply run `serve.py` with the Parameter `--name` as the name of the service you wish to serve.
3737
Once the model is loaded, the server will run on `http://localhost:8080/{service_name}`.
3838

3939
If you wish to use the server's visualization - enter `http://localhost:8080/{service_name}/demo.html`

server/web_service/visualizer/displacy/demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<body>
2929
<div class="card text-center">
3030
<div class="card-header">
31-
<h3>NLP-Architect Visualizer</h3>
31+
<h3>NLP Architect Visualizer</h3>
3232
</div>
3333
<div class="row">
3434
<div class="card-body w-15">

0 commit comments

Comments
 (0)