ltgoslo/norec_fine

json to bio

Closed this issue · 1 comments

After the recent cleanup, to run convert_to_bio, I first moved the json files into a /data folder. The the script ran, but I could not find any targets being tagged. My older conversion files worked, though, so I'm using that for now. Example from the dev file, where "Hun" is a target:
`# sent_id = 108886-02-03
Hun O
blir O
avhengig O
av O
publikums O
hjelp O
i O
andre O
refreng O
, O
noe O
de O
ikke O
er O
vanskelige O
å O
be O
om O
. O

{"sent_id": ..."opinions": [{"Source": [[], []], "Target": [["Hun"], ["0:3"]], `

Created pull request which I think fixes this