Datasets:
Tasks:
Token Classification
Sub-tasks:
word-sense-disambiguation
Languages:
Polish
Size:
1M<n<10M
License:
chore: add pos
Browse files- 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 |
],
|