diff --git a/combo/data/api.py b/combo/data/api.py index c8e08ded0a3948745fef8accba57bb9d6fe44b8c..ae4ef35a0ee4e8958b8663b0721bb064adb170d7 100644 --- a/combo/data/api.py +++ b/combo/data/api.py @@ -36,10 +36,6 @@ def sentence2conllu(sentence: Sentence, keep_semrel: bool = True) -> conllu.mode tokens = [] for token in sentence.tokens: token_dict = collections.OrderedDict(token.as_dict(keep_semrel)) - # Remove semrel to have default conllu format. - # if not keep_semrel: - # del token_dict["semrel"] - # del token_dict["embeddings"] tokens.append(token_dict) # Range tokens must be tuple not list, this is conllu library requirement for t in tokens: