This is a NLP API server.
-
Download it from release
-
Unzip it, and click
run.bat
- Default host:
http://localhost:8100
- Description: offline translation
- Example:
- Install
> virtualenv venv --python=python3.8.10
> pip install -r requirements.txt
- Download model
> python ./script/download.py
Then, adjust model
folder structure like this:
- ...
- model
- opus-mt-en-zh
- ...
- README.md
- Run
> python ./src/main.py
> build