Skip to content
Snippets Groups Projects
Commit a8613d6c authored by Maja Jablonska's avatar Maja Jablonska
Browse files

Revert 'entity_type' to conll-u output

parent cffe54c3
Branches
Tags
1 merge request!46Merge COMBO 3.0 into master
......@@ -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:
......
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