jbaran commited on
Commit
540af0c
1 Parent(s): b805ec1

chore: add pos

Browse files
Files changed (1) hide show
  1. wsd_polish_datasets.py +2 -0
wsd_polish_datasets.py CHANGED
@@ -136,6 +136,7 @@ class WsdPolishDataset(datasets.GeneratorBasedBuilder):
136
  ),
137
  "orth": datasets.Value("string"),
138
  "lemma": datasets.Value("string"),
 
139
  }
140
  ),
141
  ),
@@ -215,6 +216,7 @@ class WsdPolishDataset(datasets.GeneratorBasedBuilder):
215
  "position": tok["position"],
216
  "orth": tok["orth"],
217
  "lemma": tok["lemma"],
 
218
  }
219
  for tok in data["tokens"]
220
  ],
 
136
  ),
137
  "orth": datasets.Value("string"),
138
  "lemma": datasets.Value("string"),
139
+ "pos": datasets.Value("string"),
140
  }
141
  ),
142
  ),
 
216
  "position": tok["position"],
217
  "orth": tok["orth"],
218
  "lemma": tok["lemma"],
219
+ "pos":tok["pos"],
220
  }
221
  for tok in data["tokens"]
222
  ],