https://github.com/commitd/gazetteer
Simple text markup API based on gazeteers with management UI
https://github.com/commitd/gazetteer
Last synced: 5 months ago
JSON representation
Simple text markup API based on gazeteers with management UI
- Host: GitHub
- URL: https://github.com/commitd/gazetteer
- Owner: commitd
- License: mit
- Created: 2020-07-23T12:42:22.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2022-10-19T10:25:47.000Z (over 3 years ago)
- Last Synced: 2024-05-01T10:18:22.979Z (about 2 years ago)
- Language: TypeScript
- Size: 521 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Committed Gazetteer
[](https://committed.io)
[](https://sonarcloud.io/summary/new_code?id=commitd_gazetteer)

Committed's Gazetteer offers a simple API for performing text markup using a Gazetteer.
The Gazetteer is often overlooked in favour of ML base NLP solutions but for high value targets a simple gazetteer can form an important part or a broader NLP extraction strategy.
This service also has a user interface for configuring the Gazetteer so it can be done by none developers.
## 🚀 Quickstart
Use the pre-build docker container:
```shell
docker run -p 8080:8080 committed/gazetteer
```
You can configure the gazetteer using the UI on http://localhost:8080 and checkout the API at http://localhost:8080/swagger-ui/index.html
## 💻 Development
We use maven to build the project using:
```shell
mvn clean package
```
The server is written in java using Spring Boot and the UI is Typescript with React.
This will build the server, ui and Docker image.
For UI development, in `src/main/app` you will find the usual node `package.json` with scripts for, `build`, `start`, `test` and `storybook` as well as some other utility scripts.
The scripts can be used while developing the UI, example below, but the main maven build will take care of building and packaging the UI into the jar.
Not for full function during UI development you should also run the server.
```bash
yarn build
```
We use Storybook to develop and document the components, this is run in development using
```bash
yarn storybook
```
## 🤖 CI
Pull requests go through CI checks using Drone.
Use version tags on master to deploy to Docker hub, release to maven central is currently manual, using:
```shel
mvn deploy -P release
```
## ©️ License
[MIT](/LICENSE) - © Committed Software 2020