Datasets:

Languages:
Hindi
ArXiv:
License:
dipteshkanojia commited on
Commit
304594f
1 Parent(s): 1e6a9b9
Files changed (1) hide show
  1. HiNER-collapsed.py +1 -1
HiNER-collapsed.py CHANGED
@@ -120,7 +120,7 @@ class HiNERCollapsedConfig(datasets.GeneratorBasedBuilder):
120
  tokens.append(splits[0])
121
  # pos_tags.append(splits[1])
122
  # chunk_tags.append(splits[2])
123
- ner_tags.append(splits[1])
124
  # last example
125
  yield guid, {
126
  "id": str(guid),
 
120
  tokens.append(splits[0])
121
  # pos_tags.append(splits[1])
122
  # chunk_tags.append(splits[2])
123
+ ner_tags.append(splits[1].rstrip())
124
  # last example
125
  yield guid, {
126
  "id": str(guid),