From 66054decd2fe78bd843e52675a1d43f7f0e97081 Mon Sep 17 00:00:00 2001
From: Maja Jablonska <majajjablonska@gmail.com>
Date: Wed, 22 Nov 2023 01:49:15 +1100
Subject: [PATCH] Delete unnecessary entity_type column in text output

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

diff --git a/combo/data/api.py b/combo/data/api.py
index d49a531..ecfeb18 100644
--- a/combo/data/api.py
+++ b/combo/data/api.py
@@ -86,8 +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',
-                  'entity_type', 'feats', 'head', 'deprel', 'deps', 'misc']
+    KEYS_ORDER = ['idx', 'text', 'lemma', 'upostag', 'xpostag', 'feats', 'head', 'deprel', 'deps', 'misc']
     lines = []
 
     if tokenlist.metadata:
-- 
GitLab