Commit 9b33376a authored by Arkadiusz Janz's avatar Arkadiusz Janz

Merge branch 'model-fix' into 'master'

Fix the models for Polish and English disambiguation

See merge request !8
parents 7fb1c824 c8def810
Pipeline #2115 passed with stage
in 12 minutes and 23 seconds
......@@ -9,8 +9,8 @@ rabbit_password =clarin123
[tool]
workers_number = 10
config_file = /home/worker/src/default_en.ini
model_dir = /home/worker/models
model_url = http://minio.clarin-pl.eu/public/models/wosedon/kb-25022020.zip
model_dir = /home/worker/models/en
model_url = http://minio.clarin-pl.eu/public/models/wosedon/kb-25022020-en.zip
[logging]
......
......@@ -9,7 +9,7 @@ rabbit_password =clarin123
[tool]
workers_number = 10
config_file = /home/worker/src/default_pl.ini
model_dir = /home/worker/models
model_dir = /home/worker/models/pl
model_url = http://minio.clarin-pl.eu/public/models/wosedon/kb-25022020.zip
......
......@@ -26,7 +26,7 @@ if [ ! -f "$config_file" ]; then
fi
model_dir=$(get_ini_value "$config_file" "model_dir")
if [ ! -d "$model_dir" ]; then
mkdir "$model_dir"
mkdir -p "$model_dir"
fi
cd "$model_dir"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment