From a8613d6c8ee7f600e25755c89be9eb42be6832b4 Mon Sep 17 00:00:00 2001
From: Maja Jablonska <majajjablonska@gmail.com>
Date: Sat, 25 Nov 2023 22:52:51 +1100
Subject: [PATCH] Revert 'entity_type' to conll-u output

---
 combo/data/api.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/combo/data/api.py b/combo/data/api.py
index ecfeb18..b36b616 100644
--- a/combo/data/api.py
+++ b/combo/data/api.py
@@ -86,7 +86,7 @@ def serialize_field(field: Any) -> str:
     return "{}".format(field)
 
 def serialize_token_list(tokenlist: conllu.models.TokenList) -> str:
-    KEYS_ORDER = ['idx', 'text', 'lemma', 'upostag', 'xpostag', 'feats', 'head', 'deprel', 'deps', 'misc']
+    KEYS_ORDER = ['idx', 'text', 'lemma', 'upostag', 'xpostag', 'entity_type', 'feats', 'head', 'deprel', 'deps', 'misc']
     lines = []
 
     if tokenlist.metadata:
-- 
GitLab