https://github.com/inseefrlab/inspacy-ui
A UI for Inspacy (https://github.com/InseeFrLab/InspaCy)
https://github.com/inseefrlab/inspacy-ui
labelling ner
Last synced: 4 months ago
JSON representation
A UI for Inspacy (https://github.com/InseeFrLab/InspaCy)
- Host: GitHub
- URL: https://github.com/inseefrlab/inspacy-ui
- Owner: InseeFrLab
- Created: 2020-01-13T10:23:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:20:45.000Z (about 2 years ago)
- Last Synced: 2025-04-03T00:29:53.819Z (9 months ago)
- Topics: labelling, ner
- Language: JavaScript
- Homepage:
- Size: 2.38 MB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Inspacy-UI
Inspacy-UI is the client for the usage of the Inspacy API, whose goal is to parse a text for locating notions depending on words database.
More information about this open-source API [here](https://github.com/InseeFrLab/InspaCy) .
## Quick Start
### From Docker
docker run -p 3000:3000 inseefrlab/inspacy-ui
### From Source
#### Install Dependencies
npm install
#### Set up environment
In the project's root, create a file `.env.local`, and copy in this file the content of the file `.env`.
Then, put the values you need after the caracters `=`.
Here is the list of description of each environment's variables :
| Variable title | Meaning | Example |
|--|--|--|
| REACT_APP_API_URL | URL of the API which willbe called for process | https://localhost:5000
| REACT_APP_DEFAULT_LANGUAGE| Default language | fr
#### Run the project
By default, to run the project, you may just run this :
npm run start
It will launch the server in: http://localhost:3000/ .
## I18N
In this project, i18n is implemented, with the whole necessary configuration.
Below the most important things to know for using/editing it, are listed :
- There is a module for configurating and exporting the i18n module, located in i18n.js [here](./src/js/tools/i18n.js).
- A folder contains all the folders containing languages' dictionnary in a JSON file, located [here](./src/assets/languages).
- The pictures for these languages are located in the [public media folder](./public/media), whose name is the language's label.