Deep-Spell-9 enables neural auto-completion and matching of geographic queries via deep neural networks.
A service component is provided which allows
you to run Deep-Spell-9 within an interactive browser UI.
Use the service.json
config file to configure the used models.
You have two options to launch the service:
-
Via a local Python setup: Clone the repo, and run
cd [clone-directory] pip install -e . # Port defaults to 8091 ./serve.bash [port]
-
Via Docker:
docker run --rm -it -p 8091:8091 \ "ghcr.io/klebert-engineering/ds9:2023.1" \ "//ds9/serve.bash"
Note: The default
service.json
in the image does not provide an FTS database to match a query to ranked results, so you will only be able to see the classifier and completer components in action.
After the service is started, open localhost on the specified port in any browser (localhost:8091) by default.
Download licensed NDS FTS database files according to your coverage needs, and paste them under corpora/
. Then launch the Dockerized service as follows:
docker run --rm -it -p 8091:8091 \
-v ./corpora://ds9/corpora \
--env SERVICE_CONFIG="corpora/service-with-fts5.json" \
"ghcr.io/klebert-engineering/ds9:2023.1" \
"//ds9/serve.bash"