Adding sentence attributes:
Files
4+ 13
− 1
@@ -24,16 +24,21 @@ class Token:
@@ -79,7 +84,12 @@ def tokens2conllu(tokens: List[str]) -> conllu.TokenList:
@@ -94,5 +104,7 @@ def conllu2sentence(conllu_sentence: conllu.TokenList,
-relation_distribiution - probas of arc between dependent and head -relation_label_distribiution- probas for each label in sentence