From 942205828377bc3abfd65f6212b0e051b3f1c787 Mon Sep 17 00:00:00 2001
From: Mateusz Klimaszewski <mk.klimaszewski@gmail.com>
Date: Thu, 6 May 2021 08:12:49 +0200
Subject: [PATCH] Exclude xpos in ru models.

---
 scripts/train_iwpt21.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/train_iwpt21.py b/scripts/train_iwpt21.py
index 737a7b8..17737c9 100644
--- a/scripts/train_iwpt21.py
+++ b/scripts/train_iwpt21.py
@@ -136,7 +136,7 @@ def run(_):
         """
 
         # Datasets without XPOS
-        if lang in {"fr"}:
+        if lang in {"fr", "ru"}:
             command = command + " --targets deprel,head,upostag,lemma,feats"
 
         utils.execute_command("".join(command.splitlines()))
-- 
GitLab