Go to file
Wojciech Jarmosz b586f3c7ed GEC-backend
2022-06-01 10:19:32 +02:00
backend GEC-backend 2022-06-01 10:19:32 +02:00
data GEC system models, vocabularies and test, installation scripts 2022-05-18 12:39:44 +00:00
frontend GEC-backend 2022-06-01 10:19:32 +02:00
.gitignore GEC-backend 2022-06-01 10:19:32 +02:00
install.sh GEC system models, vocabularies and test, installation scripts 2022-05-18 12:39:44 +00:00
README.md GEC-backend 2022-06-01 10:19:32 +02:00
test_model2.sh GEC system models, vocabularies and test, installation scripts 2022-05-18 12:39:44 +00:00

System automatycznej korekty tekstu - Transfix

Instalacja serwera

Uruchomienie skryptu install.sh

Utworzenie w katalogu ./backend pliku konfiguracyjnego .env

SECRET_KEY=secret_key
DEBUG=1
ALLOWED_HOSTS=localhost 127.0.0.1
TRANSLATION_WEBSOCKET=ws://150.254.78.132:443/translate
SCRIPT_PATH=/home/zary/Desktop/grammatical-error-correction-system

Uruchomienie serwera websocket na środowisku karty graficznej na porcie 443 sudo ./tools/marian/build/marian-server --port 443 -m model/ens/model.npz -v model/ens/vocab.ende.yml model/ens/vocab.ende.yml